|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.vehicle.VehicleLocationRequirements.Age
public static class VehicleLocationRequirements.Age
Information associated with the age requirements of renting a vehicle. 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="Age" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="AgeSurcharge" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class AgeSurcharge --> </xs:element> <xs:element name="AgeInfos" minOccurs="0"> <!-- Reference to inner class AgeInfos --> </xs:element> </xs:sequence> <xs:attribute type="xs:string" use="optional" name="MinimumAge"/> <xs:attribute type="xs:string" use="optional" name="MaximumAge"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
VehicleLocationRequirements.Age.AgeInfos
Collection of descriptions about the different requirements related to age of driver Schema fragment(s) for this class: |
static class |
VehicleLocationRequirements.Age.AgeSurcharge
Surcharge information that may be applied based upon age of the renter. |
Constructor Summary | |
---|---|
VehicleLocationRequirements.Age()
|
Method Summary | |
---|---|
void |
addAgeSurcharge(VehicleLocationRequirements.Age.AgeSurcharge item)
Add a 'AgeSurcharge' element item. |
void |
clearAgeSurcharges()
Remove all 'AgeSurcharge' element items. |
VehicleLocationRequirements.Age.AgeInfos |
getAgeInfos()
Get the 'AgeInfos' element value. |
VehicleLocationRequirements.Age.AgeSurcharge |
getAgeSurcharge(int index)
Get 'AgeSurcharge' element item by position. |
java.util.List<VehicleLocationRequirements.Age.AgeSurcharge> |
getAgeSurcharges()
Get the list of 'AgeSurcharge' element items. |
java.lang.String |
getMaximumAge()
Get the 'MaximumAge' attribute value. |
java.lang.String |
getMinimumAge()
Get the 'MinimumAge' attribute value. |
void |
setAgeInfos(VehicleLocationRequirements.Age.AgeInfos ageInfos)
Set the 'AgeInfos' element value. |
void |
setAgeSurcharges(java.util.List<VehicleLocationRequirements.Age.AgeSurcharge> list)
Set the list of 'AgeSurcharge' element items. |
void |
setMaximumAge(java.lang.String maximumAge)
Set the 'MaximumAge' attribute value. |
void |
setMinimumAge(java.lang.String minimumAge)
Set the 'MinimumAge' attribute value. |
int |
sizeAgeSurcharges()
Get the number of 'AgeSurcharge' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VehicleLocationRequirements.Age()
Method Detail |
---|
public java.util.List<VehicleLocationRequirements.Age.AgeSurcharge> getAgeSurcharges()
public void setAgeSurcharges(java.util.List<VehicleLocationRequirements.Age.AgeSurcharge> list)
list
- public int sizeAgeSurcharges()
public void addAgeSurcharge(VehicleLocationRequirements.Age.AgeSurcharge item)
item
- public VehicleLocationRequirements.Age.AgeSurcharge getAgeSurcharge(int index)
index
-
public void clearAgeSurcharges()
public VehicleLocationRequirements.Age.AgeInfos getAgeInfos()
public void setAgeInfos(VehicleLocationRequirements.Age.AgeInfos ageInfos)
ageInfos
- public java.lang.String getMinimumAge()
public void setMinimumAge(java.lang.String minimumAge)
minimumAge
- public java.lang.String getMaximumAge()
public void setMaximumAge(java.lang.String maximumAge)
maximumAge
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |