org.ota.shared
Class Errors._Error

java.lang.Object
  extended by org.ota.shared.Errors._Error
Enclosing class:
Errors

public static class Errors._Error
extends java.lang.Object

An error that occurred during the processing of a message. 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" type="ns:ErrorType" name="Error" maxOccurs="99"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ErrorType">
   <xs:simpleContent>
     <xs:extension base="ns:FreeTextType">
       <xs:attribute type="xs:string" use="required" name="Type"/>
       <xs:attributeGroup ref="ns:ErrorWarningAttributeGroup"/>
       <xs:attribute type="xs:string" name="NodeList"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 


Constructor Summary
Errors._Error()
           
 
Method Summary
 ErrorWarningAttributeGroup getErrorWarningAttributeGroup()
          Get the 'ErrorWarningAttributeGroup' attributeGroup value.
 FreeText getFreeText()
          Get the extension value.
 java.lang.String getNodeList()
          Get the 'NodeList' attribute value.
 java.lang.String getType()
          Get the 'Type' attribute value.
 void setErrorWarningAttributeGroup(ErrorWarningAttributeGroup errorWarningAttributeGroup)
          Set the 'ErrorWarningAttributeGroup' attributeGroup value.
 void setFreeText(FreeText freeText)
          Set the extension value.
 void setNodeList(java.lang.String nodeList)
          Set the 'NodeList' attribute value.
 void setType(java.lang.String type)
          Set the 'Type' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Errors._Error

public Errors._Error()
Method Detail

getFreeText

public FreeText getFreeText()
Get the extension value.

Returns:
value

setFreeText

public void setFreeText(FreeText freeText)
Set the extension value.

Parameters:
freeText -

getType

public java.lang.String getType()
Get the 'Type' attribute value. The Error element MUST contain the Type attribute that uses a recommended set of values to indicate the error type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown". Refer to OpenTravel Code List Error Warning Type (EWT).

Returns:
value

setType

public void setType(java.lang.String type)
Set the 'Type' attribute value. The Error element MUST contain the Type attribute that uses a recommended set of values to indicate the error type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown". Refer to OpenTravel Code List Error Warning Type (EWT).

Parameters:
type -

getErrorWarningAttributeGroup

public ErrorWarningAttributeGroup getErrorWarningAttributeGroup()
Get the 'ErrorWarningAttributeGroup' attributeGroup value. Details of the error.

Returns:
value

setErrorWarningAttributeGroup

public void setErrorWarningAttributeGroup(ErrorWarningAttributeGroup errorWarningAttributeGroup)
Set the 'ErrorWarningAttributeGroup' attributeGroup value. Details of the error.

Parameters:
errorWarningAttributeGroup -

getNodeList

public java.lang.String getNodeList()
Get the 'NodeList' attribute value. An XPath expression that selects all the nodes whose data caused this error. Further, this expression should have an additional contraint which contains the data of the node. This will provide the offending data back to systems that cannot maintain the original message.

Returns:
value

setNodeList

public void setNodeList(java.lang.String nodeList)
Set the 'NodeList' attribute value. An XPath expression that selects all the nodes whose data caused this error. Further, this expression should have an additional contraint which contains the data of the node. This will provide the offending data back to systems that cannot maintain the original message.

Parameters:
nodeList -