SMILA (incubation) API documentation

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

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

public class DDateField
extends DTermContent
implements java.lang.Cloneable

Author:
geschmidt

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
DDateField()
          Constructor.
DDateField(int fieldNo, java.util.Date min, java.util.Date 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()
           
 java.util.Date getMax()
           
 java.util.Date getMin()
           
 java.lang.String getType()
           
 void setFieldNo(int fieldNo)
           
 void setMax(java.util.Date max)
           
 void setMin(java.util.Date min)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDateField

public DDateField()
Constructor.


DDateField

public DDateField(int fieldNo,
                  java.util.Date min,
                  java.util.Date 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 java.util.Date getMin()

setMin

public void setMin(java.util.Date min)

getMax

public java.util.Date getMax()

setMax

public void setMax(java.util.Date max)

getFieldNo

public int getFieldNo()

setFieldNo

public void setFieldNo(int fieldNo)

getType

public java.lang.String getType()
Specified by:
getType in class DTermContent
Returns:
String.

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