atg.search.routing.command.search
Class Limits

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

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

List of item retrieval limits. See Limit.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
Limits()
           
 
Method Summary
 boolean equals(java.lang.Object pObject)
           
protected static Limits fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml)
           
protected  void getBodyXML(java.lang.StringBuilder sb)
           
 java.util.List<Limit> getLimits()
          Returns List of item retrieval limits
 java.util.Map<java.lang.String,Limit> getLimitsMap()
          Returns a Map of limit name to Limit.
 java.lang.String getRequestTag()
          Gets the xml element tag used in the request
 int hashCode()
           
 void setLimits(java.util.List<Limit> pLimits)
          Sets List of item retrieval limits
 
Methods inherited from class atg.search.routing.command.SearchXMLObject
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getAttributeXML, 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

Limits

public Limits()
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

getLimits

public java.util.List<Limit> getLimits()
Returns List of item retrieval limits

Returns:
List of item retrieval limits

setLimits

public void setLimits(java.util.List<Limit> pLimits)
Sets List of item retrieval limits

Parameters:
pLimits -

getLimitsMap

public java.util.Map<java.lang.String,Limit> getLimitsMap()
Returns a Map of limit name to Limit. The same Limits are in getLimits().

Returns:
Map of limit name to Limit. The same Limits are in getLimits().

fromXmlParser

protected static Limits 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

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