public class ItemTrace
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 |
---|
ItemTrace() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected static ItemTrace |
fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
protected void |
getBodyXML(java.lang.StringBuilder sb) |
ConstraintDiagnostics |
getConstraints()
Step 0: Returns the series of constraints that were applied during search
|
int |
getId()
Returns the item's identifier
|
ItemRetrieval |
getItemRetrieval()
Step 1: Returns the term look up of items, plus application of boolean logic and other limits
|
java.lang.String |
getLanguage()
Returns the language restriction.
|
ItemInspect |
getLinkedItemInspect()
This is not from the xml.
|
float |
getRelevance()
Returns the final relevance of the item
|
Relevancy |
getRelevancy()
Step 3: Returns the calculation of relevancy and application of the threshold
|
java.lang.String |
getRequestTag()
Gets the xml element tag used in the request
|
ResultCollection |
getResultCollection()
Step 4: Returns the result collection and grouping
|
StatementRetrieval |
getStatementRetrieval()
Step 2: Returns the term look up of statements, plus application of boolean logic and other limits
|
ItemSummary |
getSummary()
Returns the summary status of search phases
|
java.lang.String |
getTrackId()
Returns the item's external "tracked" ID, from UI, probably the repository ID of a product or SKU
|
java.lang.String |
getUrl()
Returns the item's url
|
int |
hashCode() |
void |
setConstraints(ConstraintDiagnostics pConstraints)
Step 0: Series of constraints that were applied during search
|
void |
setId(int pId)
Sets item's identifier
|
void |
setItemRetrieval(ItemRetrieval pItemRetrieval)
Step 1: Term look up of items, plus application of boolean logic and other limits
|
void |
setLanguage(java.lang.String pLanguage)
Sets the language restriction
|
void |
setLinkedItemInspect(ItemInspect pLinkedItemInspect)
Sets the linked item inspect
|
void |
setRelevance(float pRelevance)
Sets the relevance
|
void |
setRelevancy(Relevancy pRelevancy)
Step 3: Calculation of relevancy and application of the threshold
|
void |
setResultCollection(ResultCollection pResultCollection)
Step 4: Result collection and grouping
|
void |
setStatementRetrieval(StatementRetrieval pStatementRetrieval)
Step 2: Term look up of statements, plus application of boolean logic and other limits
|
void |
setSummary(ItemSummary pSummary)
Sets the summary status of search phases
|
void |
setTrackId(java.lang.String pTrackId)
Sets the item's external "tracked" ID, from UI, probably the repository ID of a product or SKU
|
void |
setUrl(java.lang.String pUrl)
Sets the item's url
|
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 int getId()
public void setId(int pId)
pId
- public ItemInspect getLinkedItemInspect()
ItemInspect.getLinkedItemTrace()
.public void setLinkedItemInspect(ItemInspect pLinkedItemInspect)
pLinkedItemInspect
- public java.lang.String getUrl()
public void setUrl(java.lang.String pUrl)
pUrl
- public java.lang.String getTrackId()
public void setTrackId(java.lang.String pTrackId)
pTrackId
- public java.lang.String getLanguage()
public void setLanguage(java.lang.String pLanguage)
pLanguage
- public ItemSummary getSummary()
public void setSummary(ItemSummary pSummary)
pSummary
- public ConstraintDiagnostics getConstraints()
public void setConstraints(ConstraintDiagnostics pConstraints)
pConstraints
- public ItemRetrieval getItemRetrieval()
public void setItemRetrieval(ItemRetrieval pItemRetrieval)
pItemRetrieval
- public StatementRetrieval getStatementRetrieval()
public void setStatementRetrieval(StatementRetrieval pStatementRetrieval)
pStatementRetrieval
- public Relevancy getRelevancy()
public void setRelevancy(Relevancy pRelevancy)
pRelevancy
- public ResultCollection getResultCollection()
public void setResultCollection(ResultCollection pResultCollection)
pResultCollection
- protected static ItemTrace fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml)
public void setRelevance(float pRelevance)
pRelevance
- public float getRelevance()
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 sb) throws atg.search.routing.command.IncompleteCommandException
getBodyXML
in class atg.search.routing.command.SearchXMLObject
atg.search.routing.command.IncompleteCommandException