|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.insurance.TripFeatures.Destinations
public static class TripFeatures.Destinations
Container for any number of destinations that the traveler(s) will reach during their journey. 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="Destinations" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="Destination" maxOccurs="99"> <!-- Reference to inner class Destination --> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
TripFeatures.Destinations.Destination
Identifies a single destination point of the traveler(s) journey as well as arrival and departure dates. |
Constructor Summary | |
---|---|
TripFeatures.Destinations()
|
Method Summary | |
---|---|
void |
addDestination(TripFeatures.Destinations.Destination item)
Add a 'Destination' element item. |
void |
clearDestinations()
Remove all 'Destination' element items. |
TripFeatures.Destinations.Destination |
getDestination(int index)
Get 'Destination' element item by position. |
java.util.List<TripFeatures.Destinations.Destination> |
getDestinations()
Get the list of 'Destination' element items. |
void |
setDestinations(java.util.List<TripFeatures.Destinations.Destination> list)
Set the list of 'Destination' element items. |
int |
sizeDestinations()
Get the number of 'Destination' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TripFeatures.Destinations()
Method Detail |
---|
public java.util.List<TripFeatures.Destinations.Destination> getDestinations()
public void setDestinations(java.util.List<TripFeatures.Destinations.Destination> list)
list
- public int sizeDestinations()
public void addDestination(TripFeatures.Destinations.Destination item)
item
- public TripFeatures.Destinations.Destination getDestination(int index)
index
-
public void clearDestinations()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |