atg.search.routing.command.search
Class Pool

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

public class Pool
extends atg.search.routing.command.SearchXMLObject
implements java.io.Serializable

The appplication of the minimum relevancy threshold

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
Pool()
           
 
Method Summary
 boolean equals(java.lang.Object pObject)
           
protected static Pool fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml)
           
protected  void getAttributeXML(java.lang.StringBuilder sb)
          Override to provide attributes.
protected  void getBodyXML(java.lang.StringBuilder sb)
          Override to provide the body of the xml.
 java.lang.String getCompare()
          Returns comparison operator between system value and configuration setting
 java.lang.String getRequestTag()
          Gets the xml element tag used in the request
 int getSetting()
          Returns configuration value
 DiagnosticStatus getStatus()
          Returns diagnsotic status
 java.lang.String getValue()
          Returns the system value
 int hashCode()
           
 void setCompare(java.lang.String pCompare)
          Sets comparison operator between system value and configuration setting
 void setSetting(int pSetting)
          Sets configuration value
 void setStatus(DiagnosticStatus pStatus)
          Sets diagnsotic status
 void setValue(java.lang.String pValue)
          Sets the system value
 
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, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

Pool

public Pool()
Method Detail

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getStatus

public DiagnosticStatus getStatus()
Returns diagnsotic status

Returns:
diagnsotic status

setStatus

public void setStatus(DiagnosticStatus pStatus)
Sets diagnsotic status

Parameters:
pStatus - diagnsotic status

getSetting

public int getSetting()
Returns configuration value

Returns:
configuration value

setSetting

public void setSetting(int pSetting)
Sets configuration value

Parameters:
pSetting - configuration value

getCompare

public java.lang.String getCompare()
Returns comparison operator between system value and configuration setting

Returns:
Comparison operator between system value and configuration setting

setCompare

public void setCompare(java.lang.String pCompare)
Sets comparison operator between system value and configuration setting

Parameters:
pCompare - comparison operator between system value and configuration setting

getValue

public java.lang.String getValue()
Returns the system value

Returns:
system value

setValue

public void setValue(java.lang.String pValue)
Sets the system value

Parameters:
pValue - system value

fromXmlParser

protected static Pool fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml)

getRequestTag

public java.lang.String getRequestTag()
Gets the xml element tag used in the request

Specified by:
getRequestTag in class atg.search.routing.command.SearchXMLObject
Returns:
xml element tag

getAttributeXML

protected void getAttributeXML(java.lang.StringBuilder sb)
                        throws atg.search.routing.command.IncompleteCommandException
Override to provide attributes.

Overrides:
getAttributeXML in class atg.search.routing.command.SearchXMLObject
Parameters:
sb - shared buffer
Throws:
atg.search.routing.command.IncompleteCommandException - if required values are missing

getBodyXML

protected void getBodyXML(java.lang.StringBuilder sb)
                   throws atg.search.routing.command.IncompleteCommandException
Override to provide the body of the xml. Do not include the main element tag.

Overrides:
getBodyXML in class atg.search.routing.command.SearchXMLObject
Parameters:
sb - shared buffer
Throws:
atg.search.routing.command.IncompleteCommandException