atg.search.routing.command.search
Class Threshold

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

public class Threshold
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
Threshold()
           
 
Method Summary
 boolean equals(java.lang.Object pObject)
           
protected static Threshold fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml)
           
protected  void getAttributeXML(java.lang.StringBuilder sb)
           
protected  void getBodyXML(java.lang.StringBuilder sb)
           
 java.lang.String getCompare()
          Returns the comparison operator between system value and configuration setting
 java.lang.String getRequestTag()
           
 float getSetting()
          Returns the configuration value
 DiagnosticStatus getStatus()
          Returns the diagnostic status
 float getValue()
          Returns the system value
 void setCompare(java.lang.String pCompare)
          Sets the comparison operator between system value and configuration setting
 void setSetting(float pSetting)
          Sets the configuration value
 void setStatus(DiagnosticStatus pStatus)
          Sets the diagnostic status
 void setValue(float 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, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

Threshold

public Threshold()
Method Detail

equals

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

getStatus

public DiagnosticStatus getStatus()
Returns the diagnostic status

Returns:
status the diagnostic status

setStatus

public void setStatus(DiagnosticStatus pStatus)
Sets the diagnostic status

Parameters:
pStatus - the diagnostic status

getSetting

public float getSetting()
Returns the configuration value

Returns:
configuration value

setSetting

public void setSetting(float pSetting)
Sets the configuration value

Parameters:
pSetting - the configuration value

getCompare

public java.lang.String getCompare()
Returns the 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 the comparison operator between system value and configuration setting

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

getValue

public float getValue()
Returns the system value

Returns:
system value

setValue

public void setValue(float pValue)
Sets the system value

Parameters:
pValue - system value

fromXmlParser

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

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