atg.search.routing.command.search
Class RelatedStatement

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

public class RelatedStatement
extends atg.search.routing.command.SearchXMLObject

related statement result.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
RelatedStatement()
           
 
Method Summary
 boolean equals(java.lang.Object pObj)
           
protected  void getAttributeXML(java.lang.StringBuilder sb)
           
protected  void getBodyXML(java.lang.StringBuilder sb)
           
 int getCount()
          Returns the count
 java.lang.String getRequestTag()
           
 float getScore()
          Returns the score
 java.lang.String getText()
          Returns the text of the related statement
 void setCount(int count)
          Sets the count
 void setScore(float score)
          Sets the score
 void setText(java.lang.String text)
          Sets the text of the related statement
 
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

RelatedStatement

public RelatedStatement()
Method Detail

equals

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

getText

public java.lang.String getText()
Returns the text of the related statement

Returns:
the text of the related statement

setText

public void setText(java.lang.String text)
Sets the text of the related statement

Parameters:
text - the text of the related statement

getCount

public int getCount()
Returns the count

Returns:
the count

setCount

public void setCount(int count)
Sets the count

Parameters:
count - the count

getScore

public float getScore()
Returns the score

Returns:
the score

setScore

public void setScore(float score)
Sets the score

Parameters:
score - the score

getRequestTag

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

getAttributeXML

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

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