atg.search.routing.command.search
Class RuleMove

java.lang.Object
  extended by atg.search.routing.command.SearchXMLObject
      extended by atg.search.routing.command.search.RuleMove
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Bottom, Top

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

A move rule

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
RuleMove()
           
 
Method Summary
 boolean equals(java.lang.Object pObject)
           
protected  void fromXmlParser(atg.search.routing.utils.FastXMLModel pXml, int pBotIdx)
           
protected  void getAttributeXML(java.lang.StringBuilder sb)
           
protected  void getBodyXML(java.lang.StringBuilder sb)
           
 java.lang.String getRule()
          Returns the rule
 float getScore()
          Returns the calculated score to produce the movement to the top or bottom (at that time)
 void setRule(java.lang.String pRule)
          Sets the rule
 void setScore(float pScore)
          Sets the calculated score to produce the movement to the top or bottom (at that time)
 
Methods inherited from class atg.search.routing.command.SearchXMLObject
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getRequestTag, getXmlPath, setParentXMLObject, 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

RuleMove

public RuleMove()
Method Detail

equals

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

getScore

public float getScore()
Returns the calculated score to produce the movement to the top or bottom (at that time)

Returns:
The calculated score to produce the movement to the top or bottom (at that time)

setScore

public void setScore(float pScore)
Sets the calculated score to produce the movement to the top or bottom (at that time)

Parameters:
pScore - the calculated score to produce the movement to the top or bottom (at that time)

getRule

public java.lang.String getRule()
Returns the rule

Returns:
the rule

setRule

public void setRule(java.lang.String pRule)
Sets the rule

Parameters:
pRule - the rule

fromXmlParser

protected void fromXmlParser(atg.search.routing.utils.FastXMLModel pXml,
                             int pBotIdx)

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

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