| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.search.routing.command.SearchXMLObject
atg.search.routing.command.search.RelatedPhraseTerm
public class RelatedPhraseTerm
A related phrase term
| Field Summary | |
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string  | 
| Constructor Summary | |
|---|---|
RelatedPhraseTerm(float score,
                  int count,
                  int freq1,
                  int freq2,
                  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 | 
getFreq1()
Returns the first frequency value  | 
 int | 
getFreq2()
Returns the second frequency value  | 
 java.lang.String | 
getRequestTag()
 | 
 float | 
getScore()
Returns the score  | 
 java.lang.String | 
getTerm()
Returns the term  | 
 void | 
setCount(int count)
Sets the count  | 
 void | 
setFreq1(int freq1)
Sets the first frequency value  | 
 void | 
setFreq2(int freq2)
Sets the second frequency value  | 
 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, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, setParentXMLObject, 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 RelatedPhraseTerm(float score,
                         int count,
                         int freq1,
                         int freq2,
                         java.lang.String term)
score - count - freq1 - freq2 - term - | Method Detail | 
|---|
public boolean equals(java.lang.Object pObject)
equals in class java.lang.Objectpublic float getScore()
public void setScore(float score)
score - the scorepublic int getCount()
public void setCount(int count)
count - the countpublic int getFreq1()
public void setFreq1(int freq1)
freq1 - the first frequency valuepublic int getFreq2()
public void setFreq2(int freq2)
freq2 - the second frequency valuepublic java.lang.String getTerm()
public void setTerm(java.lang.String term)
term - the termpublic 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.SearchXMLObjectatg.search.routing.command.IncompleteCommandException
protected void getBodyXML(java.lang.StringBuilder sb)
                   throws atg.search.routing.command.IncompleteCommandException
getBodyXML in class atg.search.routing.command.SearchXMLObjectatg.search.routing.command.IncompleteCommandException
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||