org.ota.air
Class AirCheckIn.BaggageInfo

java.lang.Object
  extended by org.ota.air.AirCheckIn.BaggageInfo
Enclosing class:
AirCheckIn

public static class AirCheckIn.BaggageInfo
extends java.lang.Object

Specifies baggage information for each passenger checking in or the head of a baggage pool. 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="BaggageInfo" minOccurs="0" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="CheckedBaggageDetails" minOccurs="0" maxOccurs="999">
         <!-- Reference to inner class CheckedBaggageDetails -->
       </xs:element>
       <xs:element name="CheckedBagWeightTotal" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:UnitsOfMeasureGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element name="HandBagWeightTotal" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:UnitsOfMeasureGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" use="required" name="PassengerRPH"/>
     <xs:attribute type="xs:int" use="optional" name="CheckedBagCountTotal"/>
     <xs:attribute type="xs:int" use="optional" name="HandBagCountTotal"/>
     <xs:attribute type="xs:boolean" use="optional" name="HeadOfBaggagePoolInd"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class AirCheckIn.BaggageInfo.CheckedBaggageDetails
          Information for each piece of baggage being checked in for a specific passenger or pool.
 
Constructor Summary
AirCheckIn.BaggageInfo()
           
 
Method Summary
 void addCheckedBaggageDetail(AirCheckIn.BaggageInfo.CheckedBaggageDetails item)
          Add a 'CheckedBaggageDetails' element item.
 void clearCheckedBaggageDetails()
          Remove all 'CheckedBaggageDetails' element items.
 java.lang.Integer getCheckedBagCountTotal()
          Get the 'CheckedBagCountTotal' attribute value.
 AirCheckIn.BaggageInfo.CheckedBaggageDetails getCheckedBaggageDetail(int index)
          Get 'CheckedBaggageDetails' element item by position.
 java.util.List<AirCheckIn.BaggageInfo.CheckedBaggageDetails> getCheckedBaggageDetails()
          Get the list of 'CheckedBaggageDetails' element items.
 UnitsOfMeasureGroup getCheckedBagWeightTotal()
          Get the 'UnitsOfMeasureGroup' attributeGroup value.
 java.lang.Integer getHandBagCountTotal()
          Get the 'HandBagCountTotal' attribute value.
 UnitsOfMeasureGroup getHandBagWeightTotal()
          Get the 'UnitsOfMeasureGroup' attributeGroup value.
 java.lang.Boolean getHeadOfBaggagePoolInd()
          Get the 'HeadOfBaggagePoolInd' attribute value.
 java.lang.String getPassengerRPH()
          Get the 'PassengerRPH' attribute value.
 void setCheckedBagCountTotal(java.lang.Integer checkedBagCountTotal)
          Set the 'CheckedBagCountTotal' attribute value.
 void setCheckedBaggageDetails(java.util.List<AirCheckIn.BaggageInfo.CheckedBaggageDetails> list)
          Set the list of 'CheckedBaggageDetails' element items.
 void setCheckedBagWeightTotal(UnitsOfMeasureGroup checkedBagWeightTotal)
          Set the 'UnitsOfMeasureGroup' attributeGroup value.
 void setHandBagCountTotal(java.lang.Integer handBagCountTotal)
          Set the 'HandBagCountTotal' attribute value.
 void setHandBagWeightTotal(UnitsOfMeasureGroup handBagWeightTotal)
          Set the 'UnitsOfMeasureGroup' attributeGroup value.
 void setHeadOfBaggagePoolInd(java.lang.Boolean headOfBaggagePoolInd)
          Set the 'HeadOfBaggagePoolInd' attribute value.
 void setPassengerRPH(java.lang.String passengerRPH)
          Set the 'PassengerRPH' attribute value.
 int sizeCheckedBaggageDetails()
          Get the number of 'CheckedBaggageDetails' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirCheckIn.BaggageInfo

public AirCheckIn.BaggageInfo()
Method Detail

getCheckedBaggageDetails

public java.util.List<AirCheckIn.BaggageInfo.CheckedBaggageDetails> getCheckedBaggageDetails()
Get the list of 'CheckedBaggageDetails' element items.

Returns:
list

