org.ota.vehicle
Class VehicleAgeRequirements.Age.AgeInfos

java.lang.Object
  extended by org.ota.vehicle.VehicleAgeRequirements.Age.AgeInfos
Enclosing class:
VehicleAgeRequirements.Age

public static class VehicleAgeRequirements.Age.AgeInfos
extends java.lang.Object

Collection of descriptions about the different requirements related to age of driver 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="AgeInfos" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="AgeInfo" maxOccurs="99">
         <!-- Reference to inner class AgeInfo -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class VehicleAgeRequirements.Age.AgeInfos.AgeInfo
          Textual description about a specific restriction related to age of driver Schema fragment(s) for this class:
 
Constructor Summary
VehicleAgeRequirements.Age.AgeInfos()
           
 
Method Summary
 void addAgeInfo(VehicleAgeRequirements.Age.AgeInfos.AgeInfo item)
          Add a 'AgeInfo' element item.
 void clearAgeInfos()
          Remove all 'AgeInfo' element items.
 VehicleAgeRequirements.Age.AgeInfos.AgeInfo getAgeInfo(int index)
          Get 'AgeInfo' element item by position.
 java.util.List<VehicleAgeRequirements.Age.AgeInfos.AgeInfo> getAgeInfos()
          Get the list of 'AgeInfo' element items.
 void setAgeInfos(java.util.List<VehicleAgeRequirements.Age.AgeInfos.AgeInfo> list)
          Set the list of 'AgeInfo' element items.
 int sizeAgeInfos()
          Get the number of 'AgeInfo' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleAgeRequirements.Age.AgeInfos

public VehicleAgeRequirements.Age.AgeInfos()
Method Detail

getAgeInfos

public java.util.List<VehicleAgeRequirements.Age.AgeInfos.AgeInfo> getAgeInfos()
Get the list of 'AgeInfo' element items.

Returns:
list

setAgeInfos

public void setAgeInfos(java.util.List<VehicleAgeRequirements.Age.AgeInfos.AgeInfo> list)
Set the list of 'AgeInfo' element items.

Parameters:
list -

sizeAgeInfos

public int sizeAgeInfos()
Get the number of 'AgeInfo' element items.

Returns:
count

addAgeInfo

public void addAgeInfo(VehicleAgeRequirements.Age.AgeInfos.AgeInfo item)
Add a 'AgeInfo' element item.

Parameters:
item -

getAgeInfo

public VehicleAgeRequirements.Age.AgeInfos.AgeInfo getAgeInfo(int index)
Get 'AgeInfo' element item by position.

Parameters:
index -
Returns:
item

clearAgeInfos

public void clearAgeInfos()
Remove all 'AgeInfo' element items.