org.ota.pkg
Class AvailRS.AccommodationChoices.AvailableProperty

java.lang.Object
  extended by org.ota.pkg.AvailRS.AccommodationChoices.AvailableProperty
Enclosing class:
AvailRS.AccommodationChoices

public static class AvailRS.AccommodationChoices.AvailableProperty
extends java.lang.Object

Details of a property available for the request date and duration 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:AccommodationDetailType" name="AvailableProperty" maxOccurs="99"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AccommodationDetailType">
   <xs:complexContent>
     <xs:extension base="ns:AccommodationInfoType">
       <xs:sequence>
         <xs:element type="ns:FacilityChoicesType" name="FacilityChoices" minOccurs="0">
           <!-- Reference to inner class FacilityChoices -->
         </xs:element>
       </xs:sequence>
       <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
       <xs:attribute type="xs:int" use="optional" name="BedQuantity"/>
       <xs:attribute type="xs:boolean" use="optional" name="TravelOKFlag"/>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AccommodationInfoType">
   <xs:sequence>
     <xs:element type="ns:PropertyIdentityType" name="Property"/>
     <xs:element name="Resort" minOccurs="0">
       <!-- Reference to inner class Resort -->
     </xs:element>
     <xs:element name="AccommodationClass" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:AccommodationClassGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element type="ns:SourceIdentificationType" name="SourceIdentification" minOccurs="0">
       <!-- Reference to inner class SourceIdentification -->
     </xs:element>
     <xs:element type="ns:URL_Type" name="ContentInfo" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="PackageID"/>
   <xs:attribute type="xs:int" use="optional" name="MinChildAge"/>
   <xs:attribute type="xs:int" use="optional" name="MaxChildAge"/>
   <xs:attribute type="xs:string" use="optional" name="BaseMealPlan"/>
 </xs:complexType>
 


Nested Class Summary
static class AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices
          Schema fragment(s) for this class:
static class AvailRS.AccommodationChoices.AvailableProperty.Resort
          Identifies the resort and destination of the property Schema fragment(s) for this class:
static class AvailRS.AccommodationChoices.AvailableProperty.SourceIdentification
          Identifies the current source for information on the property.
 
Constructor Summary
AvailRS.AccommodationChoices.AvailableProperty()
           
 
Method Summary
 AccommodationClassGroup getAccommodationClass()
          Get the 'AccommodationClassGroup' attributeGroup value.
 java.lang.String getBaseMealPlan()
          Get the 'BaseMealPlan' attribute value.
 java.lang.Integer getBedQuantity()
          Get the 'BedQuantity' attribute value.
 URL getContentInfo()
          Get the 'ContentInfo' element value.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices getFacilityChoices()
          Get the 'FacilityChoices' element value.
 java.lang.Integer getMaxChildAge()
          Get the 'MaxChildAge' attribute value.
 java.lang.Integer getMinChildAge()
          Get the 'MinChildAge' attribute value.
 java.lang.String getPackageID()
          Get the 'PackageID' attribute value.
 PropertyIdentity getProperty()
          Get the 'Property' element value.
 AvailRS.AccommodationChoices.AvailableProperty.Resort getResort()
          Get the 'Resort' element value.
 AvailRS.AccommodationChoices.AvailableProperty.SourceIdentification getSourceIdentification()
          Get the 'SourceIdentification' element value.
 java.lang.Boolean getTravelOKFlag()
          Get the 'TravelOKFlag' attribute value.
 void setAccommodationClass(AccommodationClassGroup accommodationClass)
          Set the 'AccommodationClassGroup' attributeGroup value.
 void setBaseMealPlan(java.lang.String baseMealPlan)
          Set the 'BaseMealPlan' attribute value.
 void setBedQuantity(java.lang.Integer bedQuantity)
          Set the 'BedQuantity' attribute value.
 void setContentInfo(URL contentInfo)
          Set the 'ContentInfo' element value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setFacilityChoices(AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices facilityChoices)
          Set the 'FacilityChoices' element value.
 void setMaxChildAge(java.lang.Integer maxChildAge)
          Set the 'MaxChildAge' attribute value.
 void setMinChildAge(java.lang.Integer minChildAge)
          Set the 'MinChildAge' attribute value.
 void setPackageID(java.lang.String packageID)
          Set the 'PackageID' attribute value.
 void setProperty(PropertyIdentity property)
          Set the 'Property' element value.
 void setResort(AvailRS.AccommodationChoices.AvailableProperty.Resort resort)
          Set the 'Resort' element value.
 void setSourceIdentification(AvailRS.AccommodationChoices.AvailableProperty.SourceIdentification sourceIdentification)
          Set the 'SourceIdentification' element value.
 void setTravelOKFlag(java.lang.Boolean travelOKFlag)
          Set the 'TravelOKFlag' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRS.AccommodationChoices.AvailableProperty

public AvailRS.AccommodationChoices.AvailableProperty()
Method Detail

getProperty

public PropertyIdentity getProperty()
Get the 'Property' element value. Full name or description plus codes for a property.

Returns:
value

setProperty

public void setProperty(PropertyIdentity property)
Set the 'Property' element value. Full name or description plus codes for a property.

Parameters:
property -

getResort

public AvailRS.AccommodationChoices.AvailableProperty.Resort getResort()
Get the 'Resort' element value. Provides accommodation location, dates and classifications

Returns:
value

setResort

public void setResort(AvailRS.AccommodationChoices.AvailableProperty.Resort resort)
Set the 'Resort' element value. Provides accommodation location, dates and classifications

Parameters:
resort -

getAccommodationClass

public AccommodationClassGroup getAccommodationClass()
Get the 'AccommodationClassGroup' attributeGroup value. Provides the supplier's and/or national classifiaction of the property.

Returns:
value

setAccommodationClass

public void setAccommodationClass(AccommodationClassGroup accommodationClass)
Set the 'AccommodationClassGroup' attributeGroup value. Provides the supplier's and/or national classifiaction of the property.

Parameters:
accommodationClass -

getSourceIdentification

public AvailRS.AccommodationChoices.AvailableProperty.SourceIdentification getSourceIdentification()
Get the 'SourceIdentification' element value. Provides accommodation location, dates and classifications

Returns:
value

setSourceIdentification

public void setSourceIdentification(AvailRS.AccommodationChoices.AvailableProperty.SourceIdentification sourceIdentification)
Set the 'SourceIdentification' element value. Provides accommodation location, dates and classifications

Parameters:
sourceIdentification -

getContentInfo

public URL getContentInfo()
Get the 'ContentInfo' element value. Provides a URL source for content information on the property.

Returns:
value

setContentInfo

public void setContentInfo(URL contentInfo)
Set the 'ContentInfo' element value. Provides a URL source for content information on the property.

Parameters:
contentInfo -

getPackageID

public java.lang.String getPackageID()
Get the 'PackageID' attribute value. A code identifying a complete package arrangement, in place of individual travel and accommodation codes.

Returns:
value

setPackageID

public void setPackageID(java.lang.String packageID)
Set the 'PackageID' attribute value. A code identifying a complete package arrangement, in place of individual travel and accommodation codes.

Parameters:
packageID -

getMinChildAge

public java.lang.Integer getMinChildAge()
Get the 'MinChildAge' attribute value. The minimum age for a child price.

Returns:
value

setMinChildAge

public void setMinChildAge(java.lang.Integer minChildAge)
Set the 'MinChildAge' attribute value. The minimum age for a child price.

Parameters:
minChildAge -

getMaxChildAge

public java.lang.Integer getMaxChildAge()
Get the 'MaxChildAge' attribute value. The maximum age for a child price.

Returns:
value

setMaxChildAge

public void setMaxChildAge(java.lang.Integer maxChildAge)
Set the 'MaxChildAge' attribute value. The maximum age for a child price.

Parameters:
maxChildAge -

getBaseMealPlan

public java.lang.String getBaseMealPlan()
Get the 'BaseMealPlan' attribute value. This is the meal plan that is included in the package price.

Returns:
value

setBaseMealPlan

public void setBaseMealPlan(java.lang.String baseMealPlan)
Set the 'BaseMealPlan' attribute value. This is the meal plan that is included in the package price.

Parameters:
baseMealPlan -

getFacilityChoices

public AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices getFacilityChoices()
Get the 'FacilityChoices' element value. Provides accommodation location, dates and classifications

Returns:
value

setFacilityChoices

public void setFacilityChoices(AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices facilityChoices)
Set the 'FacilityChoices' element value. Provides accommodation location, dates and classifications

Parameters:
facilityChoices -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. The Start date and Duration or End Date of the accommodation stay.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. The Start date and Duration or End Date of the accommodation stay.

Parameters:
dateTimeSpanGroup -

getBedQuantity

public java.lang.Integer getBedQuantity()
Get the 'BedQuantity' attribute value. The number of available beds for the stay at a property.

Returns:
value

setBedQuantity

public void setBedQuantity(java.lang.Integer bedQuantity)
Set the 'BedQuantity' attribute value. The number of available beds for the stay at a property.

Parameters:
bedQuantity -

getTravelOKFlag

public java.lang.Boolean getTravelOKFlag()
Get the 'TravelOKFlag' attribute value. Used to indicate whether or not the travel associated with the package is available with this accommodation.

Returns:
value

setTravelOKFlag

public void setTravelOKFlag(java.lang.Boolean travelOKFlag)
Set the 'TravelOKFlag' attribute value. Used to indicate whether or not the travel associated with the package is available with this accommodation.

Parameters:
travelOKFlag -