org.ota.cruise
Class InfoRS.Information.ShipInfo.Ship

java.lang.Object
  extended by org.ota.cruise.InfoRS.Information.ShipInfo.Ship
Enclosing class:
InfoRS.Information.ShipInfo

public static class InfoRS.Information.ShipInfo.Ship
extends java.lang.Object

Defines the ship details. 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="Ship" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:boolean" use="optional" name="StabilizedIndicator"/>
     <xs:attribute type="xs:string" use="optional" name="RegistrationCountryCode"/>
     <xs:attribute type="xs:int" use="optional" name="RestaurantQuantity"/>
     <xs:attribute type="xs:int" use="optional" name="ElevatorQuantity"/>
     <xs:attribute type="xs:string" use="optional" name="MaxCrewQuantity"/>
     <xs:attribute type="xs:string" use="optional" name="MaxGuestQuantity"/>
     <xs:attribute type="xs:float" use="optional" name="CruisingSpeed"/>
     <xs:attribute type="xs:float" use="optional" name="MaxSpeed"/>
     <xs:attribute type="xs:int" use="optional" name="InsideCabinQuantity"/>
     <xs:attribute type="xs:int" use="optional" name="OutsideCabinQuantity"/>
     <xs:attribute type="xs:date" use="optional" name="InauguralDate"/>
     <xs:attribute type="xs:date" use="optional" name="RefurbishedDate"/>
     <xs:attribute type="xs:date" use="optional" name="BuiltDate"/>
     <xs:attribute type="xs:date" use="optional" name="NextRefurbishDate"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
InfoRS.Information.ShipInfo.Ship()
           
 
Method Summary
 java.sql.Date getBuiltDate()
          Get the 'BuiltDate' attribute value.
 java.lang.Float getCruisingSpeed()
          Get the 'CruisingSpeed' attribute value.
 java.lang.Integer getElevatorQuantity()
          Get the 'ElevatorQuantity' attribute value.
 java.sql.Date getInauguralDate()
          Get the 'InauguralDate' attribute value.
 java.lang.Integer getInsideCabinQuantity()
          Get the 'InsideCabinQuantity' attribute value.
 java.lang.String getMaxCrewQuantity()
          Get the 'MaxCrewQuantity' attribute value.
 java.lang.String getMaxGuestQuantity()
          Get the 'MaxGuestQuantity' attribute value.
 java.lang.Float getMaxSpeed()
          Get the 'MaxSpeed' attribute value.
 java.sql.Date getNextRefurbishDate()
          Get the 'NextRefurbishDate' attribute value.
 java.lang.Integer getOutsideCabinQuantity()
          Get the 'OutsideCabinQuantity' attribute value.
 java.sql.Date getRefurbishedDate()
          Get the 'RefurbishedDate' attribute value.
 java.lang.String getRegistrationCountryCode()
          Get the 'RegistrationCountryCode' attribute value.
 java.lang.Integer getRestaurantQuantity()
          Get the 'RestaurantQuantity' attribute value.
 java.lang.Boolean getStabilizedIndicator()
          Get the 'StabilizedIndicator' attribute value.
 void setBuiltDate(java.sql.Date builtDate)
          Set the 'BuiltDate' attribute value.
 void setCruisingSpeed(java.lang.Float cruisingSpeed)
          Set the 'CruisingSpeed' attribute value.
 void setElevatorQuantity(java.lang.Integer elevatorQuantity)
          Set the 'ElevatorQuantity' attribute value.
 void setInauguralDate(java.sql.Date inauguralDate)
          Set the 'InauguralDate' attribute value.
 void setInsideCabinQuantity(java.lang.Integer insideCabinQuantity)
          Set the 'InsideCabinQuantity' attribute value.
 void setMaxCrewQuantity(java.lang.String maxCrewQuantity)
          Set the 'MaxCrewQuantity' attribute value.
 void setMaxGuestQuantity(java.lang.String maxGuestQuantity)
          Set the 'MaxGuestQuantity' attribute value.
 void setMaxSpeed(java.lang.Float maxSpeed)
          Set the 'MaxSpeed' attribute value.
 void setNextRefurbishDate(java.sql.Date nextRefurbishDate)
          Set the 'NextRefurbishDate' attribute value.
 void setOutsideCabinQuantity(java.lang.Integer outsideCabinQuantity)
          Set the 'OutsideCabinQuantity' attribute value.
 void setRefurbishedDate(java.sql.Date refurbishedDate)
          Set the 'RefurbishedDate' attribute value.
 void setRegistrationCountryCode(java.lang.String registrationCountryCode)
          Set the 'RegistrationCountryCode' attribute value.
 void setRestaurantQuantity(java.lang.Integer restaurantQuantity)
          Set the 'RestaurantQuantity' attribute value.
 void setStabilizedIndicator(java.lang.Boolean stabilizedIndicator)
          Set the 'StabilizedIndicator' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoRS.Information.ShipInfo.Ship

public InfoRS.Information.ShipInfo.Ship()
Method Detail

getStabilizedIndicator

public java.lang.Boolean getStabilizedIndicator()
Get the 'StabilizedIndicator' attribute value. When true, the ship is stabilized.

Returns:
value

setStabilizedIndicator

