SMILA (incubation) API documentation

org.eclipse.smila.search.lucene.messages.advsearch
Class DNumField

java.lang.Object
  extended by org.eclipse.smila.search.lucene.messages.advsearch.DTermContent
      extended by org.eclipse.smila.search.lucene.messages.advsearch.DNumField
All Implemented Interfaces:
java.lang.Cloneable, ITermContent

public class DNumField
extends DTermContent
implements java.lang.Cloneable


Field Summary
 
Fields inherited from class org.eclipse.smila.search.lucene.messages.advsearch.DTermContent
TC_DATEFIELD, TC_NUMFIELD, TC_OP_1, TC_OP_N, TC_TEMPLATEFIELD, TC_TEXTFIELD, TC_WMEAN
 
Constructor Summary
DNumField()
          Constructor.
DNumField(int fieldNo, long min, long max)
          Constructor.
 
Method Summary
 java.lang.Object clone()
          
 boolean equals(java.lang.Object obj)
          ************************************************************************ Calls the toString() method on the given Object and THIS instance and then compares the resultant Strings with the equals() method.
 int getFieldNo()
           
 long getMax()
           
 long getMin()
           
 java.lang.String getType()
          
 void setFieldNo(int fieldNo)
           
 void setMax(long max)
           
 void setMin(long min)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DNumField

public DNumField()
Constructor.


DNumField

public DNumField(int fieldNo,
                 long min,
                 long max)
Constructor.

Parameters:
fieldNo - -
min - -
max - -
Method Detail

clone

public java.lang.Object clone()

Specified by:
clone in interface ITermContent
Overrides:
clone in class DTermContent
Returns:
Cloned object.
See Also:
DTermContent.clone()

getMin

public long getMin()
Returns:
long

setMin

public void setMin(long min)
Parameters:
min - -

getMax

public long getMax()
Returns:
long

setMax

public void setMax(long max)
Parameters:
max - -

getFieldNo

public int getFieldNo()
Returns:
int

setFieldNo

public void setFieldNo(int fieldNo)
Parameters:
fieldNo - -

getType

public java.lang.String getType()

Specified by:
getType in class DTermContent
Returns:
String
See Also:
DTermContent.getType()

equals

public boolean equals(java.lang.Object obj)
************************************************************************ Calls the toString() method on the given Object and THIS instance and then compares the resultant Strings with the equals() method.

Overrides:
equals in class java.lang.Object
Parameters:
obj - -
Returns:
boolean

SMILA (incubation) API documentation