|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.loyalty.LoyaltyTravelInfo
public class LoyaltyTravelInfo
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="LoyaltyTravelInfoType">
<xs:choice>
<xs:element name="HotelStayInfo">
<!-- Reference to inner class HotelStayInfo -->
</xs:element>
<xs:element name="AirFlightInfo">
<xs:complexType>
<xs:sequence>
<xs:element type="ns:FlightSegmentBaseType" name="FlightSegment" maxOccurs="9"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CarRentalInfo">
<!-- Reference to inner class CarRentalInfo -->
</xs:element>
</xs:choice>
</xs:complexType>
| Nested Class Summary | |
|---|---|
static class |
LoyaltyTravelInfo.CarRentalInfo
Schema fragment(s) for this class: |
static class |
LoyaltyTravelInfo.HotelStayInfo
Schema fragment(s) for this class: |
| Constructor Summary | |
|---|---|
LoyaltyTravelInfo()
|
|
| Method Summary | |
|---|---|
void |
addFlightSegment(FlightSegmentBase item)
Add a 'FlightSegment' element item. |
void |
clearChoiceSelect()
Clear the choice selection. |
void |
clearFlightSegments()
Remove all 'FlightSegment' element items. |
LoyaltyTravelInfo.CarRentalInfo |
getCarRentalInfo()
Get the 'CarRentalInfo' element value. |
FlightSegmentBase |
getFlightSegment(int index)
Get 'FlightSegment' element item by position. |
java.util.List<FlightSegmentBase> |
getFlightSegments()
Get the list of 'FlightSegment' element items. |
LoyaltyTravelInfo.HotelStayInfo |
getHotelStayInfo()
Get the 'HotelStayInfo' element value. |
boolean |
ifAirFlightInfo()
Check if AirFlightInfo is current selection for choice. |
boolean |
ifCarRentalInfo()
Check if CarRentalInfo is current selection for choice. |
boolean |
ifHotelStayInfo()
Check if HotelStayInfo is current selection for choice. |
void |
setCarRentalInfo(LoyaltyTravelInfo.CarRentalInfo carRentalInfo)
Set the 'CarRentalInfo' element value. |
void |
setFlightSegments(java.util.List<FlightSegmentBase> list)
Set the list of 'FlightSegment' element items. |
void |
setHotelStayInfo(LoyaltyTravelInfo.HotelStayInfo hotelStayInfo)
Set the 'HotelStayInfo' element value. |
int |
sizeFlightSegments()
Get the number of 'FlightSegment' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoyaltyTravelInfo()
| Method Detail |
|---|
public void clearChoiceSelect()
public boolean ifHotelStayInfo()
true if selection, false if notpublic LoyaltyTravelInfo.HotelStayInfo getHotelStayInfo()
public void setHotelStayInfo(LoyaltyTravelInfo.HotelStayInfo hotelStayInfo)
hotelStayInfo - public boolean ifAirFlightInfo()
true if selection, false if notpublic java.util.List<FlightSegmentBase> getFlightSegments()
public void setFlightSegments(java.util.List<FlightSegmentBase> list)
list - public int sizeFlightSegments()
public void addFlightSegment(FlightSegmentBase item)
item - public FlightSegmentBase getFlightSegment(int index)
index -
public void clearFlightSegments()
public boolean ifCarRentalInfo()
true if selection, false if notpublic LoyaltyTravelInfo.CarRentalInfo getCarRentalInfo()
public void setCarRentalInfo(LoyaltyTravelInfo.CarRentalInfo carRentalInfo)
carRentalInfo -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||