org.eclipse.smila.search.lucene.messages.advsearch
Class DNumField
java.lang.Object
org.eclipse.smila.search.lucene.messages.advsearch.DTermContent
org.eclipse.smila.search.lucene.messages.advsearch.DNumField
- All Implemented Interfaces:
- java.lang.Cloneable, ITermContent
public class DNumField
- extends DTermContent
- implements java.lang.Cloneable
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 |
DNumField
public DNumField()
- Constructor.
DNumField
public DNumField(int fieldNo,
long min,
long max)
- Constructor.
- Parameters:
fieldNo
- -min
- -max
- -
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