org.ota.vehicle
Class LocDetailsNotifRQ.LocationDetail.ShuttleInfo

java.lang.Object
  extended by org.ota.vehicle.LocDetailsNotifRQ.LocationDetail.ShuttleInfo
Enclosing class:
LocDetailsNotifRQ.LocationDetail

public static class LocDetailsNotifRQ.LocationDetail.ShuttleInfo
extends java.lang.Object

The shuttle information for this location. 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="ShuttleInfo" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="ShuttleDesc" minOccurs="0" maxOccurs="6">
         <!-- Reference to inner class ShuttleDesc -->
       </xs:element>
     </xs:sequence>
     <xs:attribute use="optional" name="Type">
       <xs:simpleType>
         <!-- Reference to inner class Type -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
     <xs:attribute type="ns:ActionType" use="optional" name="Action"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class LocDetailsNotifRQ.LocationDetail.ShuttleInfo.ShuttleDesc
          The type of shuttle information and a description.
static class LocDetailsNotifRQ.LocationDetail.ShuttleInfo.Type
          Schema fragment(s) for this class:
 
Constructor Summary
LocDetailsNotifRQ.LocationDetail.ShuttleInfo()
           
 
Method Summary
 void addShuttleDesc(LocDetailsNotifRQ.LocationDetail.ShuttleInfo.ShuttleDesc item)
          Add a 'ShuttleDesc' element item.
 void clearShuttleDescs()
          Remove all 'ShuttleDesc' element items.
 Action getAction()
          Get the 'Action' attribute value.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 LocDetailsNotifRQ.LocationDetail.ShuttleInfo.ShuttleDesc getShuttleDesc(int index)
          Get 'ShuttleDesc' element item by position.
 java.util.List<LocDetailsNotifRQ.LocationDetail.ShuttleInfo.ShuttleDesc> getShuttleDescs()
          Get the list of 'ShuttleDesc' element items.
 LocDetailsNotifRQ.LocationDetail.ShuttleInfo.Type getType()
          Get the 'Type' attribute value.
 void setAction(Action action)
          Set the 'Action' attribute value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setShuttleDescs(java.util.List<LocDetailsNotifRQ.LocationDetail.ShuttleInfo.ShuttleDesc> list)
          Set the list of 'ShuttleDesc' element items.
 void setType(LocDetailsNotifRQ.LocationDetail.ShuttleInfo.Type type)
          Set the 'Type' attribute value.
 int sizeShuttleDescs()
          Get the number of 'ShuttleDesc' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocDetailsNotifRQ.LocationDetail.ShuttleInfo

public LocDetailsNotifRQ.LocationDetail.ShuttleInfo()
Method Detail

getShuttleDescs

public java.util.List<LocDetailsNotifRQ.LocationDetail.ShuttleInfo.ShuttleDesc> getShuttleDescs()
Get the list of 'ShuttleDesc' element items.

Returns:
list

setShuttleDescs

public void setShuttleDescs(java.util.List<LocDetailsNotifRQ.LocationDetail.ShuttleInfo.ShuttleDesc> list)
Set the list of 'ShuttleDesc' element items.

Parameters:
list -

sizeShuttleDescs

public int sizeShuttleDescs()
Get the number of 'ShuttleDesc' element items.

Returns:
count

addShuttleDesc

public void addShuttleDesc(LocDetailsNotifRQ.LocationDetail.ShuttleInfo.ShuttleDesc item)
Add a 'ShuttleDesc' element item.

Parameters:
item -

getShuttleDesc

public LocDetailsNotifRQ.LocationDetail.ShuttleInfo.ShuttleDesc getShuttleDesc(int index)
Get 'ShuttleDesc' element item by position.

Parameters:
index -
Returns:
item

clearShuttleDescs

public void clearShuttleDescs()
Remove all 'ShuttleDesc' element items.


getType

public LocDetailsNotifRQ.LocationDetail.ShuttleInfo.Type getType()
Get the 'Type' attribute value. Identifies the type of shuttle information.

Returns:
value

setType

public void setType(LocDetailsNotifRQ.LocationDetail.ShuttleInfo.Type type)
Set the 'Type' attribute value. Identifies the type of shuttle information.

Parameters:
type -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. The effective and discontinue dates for the shuttle information.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. The effective and discontinue dates for the shuttle information.

Parameters:
dateTimeSpanGroup -

getAction

public Action getAction()
Get the 'Action' attribute value. To specify if the action to be taken is a replacement, addition, deletion, or update.

Returns:
value

setAction

public void setAction(Action action)
Set the 'Action' attribute value. To specify if the action to be taken is a replacement, addition, deletion, or update.

Parameters:
action -