org.ota.pkg
Class _package.ItineraryItems.ItineraryItem.Accommodation

java.lang.Object
  extended by org.ota.pkg._package.ItineraryItems.ItineraryItem.Accommodation
Enclosing class:
_package.ItineraryItems.ItineraryItem

public static class _package.ItineraryItems.ItineraryItem.Accommodation
extends java.lang.Object

Details of an accommodation item requeired in the 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" type="ns:AccommodationSegmentRequestType" name="Accommodation"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AccommodationSegmentRequestType">
   <xs:sequence>
     <xs:element type="ns:PropertyIdentityType" name="Identity" minOccurs="0"/>
     <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:attributeGroup ref="ns:DestinationLevelGroup"/>
   <xs:attributeGroup ref="ns:ResortCodeGroup"/>
 </xs:complexType>
 


Nested Class Summary
static class _package.ItineraryItems.ItineraryItem.Accommodation.MealPlans
          A collection of MealPlan elements Schema fragment(s) for this class:
static class _package.ItineraryItems.ItineraryItem.Accommodation.RoomProfiles
          A collection of RoomProfile elements Schema fragment(s) for this class:
 
Constructor Summary
_package.ItineraryItems.ItineraryItem.Accommodation()
           
 
Method Summary
 DateTimeSpan getDateRange()
          Get the 'DateRange' element value.
 DestinationLevelGroup getDestinationLevelGroup()
          Get the 'DestinationLevelGroup' attributeGroup value.
 PropertyIdentity getIdentity()
          Get the 'Identity' element value.
 _package.ItineraryItems.ItineraryItem.Accommodation.MealPlans getMealPlans()
          Get the 'MealPlans' element value.
 ResortCodeGroup getResortCodeGroup()
          Get the 'ResortCodeGroup' attributeGroup value.
 _package.ItineraryItems.ItineraryItem.Accommodation.RoomProfiles getRoomProfiles()
          Get the 'RoomProfiles' element value.
 java.lang.String getRPH()
          Get the 'RPH' attribute 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(_package.ItineraryItems.ItineraryItem.Accommodation.MealPlans mealPlans)
          Set the 'MealPlans' element value.
 void setResortCodeGroup(ResortCodeGroup resortCodeGroup)
          Set the 'ResortCodeGroup' attributeGroup value.
 void setRoomProfiles(_package.ItineraryItems.ItineraryItem.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

_package.ItineraryItems.ItineraryItem.Accommodation

public _package.ItineraryItems.ItineraryItem.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 -

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 _package.ItineraryItems.ItineraryItem.Accommodation.RoomProfiles getRoomProfiles()
Get the 'RoomProfiles' element value. Defines the required accommodation component of a package holiday.

Returns:
value

setRoomProfiles

public void setRoomProfiles(_package.ItineraryItems.ItineraryItem.Accommodation.RoomProfiles roomProfiles)
Set the 'RoomProfiles' element value. Defines the required accommodation component of a package holiday.

Parameters:
roomProfiles -

getMealPlans

public _package.ItineraryItems.ItineraryItem.Accommodation.MealPlans getMealPlans()
Get the 'MealPlans' element value. Defines the required accommodation component of a package holiday.

Returns:
value

setMealPlans

public void setMealPlans(_package.ItineraryItems.ItineraryItem.Accommodation.MealPlans mealPlans)
Set the 'MealPlans' element value. Defines the required accommodation component of a package holiday.

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 -

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 -

getResortCodeGroup

public ResortCodeGroup getResortCodeGroup()
Get the 'ResortCodeGroup' attributeGroup value. Identifies a resort by code or name.

Returns:
value

setResortCodeGroup

public void setResortCodeGroup(ResortCodeGroup resortCodeGroup)
Set the 'ResortCodeGroup' attributeGroup value. Identifies a resort by code or name.

Parameters:
resortCodeGroup -