|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.misc.ResRetrieveRS.ReservationsList.AirReservation
public static class ResRetrieveRS.ReservationsList.AirReservation
One line in a list of airline reservations. It may contain the PNR locator, flight segment information, traveler name, and itinerary name. 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="AirReservation" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element type="ns:FlightSegmentType" name="FlightSegment" minOccurs="0"/> <xs:element type="ns:PersonNameType" name="TravelerName" minOccurs="0" maxOccurs="5"/> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:attribute type="xs:string" name="BookingReferenceID"/> <xs:attribute type="xs:dateTime" use="optional" name="DateBooked"/> <xs:attribute type="xs:string" use="optional" name="ItineraryName"/> <xs:attribute type="ns:TransactionStatusType" use="optional" name="Status"/> </xs:complexType> </xs:element> <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"/>
Constructor Summary | |
---|---|
ResRetrieveRS.ReservationsList.AirReservation()
|
Method Summary | |
---|---|
void |
addTravelerName(PersonName item)
Add a 'TravelerName' element item. |
void |
clearTravelerNames()
Remove all 'TravelerName' element items. |
java.lang.String |
getBookingReferenceID()
Get the 'BookingReferenceID' attribute value. |
java.util.Date |
getDateBooked()
Get the 'DateBooked' attribute value. |
FlightSegment |
getFlightSegment()
Get the 'FlightSegment' element value. |
java.lang.String |
getItineraryName()
Get the 'ItineraryName' attribute value. |
TransactionStatus |
getStatus()
Get the 'Status' attribute value. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
PersonName |
getTravelerName(int index)
Get 'TravelerName' element item by position. |
java.util.List<PersonName> |
getTravelerNames()
Get the list of 'TravelerName' element items. |
void |
setBookingReferenceID(java.lang.String bookingReferenceID)
Set the 'BookingReferenceID' attribute value. |
void |
setDateBooked(java.util.Date dateBooked)
Set the 'DateBooked' attribute value. |
void |
setFlightSegment(FlightSegment flightSegment)
Set the 'FlightSegment' element value. |
void |
setItineraryName(java.lang.String itineraryName)
Set the 'ItineraryName' attribute value. |
void |
setStatus(TransactionStatus status)
Set the 'Status' attribute value. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setTravelerNames(java.util.List<PersonName> list)
Set the list of 'TravelerName' element items. |
int |
sizeTravelerNames()
Get the number of 'TravelerName' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResRetrieveRS.ReservationsList.AirReservation()
Method Detail |
---|
public FlightSegment getFlightSegment()
public void setFlightSegment(FlightSegment flightSegment)
flightSegment
- public java.util.List<PersonName> getTravelerNames()
public void setTravelerNames(java.util.List<PersonName> list)
list
- public int sizeTravelerNames()
public void addTravelerName(PersonName item)
item
- public PersonName getTravelerName(int index)
index
-
public void clearTravelerNames()
public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
- public java.lang.String getBookingReferenceID()
public void setBookingReferenceID(java.lang.String bookingReferenceID)
bookingReferenceID
- public java.util.Date getDateBooked()
public void setDateBooked(java.util.Date dateBooked)
dateBooked
- public java.lang.String getItineraryName()
public void setItineraryName(java.lang.String itineraryName)
itineraryName
- public TransactionStatus getStatus()
public void setStatus(TransactionStatus status)
status
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |