atg.search.routing.command.search
Class RelatedSentenceTerms

java.lang.Object
  extended by atg.search.routing.command.SearchXMLObject
      extended by atg.search.routing.command.search.RelatedResponseObjects
          extended by atg.search.routing.command.search.RelatedSentenceTerms
All Implemented Interfaces:
java.io.Serializable

public class RelatedSentenceTerms
extends RelatedResponseObjects

A list of RelatedSentenceTerms

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
RelatedSentenceTerms(int candidates, int total)
           
 
Method Summary
 boolean equals(java.lang.Object pObject)
           
protected  void getBodyXML(java.lang.StringBuilder sb)
           
 java.lang.String getRequestTag()
           
 java.util.List<RelatedSentenceTerm> getTerms()
          Returns the list of terms
 void setTerms(java.util.List<RelatedSentenceTerm> pTerms)
          Sets the list of terms
 
Methods inherited from class atg.search.routing.command.search.RelatedResponseObjects
getAttributeXML, getCandidates, getTotal, setCandidates, setTotal
 
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

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

RelatedSentenceTerms

public RelatedSentenceTerms(int candidates,
                            int total)
Method Detail

equals

public boolean equals(java.lang.Object pObject)
Overrides:
equals in class RelatedResponseObjects

getTerms

public java.util.List<RelatedSentenceTerm> getTerms()
Returns the list of terms

Returns:
the list of terms

setTerms

public void setTerms(java.util.List<RelatedSentenceTerm> pTerms)
Sets the list of terms

Parameters:
pTerms -

getRequestTag

public java.lang.String getRequestTag()
Specified by:
getRequestTag in class atg.search.routing.command.SearchXMLObject

getBodyXML

protected void getBodyXML(java.lang.StringBuilder sb)
                   throws atg.search.routing.command.IncompleteCommandException
Overrides:
getBodyXML in class atg.search.routing.command.SearchXMLObject
Throws:
atg.search.routing.command.IncompleteCommandException