org.ota.vehicle
Class VehicleMatchedLocation

java.lang.Object
  extended by org.ota.vehicle.VehicleMatchedLocation

public class VehicleMatchedLocation
extends java.lang.Object

Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="VehicleMatchedLocationType">
   <xs:sequence>
     <xs:element type="ns:VehicleLocationDetailsType" name="LocationDetail"/>
     <xs:element type="ns:ItemSearchCriterionType" name="VehLocSearchCriterion" minOccurs="0" maxOccurs="5"/>
   </xs:sequence>
   <xs:attribute type="xs:boolean" use="optional" name="AlternateLocInd"/>
 </xs:complexType>
 


Constructor Summary
VehicleMatchedLocation()
           
 
Method Summary
 void addVehLocSearchCriterion(ItemSearchCriterion item)
          Add a 'VehLocSearchCriterion' element item.
 void clearVehLocSearchCriterions()
          Remove all 'VehLocSearchCriterion' element items.
 java.lang.Boolean getAlternateLocInd()
          Get the 'AlternateLocInd' attribute value.
 VehicleLocationDetails getLocationDetail()
          Get the 'LocationDetail' element value.
 ItemSearchCriterion getVehLocSearchCriterion(int index)
          Get 'VehLocSearchCriterion' element item by position.
 java.util.List<ItemSearchCriterion> getVehLocSearchCriterions()
          Get the list of 'VehLocSearchCriterion' element items.
 void setAlternateLocInd(java.lang.Boolean alternateLocInd)
          Set the 'AlternateLocInd' attribute value.
 void setLocationDetail(VehicleLocationDetails locationDetail)
          Set the 'LocationDetail' element value.
 void setVehLocSearchCriterions(java.util.List<ItemSearchCriterion> list)
          Set the list of 'VehLocSearchCriterion' element items.
 int sizeVehLocSearchCriterions()
          Get the number of 'VehLocSearchCriterion' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleMatchedLocation

public VehicleMatchedLocation()
Method Detail

getLocationDetail

public VehicleLocationDetails getLocationDetail()
Get the 'LocationDetail' element value. Detailed information on a specific vehicle rental location.

Returns:
value

setLocationDetail

public void setLocationDetail(VehicleLocationDetails locationDetail)
Set the 'LocationDetail' element value. Detailed information on a specific vehicle rental location.

Parameters:
locationDetail -

getVehLocSearchCriterions

public java.util.List<ItemSearchCriterion> getVehLocSearchCriterions()
Get the list of 'VehLocSearchCriterion' element items. The search criterion may be echoed to indicate how the location was selected, and to provide a distance from that search location.

Returns:
list

setVehLocSearchCriterions

public void setVehLocSearchCriterions(java.util.List<ItemSearchCriterion> list)
Set the list of 'VehLocSearchCriterion' element items. The search criterion may be echoed to indicate how the location was selected, and to provide a distance from that search location.

Parameters:
list -

sizeVehLocSearchCriterions

public int sizeVehLocSearchCriterions()
Get the number of 'VehLocSearchCriterion' element items.

Returns:
count

addVehLocSearchCriterion

public void addVehLocSearchCriterion(ItemSearchCriterion item)
Add a 'VehLocSearchCriterion' element item.

Parameters:
item -

getVehLocSearchCriterion

public ItemSearchCriterion getVehLocSearchCriterion(int index)
Get 'VehLocSearchCriterion' element item by position.

Parameters:
index -
Returns:
item

clearVehLocSearchCriterions

public void clearVehLocSearchCriterions()
Remove all 'VehLocSearchCriterion' element items.


getAlternateLocInd

public java.lang.Boolean getAlternateLocInd()
Get the 'AlternateLocInd' attribute value. When true, the location being returned is an alternate location to what was initially requested.

Returns:
value

setAlternateLocInd

public void setAlternateLocInd(java.lang.Boolean alternateLocInd)
Set the 'AlternateLocInd' attribute value. When true, the location being returned is an alternate location to what was initially requested.

Parameters:
alternateLocInd -