org.ota.cruise
Class CruisePackage.Location

java.lang.Object
  extended by org.ota.shared.LocationGeneral
      extended by org.ota.cruise.CruisePackage.Location
Enclosing class:
CruisePackage

public static class CruisePackage.Location
extends LocationGeneral

Specifies the activity location (e.g., port city for excursion, bus stop for transfer). 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="Location" minOccurs="0" maxOccurs="16">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:LocationGeneralType">
         <xs:sequence>
           <xs:element type="ns:ParagraphType" name="Information" minOccurs="0"/>
         </xs:sequence>
         <xs:attributeGroup ref="ns:LocationGroup"/>
         <xs:attribute type="xs:string" use="optional" name="LocationName"/>
         <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
CruisePackage.Location()
           
 
Method Summary
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 Paragraph getInformation()
          Get the 'Information' element value.
 LocationGroup getLocationGroup()
          Get the 'LocationGroup' attributeGroup value.
 java.lang.String getLocationName()
          Get the 'LocationName' attribute value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setInformation(Paragraph information)
          Set the 'Information' element value.
 void setLocationGroup(LocationGroup locationGroup)
          Set the 'LocationGroup' attributeGroup value.
 void setLocationName(java.lang.String locationName)
          Set the 'LocationName' attribute value.
 
Methods inherited from class org.ota.shared.LocationGeneral
getCityName, getCountryName, getStateProv, setCityName, setCountryName, setStateProv
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CruisePackage.Location

public CruisePackage.Location()
Method Detail

getInformation

public Paragraph getInformation()
Get the 'Information' element value. Provides additional information pertaining to the location or cruise package.

Returns:
value

setInformation

public void setInformation(Paragraph information)
Set the 'Information' element value. Provides additional information pertaining to the location or cruise package.

Parameters:
information -

getLocationGroup

public LocationGroup getLocationGroup()
Get the 'LocationGroup' attributeGroup value.

Returns:
value

setLocationGroup

public void setLocationGroup(LocationGroup locationGroup)
Set the 'LocationGroup' attributeGroup value.

Parameters:
locationGroup -

getLocationName

public java.lang.String getLocationName()
Get the 'LocationName' attribute value. Specifies the full name of the port city

Returns:
value

setLocationName

public void setLocationName(java.lang.String locationName)
Set the 'LocationName' attribute value. Specifies the full name of the port city

Parameters:
locationName -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. Period of time for which you'll be at a particular location. Typically when a hotel, this is the check-in date and time and check-out date and time or if this is a bus stop, it will be the date and time of pick-up and date and time for drop-off .

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. Period of time for which you'll be at a particular location. Typically when a hotel, this is the check-in date and time and check-out date and time or if this is a bus stop, it will be the date and time of pick-up and date and time for drop-off .

Parameters:
dateTimeSpanGroup -