setCheckedBaggageDetails

public void setCheckedBaggageDetails(java.util.List<AirCheckIn.BaggageInfo.CheckedBaggageDetails> list)
Set the list of 'CheckedBaggageDetails' element items.

Parameters:
list -

sizeCheckedBaggageDetails

public int sizeCheckedBaggageDetails()
Get the number of 'CheckedBaggageDetails' element items.

Returns:
count

addCheckedBaggageDetail

public void addCheckedBaggageDetail(AirCheckIn.BaggageInfo.CheckedBaggageDetails item)
Add a 'CheckedBaggageDetails' element item.

Parameters:
item -

getCheckedBaggageDetail

public AirCheckIn.BaggageInfo.CheckedBaggageDetails getCheckedBaggageDetail(int index)
Get 'CheckedBaggageDetails' element item by position.

Parameters:
index -
Returns:
item

clearCheckedBaggageDetails

public void clearCheckedBaggageDetails()
Remove all 'CheckedBaggageDetails' element items.


getCheckedBagWeightTotal

public UnitsOfMeasureGroup getCheckedBagWeightTotal()
Get the 'UnitsOfMeasureGroup' attributeGroup value. Specifies the total weight of checked baggage for a specific passenger or baggage pool.

Returns:
value

setCheckedBagWeightTotal

public void setCheckedBagWeightTotal(UnitsOfMeasureGroup checkedBagWeightTotal)
Set the 'UnitsOfMeasureGroup' attributeGroup value. Specifies the total weight of checked baggage for a specific passenger or baggage pool.

Parameters:
checkedBagWeightTotal -

getHandBagWeightTotal

public UnitsOfMeasureGroup getHandBagWeightTotal()
Get the 'UnitsOfMeasureGroup' attributeGroup value. Specifies the total weight of hand baggage for a specific passenger or baggage pool.

Returns:
value

setHandBagWeightTotal

public void setHandBagWeightTotal(UnitsOfMeasureGroup handBagWeightTotal)
Set the 'UnitsOfMeasureGroup' attributeGroup value. Specifies the total weight of hand baggage for a specific passenger or baggage pool.

Parameters:
handBagWeightTotal -

getPassengerRPH

public java.lang.String getPassengerRPH()
Get the 'PassengerRPH' attribute value. Identifies the passenger under whose name the bags are checked.

Returns:
value

setPassengerRPH

public void setPassengerRPH(java.lang.String passengerRPH)
Set the 'PassengerRPH' attribute value. Identifies the passenger under whose name the bags are checked.

Parameters:
passengerRPH -

getCheckedBagCountTotal

public java.lang.Integer getCheckedBagCountTotal()
Get the 'CheckedBagCountTotal' attribute value. Total number of bags checked for this passenger or baggage pool.

Returns:
value

setCheckedBagCountTotal

public void setCheckedBagCountTotal(java.lang.Integer checkedBagCountTotal)
Set the 'CheckedBagCountTotal' attribute value. Total number of bags checked for this passenger or baggage pool.

Parameters:
checkedBagCountTotal -

getHandBagCountTotal

public java.lang.Integer getHandBagCountTotal()
Get the 'HandBagCountTotal' attribute value. Total number of hand bags carried on by this passenger or baggage pool.

Returns:
value

setHandBagCountTotal

public void setHandBagCountTotal(java.lang.Integer handBagCountTotal)
Set the 'HandBagCountTotal' attribute value. Total number of hand bags carried on by this passenger or baggage pool.

Parameters:
handBagCountTotal -

getHeadOfBaggagePoolInd

public java.lang.Boolean getHeadOfBaggagePoolInd()
Get the 'HeadOfBaggagePoolInd' attribute value. Identifies whether the passenger associated with this baggage is the head of a baggage pool. If true, the passenger is head of a baggage pool.

Returns:
value

setHeadOfBaggagePoolInd

public void setHeadOfBaggagePoolInd(java.lang.Boolean headOfBaggagePoolInd)
Set the 'HeadOfBaggagePoolInd' attribute value. Identifies whether the passenger associated with this baggage is the head of a baggage pool. If true, the passenger is head of a baggage pool.

Parameters:
headOfBaggagePoolInd -