org.ota.cruise
Class SelectedSailingGroup

java.lang.Object
  extended by org.ota.cruise.SelectedSailingGroup

public class SelectedSailingGroup
extends java.lang.Object

Identifies a specific sailing by voyage number, dates, and/or cruise line information. Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SelectedSailingGroup">
   <xs:attribute type="xs:string" use="optional" name="VoyageID"/>
   <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
   <xs:attributeGroup ref="ns:ShipReferenceGroup"/>
   <xs:attribute type="xs:string" use="optional" name="Status"/>
 </xs:attributeGroup>
 


Constructor Summary
SelectedSailingGroup()
           
 
Method Summary
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 ShipReferenceGroup getShipReferenceGroup()
          Get the 'ShipReferenceGroup' attributeGroup value.
 java.lang.String getStatus()
          Get the 'Status' attribute value.
 java.lang.String getVoyageID()
          Get the 'VoyageID' attribute value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setShipReferenceGroup(ShipReferenceGroup shipReferenceGroup)
          Set the 'ShipReferenceGroup' 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

SelectedSailingGroup

public SelectedSailingGroup()
Method Detail

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. Specifies the time interval for the sailing.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. Specifies the time interval for the sailing.

Parameters:
dateTimeSpanGroup -

getShipReferenceGroup

public ShipReferenceGroup getShipReferenceGroup()
Get the 'ShipReferenceGroup' attributeGroup value. Specifies the ship information for the sailing.

Returns:
value

setShipReferenceGroup

public void setShipReferenceGroup(ShipReferenceGroup shipReferenceGroup)
Set the 'ShipReferenceGroup' attributeGroup value. Specifies the ship information for the sailing.

Parameters:
shipReferenceGroup -

getStatus

public java.lang.String getStatus()
Get the 'Status' attribute value. Provides 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. Provides the status of the voyage. Refer to OpenTravel Code table Status (STS).

Parameters:
status -