atg.search.routing.command.search
Class SuggestedCategory

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

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

A Suggested category or topic for a document

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
SuggestedCategory()
           
 
Method Summary
 boolean equals(java.lang.Object pObject)
           
protected  void getAttributeXML(java.lang.StringBuilder sb)
           
 int getId()
          Returns the id
 java.lang.String getLabel()
          Returns the label
 java.lang.String getPath()
          Returns the category path
 java.lang.String getRequestTag()
           
 int getScore()
          Returns the score
 void setId(int id)
          Sets the id
 void setLabel(java.lang.String label)
          Sets the label
 void setPath(java.lang.String path)
          Sets the category path
 void setScore(int score)
          Sets the score
 
Methods inherited from class atg.search.routing.command.SearchXMLObject
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getBodyXML, 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

SuggestedCategory

public SuggestedCategory()
Method Detail

equals

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

getPath

public java.lang.String getPath()
Returns the category path

Returns:
the category path

setPath

public void setPath(java.lang.String path)
Sets the category path

Parameters:
path - the category path

getId

public int getId()
Returns the id

Returns:
the id

setId

public void setId(int id)
Sets the id

Parameters:
id - the id

getScore

public int getScore()
Returns the score

Returns:
the score

setScore

public void setScore(int score)
Sets the score

Parameters:
score - the score

getLabel

public java.lang.String getLabel()
Returns the label

Returns:
the lable

setLabel

public void setLabel(java.lang.String label)
Sets the label

Parameters:
label - the label

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

getRequestTag

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