public abstract class BaseValidation
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 |
---|
BaseValidation() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected void |
fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
protected void |
getBodyXML(java.lang.StringBuilder sb) |
java.lang.String |
getCorrect()
Returns the possible corrected value of the request attribute or parameter, in case of a 'fail' status
|
int |
getId()
Returns the id of the validation type
|
DiagnosticStatus |
getStatus()
Returns the diagnostic status
|
java.lang.String |
getType()
Returns th type of validation, as determined by its tag.
|
java.lang.String |
getValue()
Returns the current value of the request attribute or parameter
|
int |
hashCode() |
void |
setCorrect(java.lang.String pCorrect)
Sets the possible corrected value of the request attribute or parameter, in case of a 'fail' status
|
void |
setId(int pId)
Sets the id of the validation type
|
void |
setStatus(DiagnosticStatus pStatus)
Sets the status
|
void |
setValue(java.lang.String pValue)
Sets the current value of the request attribute or parameter
|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getRequestTag, 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 getType()
public DiagnosticStatus getStatus()
public void setStatus(DiagnosticStatus pStatus)
pStatus
- public int getId()
public void setId(int pId)
pId
- public java.lang.String getValue()
public void setValue(java.lang.String pValue)
pValue
- public java.lang.String getCorrect()
public void setCorrect(java.lang.String pCorrect)
pCorrect
- protected void fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml)
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