public void setStabilizedIndicator(java.lang.Boolean stabilizedIndicator)
Set the 'StabilizedIndicator' attribute value. When true, the ship is stabilized.

Parameters:
stabilizedIndicator -

getRegistrationCountryCode

public java.lang.String getRegistrationCountryCode()
Get the 'RegistrationCountryCode' attribute value. Identifies the country of registration.

Returns:
value

setRegistrationCountryCode

public void setRegistrationCountryCode(java.lang.String registrationCountryCode)
Set the 'RegistrationCountryCode' attribute value. Identifies the country of registration.

Parameters:
registrationCountryCode -

getRestaurantQuantity

public java.lang.Integer getRestaurantQuantity()
Get the 'RestaurantQuantity' attribute value. The number of restaurants.

Returns:
value

setRestaurantQuantity

public void setRestaurantQuantity(java.lang.Integer restaurantQuantity)
Set the 'RestaurantQuantity' attribute value. The number of restaurants.

Parameters:
restaurantQuantity -

getElevatorQuantity

public java.lang.Integer getElevatorQuantity()
Get the 'ElevatorQuantity' attribute value. The number of elevators.

Returns:
value

setElevatorQuantity

public void setElevatorQuantity(java.lang.Integer elevatorQuantity)
Set the 'ElevatorQuantity' attribute value. The number of elevators.

Parameters:
elevatorQuantity -

getMaxCrewQuantity

public java.lang.String getMaxCrewQuantity()
Get the 'MaxCrewQuantity' attribute value. The maximum number of crew.

Returns:
value

setMaxCrewQuantity

public void setMaxCrewQuantity(java.lang.String maxCrewQuantity)
Set the 'MaxCrewQuantity' attribute value. The maximum number of crew.

Parameters:
maxCrewQuantity -

getMaxGuestQuantity

public java.lang.String getMaxGuestQuantity()
Get the 'MaxGuestQuantity' attribute value. The maximum number of guests.

Returns:
value

setMaxGuestQuantity

public void setMaxGuestQuantity(java.lang.String maxGuestQuantity)
Set the 'MaxGuestQuantity' attribute value. The maximum number of guests.

Parameters:
maxGuestQuantity -

getCruisingSpeed

public java.lang.Float getCruisingSpeed()
Get the 'CruisingSpeed' attribute value. The ship cruising speed in knots.

Returns:
value

setCruisingSpeed

public void setCruisingSpeed(java.lang.Float cruisingSpeed)
Set the 'CruisingSpeed' attribute value. The ship cruising speed in knots.

Parameters:
cruisingSpeed -

getMaxSpeed

public java.lang.Float getMaxSpeed()
Get the 'MaxSpeed' attribute value. The maximum ship speed in knots.

Returns:
value

setMaxSpeed

public void setMaxSpeed(java.lang.Float maxSpeed)
Set the 'MaxSpeed' attribute value. The maximum ship speed in knots.

Parameters:
maxSpeed -

getInsideCabinQuantity

public java.lang.Integer getInsideCabinQuantity()
Get the 'InsideCabinQuantity' attribute value. The number of interior cabins.

Returns:
value

setInsideCabinQuantity

public void setInsideCabinQuantity(java.lang.Integer insideCabinQuantity)
Set the 'InsideCabinQuantity' attribute value. The number of interior cabins.

Parameters:
insideCabinQuantity -

getOutsideCabinQuantity

public java.lang.Integer getOutsideCabinQuantity()
Get the 'OutsideCabinQuantity' attribute value. The number of exterior cabins.

Returns:
value

setOutsideCabinQuantity

public void setOutsideCabinQuantity(java.lang.Integer outsideCabinQuantity)
Set the 'OutsideCabinQuantity' attribute value. The number of exterior cabins.

Parameters:
outsideCabinQuantity -

getInauguralDate

public java.sql.Date getInauguralDate()
Get the 'InauguralDate' attribute value. The date of the ship's first voyage.

Returns:
value

setInauguralDate

public void setInauguralDate(java.sql.Date inauguralDate)
Set the 'InauguralDate' attribute value. The date of the ship's first voyage.

Parameters:
inauguralDate -

getRefurbishedDate

public java.sql.Date getRefurbishedDate()
Get the 'RefurbishedDate' attribute value. Date the ship was last refurbished.

Returns:
value

setRefurbishedDate

public void setRefurbishedDate(java.sql.Date refurbishedDate)
Set the 'RefurbishedDate' attribute value. Date the ship was last refurbished.

Parameters:
refurbishedDate -

getBuiltDate

public java.sql.Date getBuiltDate()
Get the 'BuiltDate' attribute value. The date the ship was built or delivered to the cruiseline.

Returns:
value

setBuiltDate

public void setBuiltDate(java.sql.Date builtDate)
Set the 'BuiltDate' attribute value. The date the ship was built or delivered to the cruiseline.

Parameters:
builtDate -

getNextRefurbishDate

public java.sql.Date getNextRefurbishDate()
Get the 'NextRefurbishDate' attribute value. This is the date the ship is next scheduled to be refurbished.

Returns:
value

setNextRefurbishDate

public void setNextRefurbishDate(java.sql.Date nextRefurbishDate)
Set the 'NextRefurbishDate' attribute value. This is the date the ship is next scheduled to be refurbished.

Parameters:
nextRefurbishDate -