org.ota.cruise
Class ShipReferenceGroup

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

public class ShipReferenceGroup
extends java.lang.Object

Specifies a vendor and ship. 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="ShipReferenceGroup">
   <xs:attribute type="xs:string" use="optional" name="VendorCode"/>
   <xs:attribute type="xs:string" use="optional" name="VendorName"/>
   <xs:attribute type="xs:string" use="optional" name="ShipCode"/>
   <xs:attribute type="xs:string" use="optional" name="ShipName"/>
   <xs:attribute type="xs:string" use="optional" name="VendorCodeContext"/>
 </xs:attributeGroup>
 


Constructor Summary
ShipReferenceGroup()
           
 
Method Summary
 java.lang.String getShipCode()
          Get the 'ShipCode' attribute value.
 java.lang.String getShipName()
          Get the 'ShipName' attribute value.
 java.lang.String getVendorCode()
          Get the 'VendorCode' attribute value.
 java.lang.String getVendorCodeContext()
          Get the 'VendorCodeContext' attribute value.
 java.lang.String getVendorName()
          Get the 'VendorName' attribute value.
 void setShipCode(java.lang.String shipCode)
          Set the 'ShipCode' attribute value.
 void setShipName(java.lang.String shipName)
          Set the 'ShipName' attribute value.
 void setVendorCode(java.lang.String vendorCode)
          Set the 'VendorCode' attribute value.
 void setVendorCodeContext(java.lang.String vendorCodeContext)
          Set the 'VendorCodeContext' attribute value.
 void setVendorName(java.lang.String vendorName)
          Set the 'VendorName' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShipReferenceGroup

public ShipReferenceGroup()
Method Detail

getVendorCode

public java.lang.String getVendorCode()
Get the 'VendorCode' attribute value. Specifies the operator of the ship (e.g. cruise line or ferry company).

Returns:
value

setVendorCode

public void setVendorCode(java.lang.String vendorCode)
Set the 'VendorCode' attribute value. Specifies the operator of the ship (e.g. cruise line or ferry company).

Parameters:
vendorCode -

getVendorName

public java.lang.String getVendorName()
Get the 'VendorName' attribute value. Specifies the name of the operator of the ship (e.g. a cruise line or ferry company).

Returns:
value

setVendorName

public void setVendorName(java.lang.String vendorName)
Set the 'VendorName' attribute value. Specifies the name of the operator of the ship (e.g. a cruise line or ferry company).

Parameters:
vendorName -

getShipCode

public java.lang.String getShipCode()
Get the 'ShipCode' attribute value. Specifies the ship code as defined by the cruise line.

Returns:
value

setShipCode

public void setShipCode(java.lang.String shipCode)
Set the 'ShipCode' attribute value. Specifies the ship code as defined by the cruise line.

Parameters:
shipCode -

getShipName

public java.lang.String getShipName()
Get the 'ShipName' attribute value. Specifies the ship name as specified by the cruise line.

Returns:
value

setShipName

public void setShipName(java.lang.String shipName)
Set the 'ShipName' attribute value. Specifies the ship name as specified by the cruise line.

Parameters:
shipName -

getVendorCodeContext

public java.lang.String getVendorCodeContext()
Get the 'VendorCodeContext' attribute value. Identifies the source authority for the code (e.g., IATA); typically used with VendorCode.

Returns:
value

setVendorCodeContext

public void setVendorCodeContext(java.lang.String vendorCodeContext)
Set the 'VendorCodeContext' attribute value. Identifies the source authority for the code (e.g., IATA); typically used with VendorCode.

Parameters:
vendorCodeContext -