public class RankConfigCalculation
extends atg.search.routing.command.SearchXMLObject
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
RankConfigCalculation() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected static RankConfigCalculation |
fromXmlParser(atg.search.routing.utils.SearchMessageNode pRoot) |
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.util.List<Bottom> |
getBottoms()
Returns the List of move to the bottom rules
|
float |
getDenom()
Returns the total weight of all properties
|
java.lang.String |
getName()
Returns the name of configuration used
|
java.util.List<RankProperty> |
getProperties()
Returns the List of ranking property scores and associated details
|
java.lang.String |
getRequestTag()
Gets the xml element tag used in the request
|
float |
getResult()
Returns the final ranking relevancy, total divided by denom
|
java.util.List<Top> |
getTops()
Returns the List of move to the top rules
|
float |
getTotal()
Returns the total ranking score of all properties
|
int |
hashCode() |
void |
setBottoms(java.util.List<Bottom> pBottoms)
Sets the List of move to the bottom rules
|
void |
setDenom(float pDenom)
Sets the total weight of all properties
|
void |
setName(java.lang.String pName)
Sets the name of configuration used
|
void |
setProperties(java.util.List<RankProperty> pProperties)
Sets the List of ranking property scores and associated details
|
void |
setResult(float pResult)
Sets the final ranking relevancy, total divided by denom
|
void |
setTops(java.util.List<Top> pTops)
Sets the List of move to the top rules
|
void |
setTotal(float pTotal)
Sets the total ranking score of all properties
|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML
public boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getName()
public void setName(java.lang.String pName)
pName
- Name of configuration usedpublic float getDenom()
public void setDenom(float pDenom)
pDenom
- total weight of all propertiespublic float getTotal()
public void setTotal(float pTotal)
pTotal
- total ranking score of all propertiespublic float getResult()
public void setResult(float pResult)
pResult
- final ranking relevancy, total divided by denompublic java.util.List<RankProperty> getProperties()
public void setProperties(java.util.List<RankProperty> pProperties)
pProperties
- public java.util.List<Top> getTops()
public void setTops(java.util.List<Top> pTops)
pTops
- List of move to the top rulespublic java.util.List<Bottom> getBottoms()
public void setBottoms(java.util.List<Bottom> pBottoms)
pBottoms
- List of move to the bottom rulesprotected static RankConfigCalculation fromXmlParser(atg.search.routing.utils.SearchMessageNode pRoot)
public java.lang.String getRequestTag()
getRequestTag
in class atg.search.routing.command.SearchXMLObject
protected void getAttributeXML(java.lang.StringBuilder sb) throws atg.search.routing.command.IncompleteCommandException
getAttributeXML
in class atg.search.routing.command.SearchXMLObject
sb
- shared bufferatg.search.routing.command.IncompleteCommandException
- if required values are missingprotected void getBodyXML(java.lang.StringBuilder sb) throws atg.search.routing.command.IncompleteCommandException
getBodyXML
in class atg.search.routing.command.SearchXMLObject
sb
- shared bufferatg.search.routing.command.IncompleteCommandException