org.ota.cruise
Class SpecialService

java.lang.Object
  extended by org.ota.cruise.SpecialService
Direct Known Subclasses:
SpecialServiceAvailRS.SpecialServices.SpecialService

public class SpecialService
extends java.lang.Object

Specifies the special service requirements. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SpecialServiceType">
   <xs:sequence>
     <xs:element type="ns:ParagraphType" name="Comment" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="Type"/>
   <xs:attribute type="xs:string" use="optional" name="Code"/>
   <xs:attribute type="xs:string" use="optional" name="CodeName"/>
   <xs:attribute type="xs:string" use="optional" name="CodeDetail"/>
   <xs:attribute use="optional" name="AssociationType">
     <xs:simpleType>
       <!-- Reference to inner class Association -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute type="xs:string" use="optional" name="Date"/>
   <xs:attribute type="xs:string" use="optional" name="NbrOfYears"/>
 </xs:complexType>
 


Nested Class Summary
static class SpecialService.Association
          Schema fragment(s) for this class:
 
Constructor Summary
SpecialService()
           
 
Method Summary
 SpecialService.Association getAssociation()
          Get the 'AssociationType' attribute value.
 java.lang.String getCode()
          Get the 'Code' attribute value.
 java.lang.String getCodeDetail()
          Get the 'CodeDetail' attribute value.
 java.lang.String getCodeName()
          Get the 'CodeName' attribute value.
 Paragraph getComment()
          Get the 'Comment' element value.
 java.lang.String getDate()
          Get the 'Date' attribute value.
 java.lang.String getNbrOfYears()
          Get the 'NbrOfYears' attribute value.
 java.lang.String getType()
          Get the 'Type' attribute value.
 void setAssociation(SpecialService.Association association)
          Set the 'AssociationType' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setCodeDetail(java.lang.String codeDetail)
          Set the 'CodeDetail' attribute value.
 void setCodeName(java.lang.String codeName)
          Set the 'CodeName' attribute value.
 void setComment(Paragraph comment)
          Set the 'Comment' element value.
 void setDate(java.lang.String date)
          Set the 'Date' attribute value.
 void setNbrOfYears(java.lang.String nbrOfYears)
          Set the 'NbrOfYears' attribute value.
 void setType(java.lang.String type)
          Set the 'Type' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecialService

public SpecialService()
Method Detail

getComment

public Paragraph getComment()
Get the 'Comment' element value. Additional comments associated with the service or notes to be attached to the service.

Returns:
value

setComment

public void setComment(Paragraph comment)
Set the 'Comment' element value. Additional comments associated with the service or notes to be attached to the service.

Parameters:
comment -

getType

public java.lang.String getType()
Get the 'Type' attribute value. Specifies the special requirement type identification (e.g., occasion, special service, language).

Returns:
value

setType

public void setType(java.lang.String type)
Set the 'Type' attribute value. Specifies the special requirement type identification (e.g., occasion, special service, language).

Parameters:
type -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Special service code maintained by individual companies.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Special service code maintained by individual companies.

Parameters:
code -

getCodeName

public java.lang.String getCodeName()
Get the 'CodeName' attribute value. The name of the special service.

Returns:
value

setCodeName

public void setCodeName(java.lang.String codeName)
Set the 'CodeName' attribute value. The name of the special service.

Parameters:
codeName -

getCodeDetail

public java.lang.String getCodeDetail()
Get the 'CodeDetail' attribute value. May be used to give further detail on the code.

Returns:
value

setCodeDetail

public void setCodeDetail(java.lang.String codeDetail)
Set the 'CodeDetail' attribute value. May be used to give further detail on the code.

Parameters:
codeDetail -

getAssociation

public SpecialService.Association getAssociation()
Get the 'AssociationType' attribute value. Specifies the special service association type (i.e., Cabin, Passenger).

Returns:
value

setAssociation

public void setAssociation(SpecialService.Association association)
Set the 'AssociationType' attribute value. Specifies the special service association type (i.e., Cabin, Passenger).

Parameters:
association -

getDate

public java.lang.String getDate()
Get the 'Date' attribute value. Specifies the date the service is to be rendered.

Returns:
value

setDate

public void setDate(java.lang.String date)
Set the 'Date' attribute value. Specifies the date the service is to be rendered.

Parameters:
date -

getNbrOfYears

public java.lang.String getNbrOfYears()
Get the 'NbrOfYears' attribute value. The number of years associated with a special event such as a birthday, an anniversary, etc.

Returns:
value

setNbrOfYears

public void setNbrOfYears(java.lang.String nbrOfYears)
Set the 'NbrOfYears' attribute value. The number of years associated with a special event such as a birthday, an anniversary, etc.

Parameters:
nbrOfYears -