|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.schema.ValidationError
public class ValidationError
Describes an error that occurred during validation.
Field Summary | |
---|---|
static String |
REASONCODE_ENVELOPE_ISINVALID
Reason code envelope is invalid = "envelopeIsInvalid" |
static String |
REASONCODE_PARAMETER_ISINVALID
Reason code parameter is invalid = "parameterIsInvalid" |
static String |
REASONCODE_PARAMETER_ISREQUIRED
Reason code parameter is required = "parameterIsRequired" |
static String |
REASONCODE_TITLE_ISREQUIRED
Reason code title is required = "titleIsRequired" |
static String |
REASONCODE_XML_ISINVALID
Reason code XML document is invalid = "xmlIsInvalid" |
static String |
REASONCODE_XSD_ISINVALID
Reason code XSD reference is invalid = "xsdIsInvalid" |
static String |
REASONCODE_XSD_VIOLATION
Reason code XSD rule violation = "xsdViolation" |
Constructor Summary | |
---|---|
ValidationError()
Default constructor. |
|
ValidationError(Section section,
Parameter parameter,
String reasonCode)
Constructs with a supplied section, the parameter that failed and a reason code |
Method Summary | |
---|---|
String |
getMessage()
Gets the message. |
Parameter |
getParameter()
Gets the parameter that failed to validate. |
String |
getParameterResourceKey()
Gets the parameter resource key. |
String |
getParameterXPath()
Gets the parameter XPath selection expression |
String |
getReasonCode()
Gets the reason code. |
Section |
getSection()
Gets the section containing parameter that failed to validate. |
String |
getSectionResourceKey()
Gets the section resource key. |
void |
setMessage(String message)
Sets the message. |
void |
setParameter(Parameter parameter)
Sets the parameter that failed to validate. |
void |
setReasonCode(String reasonCode)
Sets the reason code. |
void |
setSection(Section section)
Sets the section containing parameter that failed to validate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REASONCODE_ENVELOPE_ISINVALID
public static final String REASONCODE_PARAMETER_ISINVALID
public static final String REASONCODE_PARAMETER_ISREQUIRED
public static final String REASONCODE_TITLE_ISREQUIRED
public static final String REASONCODE_XML_ISINVALID
public static final String REASONCODE_XSD_ISINVALID
public static final String REASONCODE_XSD_VIOLATION
Constructor Detail |
---|
public ValidationError()
public ValidationError(Section section, Parameter parameter, String reasonCode)
section
- the containing sectionparameter
- the parameter that failedreasonCode
- the reason codeMethod Detail |
---|
public String getMessage()
public void setMessage(String message)
message
- the messagepublic Parameter getParameter()
public void setParameter(Parameter parameter)
parameter
- the parameter that failedpublic String getParameterResourceKey()
public String getParameterXPath()
public String getReasonCode()
public void setReasonCode(String reasonCode)
reasonCode
- the reason codepublic Section getSection()
public void setSection(Section section)
section
- the containing sectionpublic String getSectionResourceKey()
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |