org.ota.hotel
Class Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation

java.lang.Object
  extended by org.ota.hotel.Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation
Enclosing class:
Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations

public static class Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation
extends java.lang.Object

Transportation information for an off-site function. 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="OffSiteTransportation" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Location" minOccurs="0" maxOccurs="9">
         <!-- Reference to inner class Location -->
       </xs:element>
       <xs:element name="Comments" minOccurs="0">
         <!-- Reference to inner class Comments -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:ProviderGroup"/>
     <xs:attribute type="xs:string" use="optional" name="FunctionName"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation.Comments
          A collection of comments associated with the transportation.
static class Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation.Location
          Location information for a departure, drop-off, or return.
 
Constructor Summary
Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation()
           
 
Method Summary
 void addLocation(Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation.Location item)
          Add a 'Location' element item.
 void clearLocations()
          Remove all 'Location' element items.
 Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation.Comments getComments()
          Get the 'Comments' element value.
 java.lang.String getFunctionName()
          Get the 'FunctionName' attribute value.
 Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation.Location getLocation(int index)
          Get 'Location' element item by position.
 java.util.List<Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation.Location> getLocations()
          Get the list of 'Location' element items.
 ProviderGroup getProviderGroup()
          Get the 'ProviderGroup' attributeGroup value.
 void setComments(Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation.Comments comments)
          Set the 'Comments' element value.
 void setFunctionName(java.lang.String functionName)
          Set the 'FunctionName' attribute value.
 void setLocations(java.util.List<Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation.Location> list)
          Set the list of 'Location' element items.
 void setProviderGroup(ProviderGroup providerGroup)
          Set the 'ProviderGroup' attributeGroup value.
 int sizeLocations()
          Get the number of 'Location' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation

public Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation()
Method Detail

getLocations

public java.util.List<Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation.Location> getLocations()
Get the list of 'Location' element items.

Returns:
list

setLocations

public void setLocations(java.util.List<Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation.Location> list)
Set the list of 'Location' element items.

Parameters:
list -

sizeLocations

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

Returns:
count

addLocation

public void addLocation(Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation.Location item)
Add a 'Location' element item.

Parameters:
item -

getLocation

public Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation.Location getLocation(int index)
Get 'Location' element item by position.

Parameters:
index -
Returns:
item

clearLocations

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


getComments

public Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation.Comments getComments()
Get the 'Comments' element value.

Returns:
value

setComments

public void setComments(Event.EventInner.Sites.Site.EventDays.EventDay.OffSiteTransportations.OffSiteTransportation.Comments comments)
Set the 'Comments' element value.

Parameters:
comments -

getProviderGroup

public ProviderGroup getProviderGroup()
Get the 'ProviderGroup' attributeGroup value. Identifies the company providing the transportation.

Returns:
value

setProviderGroup

public void setProviderGroup(ProviderGroup providerGroup)
Set the 'ProviderGroup' attributeGroup value. Identifies the company providing the transportation.

Parameters:
providerGroup -

getFunctionName

public java.lang.String getFunctionName()
Get the 'FunctionName' attribute value. The name of the off-site function.

Returns:
value

setFunctionName

public void setFunctionName(java.lang.String functionName)
Set the 'FunctionName' attribute value. The name of the off-site function.

Parameters:
functionName -