public class Item
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 |
---|
Item() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected static Item |
fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml,
boolean pAllowListProperties) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
protected void |
getBodyXML(java.lang.StringBuilder buf) |
java.lang.String |
getContentId()
Returns the item's content id
|
java.lang.String |
getId()
Returns the item's identifier
|
int |
getIdx()
Returns the item's index
|
long |
getPhysicalPartitionId()
returns the physical partition id for the item.
|
java.util.Map |
getProperties()
Returns a String-to-String or String-to-List Map depending on the enclosing
response's
SearchResponse.isAllowListProperties() |
java.lang.String |
getRequestTag()
Gets the xml element tag used in the request
|
int |
hashCode() |
void |
setContentId(java.lang.String pContentId)
Sets the item's content id
|
void |
setId(java.lang.String pId)
Sets the item's identifier
|
void |
setIdx(int pIdx)
Sets the item's index
|
void |
setPhysicalPartitionId(long pPhysicalPartitionId)
Sets the physical partition id for sorting purposes.
|
void |
setProperties(java.util.Map properties)
Sets a String-to-String or String-to-List Map
|
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 getId()
public void setId(java.lang.String pId)
pId
- public int getIdx()
public void setIdx(int pIdx)
pIdx
- public java.lang.String getContentId()
public void setContentId(java.lang.String pContentId)
pContentId
- protected static Item fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml, boolean pAllowListProperties)
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
atg.search.routing.command.IncompleteCommandException
protected void getBodyXML(java.lang.StringBuilder buf) throws atg.search.routing.command.IncompleteCommandException
getBodyXML
in class atg.search.routing.command.SearchXMLObject
atg.search.routing.command.IncompleteCommandException
public void setPhysicalPartitionId(long pPhysicalPartitionId)
pPhysicalPartitionId
- public long getPhysicalPartitionId()
public java.util.Map getProperties()
SearchResponse.isAllowListProperties()
SearchResponse.isAllowListProperties()
public void setProperties(java.util.Map properties)
properties
- String-to-String or String-to-List Map