org.ota.cruise
Class SailingInfo.SelectedSailing

java.lang.Object
  extended by org.ota.cruise.SailingInfo.SelectedSailing
Enclosing class:
SailingInfo

public static class SailingInfo.SelectedSailing
extends java.lang.Object

Contains information related to the selected sailing. 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="SelectedSailing" minOccurs="0">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:SailingBaseType">
         <xs:attribute type="xs:string" use="optional" name="VoyageID"/>
         <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
         <xs:attribute type="xs:string" use="optional" name="Status"/>
         <xs:attribute type="xs:int" use="optional" name="PortsOfCallQuantity"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SailingBaseType">
   <xs:sequence>
     <xs:element name="CruiseLine">
       <xs:complexType>
         <xs:attributeGroup ref="ns:ShipReferenceGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="Region" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:RegionGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="DeparturePort" minOccurs="0">
       <!-- Reference to inner class DeparturePort -->
     </xs:element>
     <xs:element name="ArrivalPort" minOccurs="0">
       <!-- Reference to inner class ArrivalPort -->
     </xs:element>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="ListOfSailingDescriptionCode"/>
 </xs:complexType>
 


Nested Class Summary
static class SailingInfo.SelectedSailing.ArrivalPort
          Contains cruise arrival port information.
static class SailingInfo.SelectedSailing.DeparturePort
          Contains cruise departure port information.
 
Constructor Summary
SailingInfo.SelectedSailing()
           
 
Method Summary
 SailingInfo.SelectedSailing.ArrivalPort getArrivalPort()
          Get the 'ArrivalPort' element value.
 ShipReferenceGroup getCruiseLine()
          Get the 'ShipReferenceGroup' attributeGroup value.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 SailingInfo.SelectedSailing.DeparturePort getDeparturePort()
          Get the 'DeparturePort' element value.
 java.lang.String getListOfSailingDescriptionCode()
          Get the 'ListOfSailingDescriptionCode' attribute value.
 java.lang.Integer getPortsOfCallQuantity()
          Get the 'PortsOfCallQuantity' attribute value.
 RegionGroup getRegion()
          Get the 'RegionGroup' attributeGroup value.
 java.lang.String getStatus()
          Get the 'Status' attribute value.
 java.lang.String getVoyageID()
          Get the 'VoyageID' attribute value.
 void setArrivalPort(SailingInfo.SelectedSailing.ArrivalPort arrivalPort)
          Set the 'ArrivalPort' element value.
 void setCruiseLine(ShipReferenceGroup cruiseLine)
          Set the 'ShipReferenceGroup' attributeGroup value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setDeparturePort(SailingInfo.SelectedSailing.DeparturePort departurePort)
          Set the 'DeparturePort' element value.
 void setListOfSailingDescriptionCode(java.lang.String listOfSailingDescriptionCode)
          Set the 'ListOfSailingDescriptionCode' attribute value.
 void setPortsOfCallQuantity(java.lang.Integer portsOfCallQuantity)
          Set the 'PortsOfCallQuantity' attribute value.
 void setRegion(RegionGroup region)
          Set the 'RegionGroup' attributeGroup value.
 void setStatus(java.lang.String status)
          Set the 'Status' attribute value.
 void setVoyageID(java.lang.String voyageID)
          Set the 'VoyageID' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SailingInfo.SelectedSailing

public SailingInfo.SelectedSailing()
Method Detail

getCruiseLine

public ShipReferenceGroup getCruiseLine()
Get the 'ShipReferenceGroup' attributeGroup value. Contains cruise line specific information.

Returns:
value

setCruiseLine

public void setCruiseLine(ShipReferenceGroup cruiseLine)
Set the 'ShipReferenceGroup' attributeGroup value. Contains cruise line specific information.

Parameters:
cruiseLine -

getRegion

public RegionGroup getRegion()
Get the 'RegionGroup' attributeGroup value. Contains region specific information.

Returns:
value

setRegion

public void setRegion(RegionGroup region)
Set the 'RegionGroup' attributeGroup value. Contains region specific information.

Parameters:
region -

getDeparturePort

public SailingInfo.SelectedSailing.DeparturePort getDeparturePort()
Get the 'DeparturePort' element value. Defines base sailing information.

Returns:
value

setDeparturePort

public void setDeparturePort(SailingInfo.SelectedSailing.DeparturePort departurePort)
Set the 'DeparturePort' element value. Defines base sailing information.

Parameters:
departurePort -

getArrivalPort

public SailingInfo.SelectedSailing.ArrivalPort getArrivalPort()
Get the 'ArrivalPort' element value. Defines base sailing information.

Returns:
value

setArrivalPort

public void setArrivalPort(SailingInfo.SelectedSailing.ArrivalPort arrivalPort)
Set the 'ArrivalPort' element value. Defines base sailing information.

Parameters:
arrivalPort -

getListOfSailingDescriptionCode

public java.lang.String getListOfSailingDescriptionCode()
Get the 'ListOfSailingDescriptionCode' attribute value. Different qualifiers of the sailing (e.g., groups exist on this sailing; inclusive packages available; or no itinerary description available). Refer to OpenTravel Code Table Sailing Description Code (SAI).

Returns:
value

setListOfSailingDescriptionCode

public void setListOfSailingDescriptionCode(java.lang.String listOfSailingDescriptionCode)
Set the 'ListOfSailingDescriptionCode' attribute value. Different qualifiers of the sailing (e.g., groups exist on this sailing; inclusive packages available; or no itinerary description available). Refer to OpenTravel Code Table Sailing Description Code (SAI).

Parameters:
listOfSailingDescriptionCode -

getVoyageID

public java.lang.String getVoyageID()
Get the 'VoyageID' attribute value. Specifies the cruise line unique identifier for a particular sailing.

Returns:
value

setVoyageID

public void setVoyageID(java.lang.String voyageID)
Set the 'VoyageID' attribute value. Specifies the cruise line unique identifier for a particular sailing.

Parameters:
voyageID -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value.

Parameters:
dateTimeSpanGroup -

getStatus

public java.lang.String getStatus()
Get the 'Status' attribute value. Specifies the status of the voyage. Refer to OpenTravel Code table Status (STS).

Returns:
value

setStatus

public void setStatus(java.lang.String status)
Set the 'Status' attribute value. Specifies the status of the voyage. Refer to OpenTravel Code table Status (STS).

Parameters:
status -

getPortsOfCallQuantity

public java.lang.Integer getPortsOfCallQuantity()
Get the 'PortsOfCallQuantity' attribute value. Number of ports of call that the specific sailing has.

Returns:
value

setPortsOfCallQuantity

public void setPortsOfCallQuantity(java.lang.Integer portsOfCallQuantity)
Set the 'PortsOfCallQuantity' attribute value. Number of ports of call that the specific sailing has.

Parameters:
portsOfCallQuantity -