org.ota.pkg
Class _package.ItineraryItems.ItineraryItem

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

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

Details of a package component. 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:ItineraryItemRequestType" name="ItineraryItem" maxOccurs="99"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ItineraryItemRequestType">
   <xs:choice>
     <xs:element type="ns:AccommodationSegmentRequestType" name="Accommodation">
       <!-- Reference to inner class Accommodation -->
     </xs:element>
     <xs:element type="ns:PkgFlightSegmentType" name="Flight"/>
     <xs:element name="RentalCar">
       <xs:complexType>
         <xs:complexContent>
           <xs:extension base="ns:VehicleRentalCoreType">
             <xs:attribute type="xs:string" use="optional" name="RPH"/>
             <xs:attribute type="xs:string" use="optional" name="Name"/>
             <xs:attribute type="xs:string" use="optional" name="Code"/>
           </xs:extension>
         </xs:complexContent>
       </xs:complexType>
     </xs:element>
   </xs:choice>
   <xs:attribute type="xs:string" use="optional" name="RPH"/>
 </xs:complexType>
 


Nested Class Summary
static class _package.ItineraryItems.ItineraryItem.Accommodation
          Details of an accommodation item requeired in the package Schema fragment(s) for this class:
 
Constructor Summary
_package.ItineraryItems.ItineraryItem()
           
 
Method Summary
 void clearChoiceSelect()
          Clear the choice selection.
 _package.ItineraryItems.ItineraryItem.Accommodation getAccommodation()
          Get the 'Accommodation' element value.
 PkgFlightSegment getFlight()
          Get the 'Flight' element value.
 java.lang.String getRentalCarCode()
          Get the 'Code' attribute value.
 java.lang.String getRentalCarName()
          Get the 'Name' attribute value.
 java.lang.String getRentalCarRPH()
          Get the 'RPH' attribute value.
 VehicleRentalCore getRentalCarVehicleRentalCore()
          Get the extension value.
 java.lang.String getRPH()
          Get the 'RPH' attribute value.
 boolean ifAccommodation()
          Check if Accommodation is current selection for choice.
 boolean ifFlight()
          Check if Flight is current selection for choice.
 boolean ifRentalCar()
          Check if RentalCar is current selection for choice.
 void setAccommodation(_package.ItineraryItems.ItineraryItem.Accommodation accommodation)
          Set the 'Accommodation' element value.
 void setFlight(PkgFlightSegment flight)
          Set the 'Flight' element value.
 void setRentalCarCode(java.lang.String rentalCarCode)
          Set the 'Code' attribute value.
 void setRentalCarName(java.lang.String rentalCarName)
          Set the 'Name' attribute value.
 void setRentalCarRPH(java.lang.String rentalCarRPH)
          Set the 'RPH' attribute value.
 void setRentalCarVehicleRentalCore(VehicleRentalCore rentalCarVehicleRentalCore)
          Set the extension 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

public _package.ItineraryItems.ItineraryItem()
Method Detail

clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifAccommodation

public boolean ifAccommodation()
Check if Accommodation is current selection for choice.

Returns:
true if selection, false if not

getAccommodation

public _package.ItineraryItems.ItineraryItem.Accommodation getAccommodation()
Get the 'Accommodation' element value.

Returns:
value

setAccommodation

public void setAccommodation(_package.ItineraryItems.ItineraryItem.Accommodation accommodation)
Set the 'Accommodation' element value.

Parameters:
accommodation -

ifFlight

public boolean ifFlight()
Check if Flight is current selection for choice.

Returns:
true if selection, false if not

getFlight

public PkgFlightSegment getFlight()
Get the 'Flight' element value. Details of a flight item required in the package

Returns:
value

setFlight

public void setFlight(PkgFlightSegment flight)
Set the 'Flight' element value. Details of a flight item required in the package

Parameters:
flight -

ifRentalCar

public boolean ifRentalCar()
Check if RentalCar is current selection for choice.

Returns:
true if selection, false if not

getRentalCarVehicleRentalCore

public VehicleRentalCore getRentalCarVehicleRentalCore()
Get the extension value.

Returns:
value

setRentalCarVehicleRentalCore

public void setRentalCarVehicleRentalCore(VehicleRentalCore rentalCarVehicleRentalCore)
Set the extension value.

Parameters:
rentalCarVehicleRentalCore -

getRentalCarRPH

public java.lang.String getRentalCarRPH()
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

setRentalCarRPH

public void setRentalCarRPH(java.lang.String rentalCarRPH)
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:
rentalCarRPH -

getRentalCarName

public java.lang.String getRentalCarName()
Get the 'Name' attribute value. The name or type of vehicle e.g. 'Opel Corsa or similar'.

Returns:
value

setRentalCarName

public void setRentalCarName(java.lang.String rentalCarName)
Set the 'Name' attribute value. The name or type of vehicle e.g. 'Opel Corsa or similar'.

Parameters:
rentalCarName -

getRentalCarCode

public java.lang.String getRentalCarCode()
Get the 'Code' attribute value. The supplier's code for the vehicle.

Returns:
value

setRentalCarCode

public void setRentalCarCode(java.lang.String rentalCarCode)
Set the 'Code' attribute value. The supplier's code for the vehicle.

Parameters:
rentalCarCode -

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 -