|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.misc.ErrorRS
public class ErrorRS
The standatd OTA_ErrorRS message is designed to accommodate errors that result from the parser, or from validation, before reaching the server. The set of errors that can use this error is constrained by its limited structure, to provide structural stability. Schema fragment(s) for this class:
<xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="OTA_ErrorRS"> <xs:complexType> <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/> <xs:attribute use="optional" name="Status"> <xs:simpleType> <!-- Reference to inner class Status --> </xs:simpleType> </xs:attribute> <xs:attribute type="xs:string" use="required" name="ErrorCode"/> <xs:attribute type="xs:string" use="optional" name="Severity"/> <xs:attribute type="xs:string" use="optional" name="ErrorMessage"/> <xs:attribute type="xs:string" use="optional" name="DocURL"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
ErrorRS.Status
Schema fragment(s) for this class: |
Constructor Summary | |
---|---|
ErrorRS()
|
Method Summary | |
---|---|
java.lang.String |
getDocURL()
Get the 'DocURL' attribute value. |
java.lang.String |
getErrorCode()
Get the 'ErrorCode' attribute value. |
java.lang.String |
getErrorMessage()
Get the 'ErrorMessage' attribute value. |
OTAPayloadStdAttributes |
getPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
java.lang.String |
getSeverity()
Get the 'Severity' attribute value. |
ErrorRS.Status |
getStatus()
Get the 'Status' attribute value. |
void |
setDocURL(java.lang.String docURL)
Set the 'DocURL' attribute value. |
void |
setErrorCode(java.lang.String errorCode)
Set the 'ErrorCode' attribute value. |
void |
setErrorMessage(java.lang.String errorMessage)
Set the 'ErrorMessage' attribute value. |
void |
setPayloadStdAttributes(OTAPayloadStdAttributes payloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setSeverity(java.lang.String severity)
Set the 'Severity' attribute value. |
void |
setStatus(ErrorRS.Status status)
Set the 'Status' attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ErrorRS()
Method Detail |
---|
public OTAPayloadStdAttributes getPayloadStdAttributes()
public void setPayloadStdAttributes(OTAPayloadStdAttributes payloadStdAttributes)
payloadStdAttributes
- public ErrorRS.Status getStatus()
public void setStatus(ErrorRS.Status status)
status
- public java.lang.String getErrorCode()
public void setErrorCode(java.lang.String errorCode)
errorCode
- public java.lang.String getSeverity()
public void setSeverity(java.lang.String severity)
severity
- public java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String errorMessage)
errorMessage
- public java.lang.String getDocURL()
public void setDocURL(java.lang.String docURL)
docURL
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |