org.ota.pkg
Class ItineraryItemResponse.Accommodation

java.lang.Object
  extended by org.ota.pkg.ItineraryItemResponse.Accommodation
Enclosing class:
ItineraryItemResponse

public static class ItineraryItemResponse.Accommodation
extends java.lang.Object

Defines an accommodation component of a package holiday. 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="Accommodation">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:PropertyIdentityType" name="Identity" minOccurs="0"/>
       <xs:element name="AccommodationClass" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:AccommodationClassGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:DateTimeSpanType" name="DateRange"/>
       <xs:element name="RoomProfiles" minOccurs="0">
         <!-- Reference to inner class RoomProfiles -->
       </xs:element>
       <xs:element name="MealPlans" minOccurs="0">
         <!-- Reference to inner class MealPlans -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="RPH"/>
     <xs:attribute type="xs:string" use="optional" name="ResortName"/>
     <xs:attribute type="xs:string" use="optional" name="ResortCode"/>
     <xs:attributeGroup ref="ns:DestinationLevelGroup"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class ItineraryItemResponse.Accommodation.MealPlans
          A collection of MealPlan elements Schema fragment(s) for this class:
static class ItineraryItemResponse.Accommodation.RoomProfiles
          A collection of RoomProfile elements Schema fragment(s) for this class:
 
Constructor Summary
ItineraryItemResponse.Accommodation()
           
 
Method Summary
 AccommodationClassGroup getAccommodationClass()
          Get the 'AccommodationClassGroup' attributeGroup value.
 DateTimeSpan getDateRange()
          Get the 'DateRange' element value.
 DestinationLevelGroup getDestinationLevelGroup()
          Get the 'DestinationLevelGroup' attributeGroup value.
 PropertyIdentity getIdentity()
          Get the 'Identity' element value.
 ItineraryItemResponse.Accommodation.MealPlans getMealPlans()
          Get the 'MealPlans' element value.
 java.lang.String getResortCode()
          Get the 'ResortCode' attribute value.
 java.lang.String getResortName()
          Get the 'ResortName' attribute value.
 ItineraryItemResponse.Accommodation.RoomProfiles getRoomProfiles()
          Get the 'RoomProfiles' element value.
 java.lang.String getRPH()
          Get the 'RPH' attribute value.
 void setAccommodationClass(AccommodationClassGroup accommodationClass)
          Set the 'AccommodationClassGroup' attributeGroup value.
 void setDateRange(DateTimeSpan dateRange)
          Set the 'DateRange' element value.
 void setDestinationLevelGroup(DestinationLevelGroup destinationLevelGroup)
          Set the 'DestinationLevelGroup' attributeGroup value.
 void setIdentity(PropertyIdentity identity)
          Set the 'Identity' element value.
 void setMealPlans(ItineraryItemResponse.Accommodation.MealPlans mealPlans)
          Set the 'MealPlans' element value.
 void setResortCode(java.lang.String resortCode)
          Set the 'ResortCode' attribute value.
 void setResortName(java.lang.String resortName)
          Set the 'ResortName' attribute value.
 void setRoomProfiles(ItineraryItemResponse.Accommodation.RoomProfiles roomProfiles)
          Set the 'RoomProfiles' element value.
 void setRPH(java.lang.String RPH)
          Set the 'RPH' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItineraryItemResponse.Accommodation

public ItineraryItemResponse.Accommodation()
Method Detail

getIdentity

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

Returns:
value

setIdentity

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

Parameters:
identity -

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 -

getDateRange

public DateTimeSpan getDateRange()
Get the 'DateRange' element value. The Start date and Duration or End Date of the accommodation stay.

Returns:
value

setDateRange

public void setDateRange(DateTimeSpan dateRange)
Set the 'DateRange' element value. The Start date and Duration or End Date of the accommodation stay.

Parameters:
dateRange -

getRoomProfiles

public ItineraryItemResponse.Accommodation.RoomProfiles getRoomProfiles()
Get the 'RoomProfiles' element value.

Returns:
value

setRoomProfiles

public void setRoomProfiles(ItineraryItemResponse.Accommodation.RoomProfiles roomProfiles)
Set the 'RoomProfiles' element value.

Parameters:
roomProfiles -

getMealPlans

public ItineraryItemResponse.Accommodation.MealPlans getMealPlans()
Get the 'MealPlans' element value.

Returns:
value

setMealPlans

public void setMealPlans(ItineraryItemResponse.Accommodation.MealPlans mealPlans)
Set the 'MealPlans' element value.

Parameters:
mealPlans -

getRPH

public java.lang.String getRPH()
Get the 'RPH' attribute value. (Reference Place Holder) - an index code to identify an instance in a collection of like items.. For example, used to assign individual passengers or clients to particular itinerary items.

Returns:
value

setRPH

public void setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. (Reference Place Holder) - an index code to identify an instance in a collection of like items.. For example, used to assign individual passengers or clients to particular itinerary items.

Parameters:
RPH -

getResortName

public java.lang.String getResortName()
Get the 'ResortName' attribute value. Describes the resort or area containing a property.

Returns:
value

setResortName

public void setResortName(java.lang.String resortName)
Set the 'ResortName' attribute value. Describes the resort or area containing a property.

Parameters:
resortName -

getResortCode

public java.lang.String getResortCode()
Get the 'ResortCode' attribute value. The code for the resort or area containing a property.

Returns:
value

setResortCode

public void setResortCode(java.lang.String resortCode)
Set the 'ResortCode' attribute value. The code for the resort or area containing a property.

Parameters:
resortCode -

getDestinationLevelGroup

public DestinationLevelGroup getDestinationLevelGroup()
Get the 'DestinationLevelGroup' attributeGroup value. Identifies the parent of the Resort. The geo-political position of the destination (e.g. country) is determined by the DestinationLevel attribute.

Returns:
value

setDestinationLevelGroup

public void setDestinationLevelGroup(DestinationLevelGroup destinationLevelGroup)
Set the 'DestinationLevelGroup' attributeGroup value. Identifies the parent of the Resort. The geo-political position of the destination (e.g. country) is determined by the DestinationLevel attribute.

Parameters:
destinationLevelGroup -