|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.pkg.PkgFlightSegment.CabinAvailability
public static class PkgFlightSegment.CabinAvailability
Identifies a section of an aircraft, possibly providing extra services. 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:CabinAvailType" name="CabinAvailability" minOccurs="0" maxOccurs="5"/> <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CabinAvailType"> <xs:sequence> <xs:element type="ns:SeatAvailabilityType" name="Seat" maxOccurs="26"/> <xs:element name="BaggageAllowance" minOccurs="0"> <xs:complexType> <xs:attributeGroup ref="ns:UnitsOfMeasureGroup"/> </xs:complexType> </xs:element> </xs:sequence> <xs:attributeGroup ref="ns:OptionalCodeOptionalNameGroup"/> <xs:attribute type="xs:string" use="optional" name="Meal"/> </xs:complexType>
Constructor Summary | |
---|---|
PkgFlightSegment.CabinAvailability()
|
Method Summary | |
---|---|
void |
addSeat(SeatAvailability item)
Add a 'Seat' element item. |
void |
clearSeats()
Remove all 'Seat' element items. |
UnitsOfMeasureGroup |
getBaggageAllowance()
Get the 'UnitsOfMeasureGroup' attributeGroup value. |
java.lang.String |
getMeal()
Get the 'Meal' attribute value. |
OptionalCodeOptionalNameGroup |
getOptionalCodeOptionalNameGroup()
Get the 'OptionalCodeOptionalNameGroup' attributeGroup value. |
SeatAvailability |
getSeat(int index)
Get 'Seat' element item by position. |
java.util.List<SeatAvailability> |
getSeats()
Get the list of 'Seat' element items. |
void |
setBaggageAllowance(UnitsOfMeasureGroup baggageAllowance)
Set the 'UnitsOfMeasureGroup' attributeGroup value. |
void |
setMeal(java.lang.String meal)
Set the 'Meal' attribute value. |
void |
setOptionalCodeOptionalNameGroup(OptionalCodeOptionalNameGroup optionalCodeOptionalNameGroup)
Set the 'OptionalCodeOptionalNameGroup' attributeGroup value. |
void |
setSeats(java.util.List<SeatAvailability> list)
Set the list of 'Seat' element items. |
int |
sizeSeats()
Get the number of 'Seat' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PkgFlightSegment.CabinAvailability()
Method Detail |
---|
public java.util.List<SeatAvailability> getSeats()
public void setSeats(java.util.List<SeatAvailability> list)
list
- public int sizeSeats()
public void addSeat(SeatAvailability item)
item
- public SeatAvailability getSeat(int index)
index
-
public void clearSeats()
public UnitsOfMeasureGroup getBaggageAllowance()
public void setBaggageAllowance(UnitsOfMeasureGroup baggageAllowance)
baggageAllowance
- public OptionalCodeOptionalNameGroup getOptionalCodeOptionalNameGroup()
public void setOptionalCodeOptionalNameGroup(OptionalCodeOptionalNameGroup optionalCodeOptionalNameGroup)
optionalCodeOptionalNameGroup
- public java.lang.String getMeal()
public void setMeal(java.lang.String meal)
meal
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |