|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.itin.TravelSegment
public class TravelSegment
Schema fragment(s) for this class:
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TravelSegmentType"> <xs:choice> <xs:element name="Air"> <xs:complexType> <xs:choice> <xs:element name="Reservation"> <xs:complexType> <xs:complexContent> <xs:extension base="ns:BookFlightSegmentType"> <xs:sequence> <xs:element name="Seats" minOccurs="0"> <!-- Reference to inner class Seats --> </xs:element> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:attribute name="OrginDestType"> <xs:simpleType> <!-- Reference to inner class OrginDest --> </xs:simpleType> </xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:element type="ns:AirReservationType" name="DetailedReservation"/> </xs:choice> </xs:complexType> </xs:element> <xs:element type="ns:VehicleSegmentCoreType" name="Vehicle"/> <xs:element name="Hotel"> <xs:complexType> <xs:sequence> <xs:choice> <xs:element type="ns:RoomStayLiteType" name="Reservation"> <!-- Reference to inner class Reservation --> </xs:element> <xs:element type="ns:HotelReservationType" name="DetailedReservation"/> </xs:choice> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Rail"> <xs:complexType> <xs:sequence> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Cruise"> <xs:complexType> <xs:sequence> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Tour"> <xs:complexType> <xs:sequence> <xs:element type="ns:FreeTextType" name="Description"/> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:attribute type="xs:string" name="ID_Type"/> <xs:attributeGroup ref="ns:DateTimeSpanGroup"/> </xs:complexType> </xs:element> <xs:element name="General"> <xs:complexType> <xs:sequence> <xs:element type="ns:FreeTextType" name="Description"/> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:attribute name="Type"> <xs:simpleType> <!-- Reference to inner class Type --> </xs:simpleType> </xs:attribute> <xs:attributeGroup ref="ns:DateTimeSpanGroup"/> </xs:complexType> </xs:element> <xs:element name="Package"> <!-- Reference to inner class _package --> </xs:element> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:choice> <xs:attribute type="xs:string" name="RPH"/> <xs:attribute type="xs:string" name="Status"/> </xs:complexType> <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 |
TravelSegment._package
Package reservation information. |
static class |
TravelSegment.OrginDest
Schema fragment(s) for this class: |
static class |
TravelSegment.Reservation
Hotel reservation information. |
static class |
TravelSegment.Seats
All seat information. |
static class |
TravelSegment.Type
Schema fragment(s) for this class: |
Constructor Summary | |
---|---|
TravelSegment()
|
Method Summary | |
---|---|
void |
clearAirSelect()
Clear the choice selection. |
void |
clearChoiceSelect()
Clear the choice selection. |
void |
clearHotelChoiceSelect()
Clear the choice selection. |
AirReservation |
getAirDetailedReservation()
Get the 'DetailedReservation' element value. |
BookFlightSegment |
getAirReservationBookFlightSegment()
Get the extension value. |
TravelSegment.OrginDest |
getAirReservationOrginDest()
Get the 'OrginDestType' attribute value. |
TPAExtensions |
getAirReservationTPAExtensions()
Get the 'TPA_Extensions' element value. |
DateTimeSpanGroup |
getGeneralDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. |
FreeText |
getGeneralDescription()
Get the 'Description' element value. |
TPAExtensions |
getGeneralTPAExtensions()
Get the 'TPA_Extensions' element value. |
TravelSegment.Type |
getGeneralType()
Get the 'Type' attribute value. |
HotelReservation |
getHotelDetailedReservation()
Get the 'DetailedReservation' element value. |
TPAExtensions |
getHotelTPAExtensions()
Get the 'TPA_Extensions' element value. |
TravelSegment._package |
getPackage1()
Get the 'Package' element value. |
TravelSegment.Reservation |
getReservation()
Get the 'Reservation' element value. |
java.lang.String |
getRPH()
Get the 'RPH' attribute value. |
TravelSegment.Seats |
getSeats()
Get the 'Seats' element value. |
java.lang.String |
getStatus()
Get the 'Status' attribute value. |
DateTimeSpanGroup |
getTourDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. |
FreeText |
getTourDescription()
Get the 'Description' element value. |
java.lang.String |
getTourID()
Get the 'ID_Type' attribute value. |
TPAExtensions |
getTourTPAExtensions()
Get the 'TPA_Extensions' element value. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
TPAExtensions |
getTPAExtensions1()
Get the 'TPA_Extensions' element value. |
TPAExtensions |
getTPAExtensions2()
Get the 'TPA_Extensions' element value. |
VehicleSegmentCore |
getVehicle()
Get the 'Vehicle' element value. |
boolean |
ifAirDetailedReservation()
Check if AirDetailedReservation is current selection for choice. |
boolean |
ifAirReservation()
Check if AirReservation is current selection for choice. |
boolean |
ifAirSelect()
Check if AirSelect is current selection for choice. |
boolean |
ifCruise()
Check if Cruise is current selection for choice. |
boolean |
ifGeneral()
Check if General is current selection for choice. |
boolean |
ifHotel()
Check if Hotel is current selection for choice. |
boolean |
ifHotelDetailedReservation()
Check if HotelDetailedReservation is current selection for choice. |
boolean |
ifPackage()
Check if Package1 is current selection for choice. |
boolean |
ifRail()
Check if Rail is current selection for choice. |
boolean |
ifReservation()
Check if Reservation is current selection for choice. |
boolean |
ifTour()
Check if Tour is current selection for choice. |
boolean |
ifTPAExtensions2()
Check if TPAExtensions2 is current selection for choice. |
boolean |
ifVehicle()
Check if Vehicle is current selection for choice. |
void |
setAirDetailedReservation(AirReservation airDetailedReservation)
Set the 'DetailedReservation' element value. |
void |
setAirReservationBookFlightSegment(BookFlightSegment airReservationBookFlightSegment)
Set the extension value. |
void |
setAirReservationOrginDest(TravelSegment.OrginDest airReservationOrginDest)
Set the 'OrginDestType' attribute value. |
void |
setAirReservationTPAExtensions(TPAExtensions airReservationTPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setGeneralDateTimeSpanGroup(DateTimeSpanGroup generalDateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. |
void |
setGeneralDescription(FreeText generalDescription)
Set the 'Description' element value. |
void |
setGeneralTPAExtensions(TPAExtensions generalTPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setGeneralType(TravelSegment.Type generalType)
Set the 'Type' attribute value. |
void |
setHotelDetailedReservation(HotelReservation hotelDetailedReservation)
Set the 'DetailedReservation' element value. |
void |
setHotelTPAExtensions(TPAExtensions hotelTPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setPackage1(TravelSegment._package _package1)
Set the 'Package' element value. |
void |
setReservation(TravelSegment.Reservation reservation)
Set the 'Reservation' element value. |
void |
setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. |
void |
setSeats(TravelSegment.Seats seats)
Set the 'Seats' element value. |
void |
setStatus(java.lang.String status)
Set the 'Status' attribute value. |
void |
setTourDateTimeSpanGroup(DateTimeSpanGroup tourDateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. |
void |
setTourDescription(FreeText tourDescription)
Set the 'Description' element value. |
void |
setTourID(java.lang.String tourID)
Set the 'ID_Type' attribute value. |
void |
setTourTPAExtensions(TPAExtensions tourTPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setTPAExtensions1(TPAExtensions TPAExtensions1)
Set the 'TPA_Extensions' element value. |
void |
setTPAExtensions2(TPAExtensions TPAExtensions2)
Set the 'TPA_Extensions' element value. |
void |
setVehicle(VehicleSegmentCore vehicle)
Set the 'Vehicle' element value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TravelSegment()
Method Detail |
---|
public void clearChoiceSelect()
public boolean ifAirSelect()
true
if selection, false
if notpublic void clearAirSelect()
public boolean ifAirReservation()
true
if selection, false
if notpublic BookFlightSegment getAirReservationBookFlightSegment()
public void setAirReservationBookFlightSegment(BookFlightSegment airReservationBookFlightSegment)
airReservationBookFlightSegment
- public TravelSegment.Seats getSeats()
public void setSeats(TravelSegment.Seats seats)
seats
- public TPAExtensions getAirReservationTPAExtensions()
public void setAirReservationTPAExtensions(TPAExtensions airReservationTPAExtensions)
airReservationTPAExtensions
- public TravelSegment.OrginDest getAirReservationOrginDest()
public void setAirReservationOrginDest(TravelSegment.OrginDest airReservationOrginDest)
airReservationOrginDest
- public boolean ifAirDetailedReservation()
true
if selection, false
if notpublic AirReservation getAirDetailedReservation()
public void setAirDetailedReservation(AirReservation airDetailedReservation)
airDetailedReservation
- public boolean ifVehicle()
true
if selection, false
if notpublic VehicleSegmentCore getVehicle()
public void setVehicle(VehicleSegmentCore vehicle)
vehicle
- public boolean ifHotel()
true
if selection, false
if notpublic void clearHotelChoiceSelect()
public boolean ifReservation()
true
if selection, false
if notpublic TravelSegment.Reservation getReservation()
public void setReservation(TravelSegment.Reservation reservation)
reservation
- public boolean ifHotelDetailedReservation()
true
if selection, false
if notpublic HotelReservation getHotelDetailedReservation()
public void setHotelDetailedReservation(HotelReservation hotelDetailedReservation)
hotelDetailedReservation
- public TPAExtensions getHotelTPAExtensions()
public void setHotelTPAExtensions(TPAExtensions hotelTPAExtensions)
hotelTPAExtensions
- public boolean ifRail()
true
if selection, false
if notpublic TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
- public boolean ifCruise()
true
if selection, false
if notpublic TPAExtensions getTPAExtensions1()
public void setTPAExtensions1(TPAExtensions TPAExtensions1)
TPAExtensions1
- public boolean ifTour()
true
if selection, false
if notpublic FreeText getTourDescription()
public void setTourDescription(FreeText tourDescription)
tourDescription
- public TPAExtensions getTourTPAExtensions()
public void setTourTPAExtensions(TPAExtensions tourTPAExtensions)
tourTPAExtensions
- public java.lang.String getTourID()
public void setTourID(java.lang.String tourID)
tourID
- public DateTimeSpanGroup getTourDateTimeSpanGroup()
public void setTourDateTimeSpanGroup(DateTimeSpanGroup tourDateTimeSpanGroup)
tourDateTimeSpanGroup
- public boolean ifGeneral()
true
if selection, false
if notpublic FreeText getGeneralDescription()
public void setGeneralDescription(FreeText generalDescription)
generalDescription
- public TPAExtensions getGeneralTPAExtensions()
public void setGeneralTPAExtensions(TPAExtensions generalTPAExtensions)
generalTPAExtensions
- public TravelSegment.Type getGeneralType()
public void setGeneralType(TravelSegment.Type generalType)
generalType
- public DateTimeSpanGroup getGeneralDateTimeSpanGroup()
public void setGeneralDateTimeSpanGroup(DateTimeSpanGroup generalDateTimeSpanGroup)
generalDateTimeSpanGroup
- public boolean ifPackage()
true
if selection, false
if notpublic TravelSegment._package getPackage1()
public void setPackage1(TravelSegment._package _package1)
_package1
- public boolean ifTPAExtensions2()
true
if selection, false
if notpublic TPAExtensions getTPAExtensions2()
public void setTPAExtensions2(TPAExtensions TPAExtensions2)
TPAExtensions2
- public java.lang.String getRPH()
public void setRPH(java.lang.String RPH)
RPH
- public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |