org.ota.vehicle
Class RateNotifRQ.Rate.PointOfSaleRestriction

java.lang.Object
  extended by org.ota.vehicle.RateNotifRQ.Rate.PointOfSaleRestriction
Enclosing class:
RateNotifRQ.Rate

public static class RateNotifRQ.Rate.PointOfSaleRestriction
extends java.lang.Object

Identifies the points of sale that are allowed or excluded from selling this rate. By default all markets can sell this rate. 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="PointOfSaleRestriction" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0" maxOccurs="99"/>
       <xs:element type="ns:LocationGeneralType" name="Location" minOccurs="0" maxOccurs="99"/>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="ExcludeInd"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
RateNotifRQ.Rate.PointOfSaleRestriction()
           
 
Method Summary
 void addLocation(LocationGeneral item)
          Add a 'Location' element item.
 void addUniqueID(UniqueID item)
          Add a 'UniqueID' element item.
 void clearLocations()
          Remove all 'Location' element items.
 void clearUniqueIDs()
          Remove all 'UniqueID' element items.
 java.lang.Boolean getExcludeInd()
          Get the 'ExcludeInd' attribute value.
 LocationGeneral getLocation(int index)
          Get 'Location' element item by position.
 java.util.List<LocationGeneral> getLocations()
          Get the list of 'Location' element items.
 UniqueID getUniqueID(int index)
          Get 'UniqueID' element item by position.
 java.util.List<UniqueID> getUniqueIDs()
          Get the list of 'UniqueID' element items.
 void setExcludeInd(java.lang.Boolean excludeInd)
          Set the 'ExcludeInd' attribute value.
 void setLocations(java.util.List<LocationGeneral> list)
          Set the list of 'Location' element items.
 void setUniqueIDs(java.util.List<UniqueID> list)
          Set the list of 'UniqueID' element items.
 int sizeLocations()
          Get the number of 'Location' element items.
 int sizeUniqueIDs()
          Get the number of 'UniqueID' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RateNotifRQ.Rate.PointOfSaleRestriction

public RateNotifRQ.Rate.PointOfSaleRestriction()
Method Detail

getUniqueIDs

public java.util.List<UniqueID> getUniqueIDs()
Get the list of 'UniqueID' element items. Identifies which IATA numbers are covered by this restriction.

Returns:
list

setUniqueIDs

public void setUniqueIDs(java.util.List<UniqueID> list)
Set the list of 'UniqueID' element items. Identifies which IATA numbers are covered by this restriction.

Parameters:
list -

sizeUniqueIDs

public int sizeUniqueIDs()
Get the number of 'UniqueID' element items.

Returns:
count

addUniqueID

public void addUniqueID(UniqueID item)
Add a 'UniqueID' element item.

Parameters:
item -

getUniqueID

public UniqueID getUniqueID(int index)
Get 'UniqueID' element item by position.

Parameters:
index -
Returns:
item

clearUniqueIDs

public void clearUniqueIDs()
Remove all 'UniqueID' element items.


getLocations

public java.util.List<LocationGeneral> getLocations()
Get the list of 'Location' element items. Identifies which locations are covered by this restriction.

Returns:
list

setLocations

public void setLocations(java.util.List<LocationGeneral> list)
Set the list of 'Location' element items. Identifies which locations are covered by this restriction.

Parameters:
list -

sizeLocations

public int sizeLocations()
Get the number of 'Location' element items.

Returns:
count

addLocation

public void addLocation(LocationGeneral item)
Add a 'Location' element item.

Parameters:
item -

getLocation

public LocationGeneral getLocation(int index)
Get 'Location' element item by position.

Parameters:
index -
Returns:
item

clearLocations

public void clearLocations()
Remove all 'Location' element items.


getExcludeInd

public java.lang.Boolean getExcludeInd()
Get the 'ExcludeInd' attribute value. When true, these points of sale are excluded from selling this rate. false

Returns:
value

setExcludeInd

public void setExcludeInd(java.lang.Boolean excludeInd)
Set the 'ExcludeInd' attribute value. When true, these points of sale are excluded from selling this rate. false

Parameters:
excludeInd -