org.eclipse.smila.search.lucene.messages.advsearch
Class DOP1
java.lang.Object
org.eclipse.smila.search.lucene.messages.advsearch.DTermContent
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.
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 |
DOP1
public DOP1()
- Constructor.
DOP1
public DOP1(java.lang.String operation,
DTerm term)
- constructor.
- Parameters:
operation
- -term
- -
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 -