atg.search.routing.command.search
Class RelatedSentenceTerm

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

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

Related sentence term

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
RelatedSentenceTerm(float score, int count, int freq, java.lang.String term)
          Constructs a new instance
 
Method Summary
 boolean equals(java.lang.Object pObject)
           
protected  void getAttributeXML(java.lang.StringBuilder sb)
           
protected  void getBodyXML(java.lang.StringBuilder sb)
           
 int getCount()
          Returns the count
 int getFreq()
          Returns the frequency
 java.lang.String getRequestTag()
           
 float getScore()
          Returns the score
 java.lang.String getTerm()
          Returns the term
 void setCount(int count)
          Sets the count
 void setFreq(int freq)
          Sets the frequency
 void setScore(float score)
          Sets the score
 void setTerm(java.lang.String term)
          Sets 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

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

RelatedSentenceTerm

public RelatedSentenceTerm(float score,
                           int count,
                           int freq,
                           java.lang.String term)
Constructs a new instance

Parameters:
score -
count -
freq -
term -
Method Detail

equals

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

getScore

public float getScore()
Returns the score

Returns:
the score

setScore

public void setScore(float score)
Sets the score

Parameters:
score - the score

getCount

public int getCount()
Returns the count

Returns:
the count

setCount

public void setCount(int count)
Sets the count

Parameters:
count - the count

getFreq

public int getFreq()
Returns the frequency

Returns:
the frequency

setFreq

public void setFreq(int freq)
Sets the frequency

Parameters:
freq - the frequency

getTerm

public java.lang.String getTerm()
Returns the term

Returns:
the term

setTerm

public void setTerm(java.lang.String term)
Sets the term

Parameters:
term - the term

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