org.ota.pkg
Class AvailRS

java.lang.Object
  extended by org.ota.pkg.AvailRS

public class AvailRS
extends java.lang.Object

The message details the availability of a requested package 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_PkgAvailRS">
   <xs:complexType>
     <xs:choice>
       <xs:sequence>
         <xs:element type="ns:SuccessType" name="Success"/>
         <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/>
         <xs:element name="Package" minOccurs="0">
           <!-- Reference to inner class _package -->
         </xs:element>
         <xs:element name="TravelChoices" minOccurs="0">
           <!-- Reference to inner class TravelChoices -->
         </xs:element>
         <xs:element name="AccommodationChoices" minOccurs="0">
           <!-- Reference to inner class AccommodationChoices -->
         </xs:element>
         <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
       </xs:sequence>
       <xs:element type="ns:ErrorsType" name="Errors"/>
     </xs:choice>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:CompanyID_AttributesGroup"/>
     <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SuccessType"/>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Nested Class Summary
static class AvailRS._package
          Details of the requested package.
static class AvailRS.AccommodationChoices
          A collection of available properties.
static class AvailRS.TravelChoices
          A collection of TravelItem elements.
 
Constructor Summary
AvailRS()
           
 
Method Summary
 void clearChoiceSelect()
          Clear the choice selection.
 AvailRS.AccommodationChoices getAccommodationChoices()
          Get the 'AccommodationChoices' element value.
 CompanyIDAttributesGroup getCompanyIDAttributesGroup()
          Get the 'CompanyID_AttributesGroup' attributeGroup value.
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 Errors getErrors()
          Get the 'Errors' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 AvailRS._package getPackage1()
          Get the 'Package' element value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 AvailRS.TravelChoices getTravelChoices()
          Get the 'TravelChoices' element value.
 Warnings getWarnings()
          Get the 'Warnings' element value.
 boolean ifErrors()
          Check if Errors is current selection for choice.
 boolean ifSuccess()
          Check if Success is current selection for choice.
 void setAccommodationChoices(AvailRS.AccommodationChoices accommodationChoices)
          Set the 'AccommodationChoices' element value.
 void setCompanyIDAttributesGroup(CompanyIDAttributesGroup companyIDAttributesGroup)
          Set the 'CompanyID_AttributesGroup' attributeGroup value.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setErrors(Errors errors)
          Set the 'Errors' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPackage1(AvailRS._package _package1)
          Set the 'Package' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setTravelChoices(AvailRS.TravelChoices travelChoices)
          Set the 'TravelChoices' element value.
 void setWarnings(Warnings warnings)
          Set the 'Warnings' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRS

public AvailRS()
Method Detail

clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifSuccess

public boolean ifSuccess()
Check if Success is current selection for choice.

Returns:
true if selection, false if not

getWarnings

public Warnings getWarnings()
Get the 'Warnings' element value. The presence of this element indicates that, while the preceding request message has been successfully processed, the requeat may not have been fully satisfied.

Returns:
value

setWarnings

public void setWarnings(Warnings warnings)
Set the 'Warnings' element value. The presence of this element indicates that, while the preceding request message has been successfully processed, the requeat may not have been fully satisfied.

Parameters:
warnings -

getPackage1

public AvailRS._package getPackage1()
Get the 'Package' element value.

Returns:
value

setPackage1

public void setPackage1(AvailRS._package _package1)
Set the 'Package' element value.

Parameters:
_package1 -

getTravelChoices

public AvailRS.TravelChoices getTravelChoices()
Get the 'TravelChoices' element value.

Returns:
value

setTravelChoices

public void setTravelChoices(AvailRS.TravelChoices travelChoices)
Set the 'TravelChoices' element value.

Parameters:
travelChoices -

getAccommodationChoices

public AvailRS.AccommodationChoices getAccommodationChoices()
Get the 'AccommodationChoices' element value.

Returns:
value

setAccommodationChoices

public void setAccommodationChoices(AvailRS.AccommodationChoices accommodationChoices)
Set the 'AccommodationChoices' element value.

Parameters:
accommodationChoices -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

ifErrors

public boolean ifErrors()
Check if Errors is current selection for choice.

Returns:
true if selection, false if not

getErrors

public Errors getErrors()
Get the 'Errors' element value. The presence of this element indicates that the receiving system has been unable to process preceding request message.

Returns:
value

setErrors

public void setErrors(Errors errors)
Set the 'Errors' element value. The presence of this element indicates that the receiving system has been unable to process preceding request message.

Parameters:
errors -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -

getCompanyIDAttributesGroup

public CompanyIDAttributesGroup getCompanyIDAttributesGroup()
Get the 'CompanyID_AttributesGroup' attributeGroup value.

Returns:
value

setCompanyIDAttributesGroup

public void setCompanyIDAttributesGroup(CompanyIDAttributesGroup companyIDAttributesGroup)
Set the 'CompanyID_AttributesGroup' attributeGroup value.

Parameters:
companyIDAttributesGroup -

getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value.

Parameters:
currencyCodeGroup -