SMILA (incubation) API documentation

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

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

public class DOP1
extends DTermContent
implements java.lang.Cloneable

Author:
gschmidt.

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
DOP1()
          Constructor.
DOP1(java.lang.String operation, DTerm term)
          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.
 java.lang.String getOperation()
           
 DTerm getTerm()
           
 java.lang.String getType()
           
 void setOperation(java.lang.String operation)
           
 void setTerm(DTerm term)
           
 java.lang.String toString()
          Returns this instance's contents as an XML String.
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DOP1

public DOP1()
Constructor.


DOP1

public DOP1(java.lang.String operation,
            DTerm term)
constructor.

Parameters:
operation - -
term - -
Method Detail

clone

public java.lang.Object clone()
Description copied from class: DTermContent

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

getOperation

public java.lang.String getOperation()

setOperation

public void setOperation(java.lang.String operation)

getTerm

public DTerm getTerm()

setTerm

public void setTerm(DTerm term)

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

toString

public java.lang.String toString()
Returns this instance's contents as an XML String.

Overrides:
toString in class java.lang.Object
Returns:
String -

SMILA (incubation) API documentation