|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.search.routing.command.SearchXMLObject atg.search.routing.command.search.Term
public class Term
A term.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
Term()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object pObject)
|
protected static Term |
fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml)
|
protected void |
getAttributeXML(java.lang.StringBuilder sb)
|
protected void |
getBodyXML(java.lang.StringBuilder sb)
|
int |
getId()
Returns the index of the term, starting at 1 |
java.lang.String |
getLabel()
Returns the original string of the term |
TermLookupOp |
getOp()
Not all values are possible for StatementRetrieval: only Required, Negative, and None. |
java.lang.String |
getRequestTag()
|
DiagnosticStatus |
getStatus()
Returns the aggregate status of all the stems |
java.util.List<StemLookup> |
getStems()
Returns stems or synonyms of the term |
boolean |
isExact()
Indicates whether this term must match exactly |
void |
setExact(boolean pExact)
Sets whether this term must match exactly |
void |
setId(int pId)
Sets the index of the term, starting at 1 |
void |
setLabel(java.lang.String pLabel)
Sets the original string of the term |
void |
setOp(TermLookupOp pOp)
Sets the operation |
void |
setStatus(DiagnosticStatus pStatus)
Sets the aggregate status of all the stems |
void |
setStems(java.util.List<StemLookup> pStems)
Sets stems or synonyms of the term |
Methods inherited from class atg.search.routing.command.SearchXMLObject |
---|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public Term()
Method Detail |
---|
public boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
public int getId()
public void setId(int pId)
pId
- the index of the term, starting at 1public java.lang.String getLabel()
public void setLabel(java.lang.String pLabel)
pLabel
- the original string of the termpublic DiagnosticStatus getStatus()
public void setStatus(DiagnosticStatus pStatus)
pStatus
- the aggregate status of all the stemspublic boolean isExact()
public void setExact(boolean pExact)
pExact
- whether this term must match exactlypublic TermLookupOp getOp()
public void setOp(TermLookupOp pOp)
pOp
- the operationpublic java.util.List<StemLookup> getStems()
public void setStems(java.util.List<StemLookup> pStems)
pStems
- stems or synonyms of the termprotected static Term fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml)
public java.lang.String getRequestTag()
getRequestTag
in class atg.search.routing.command.SearchXMLObject
protected void getAttributeXML(java.lang.StringBuilder sb) throws atg.search.routing.command.IncompleteCommandException
getAttributeXML
in class atg.search.routing.command.SearchXMLObject
atg.search.routing.command.IncompleteCommandException
protected void getBodyXML(java.lang.StringBuilder sb) throws atg.search.routing.command.IncompleteCommandException
getBodyXML
in class atg.search.routing.command.SearchXMLObject
atg.search.routing.command.IncompleteCommandException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |