org.ota.cruise
Class SpecialServiceAvailRS.SpecialServices.SpecialService

java.lang.Object
  extended by org.ota.cruise.SpecialService
      extended by org.ota.cruise.SpecialServiceAvailRS.SpecialServices.SpecialService
Enclosing class:
SpecialServiceAvailRS.SpecialServices

public static class SpecialServiceAvailRS.SpecialServices.SpecialService
extends SpecialService

Contains the specific special service information. 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="SpecialService" maxOccurs="150">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:SpecialServiceType">
         <xs:sequence>
           <xs:element type="ns:PriceInfoType" name="PriceInfo" minOccurs="0" maxOccurs="5"/>
         </xs:sequence>
         <xs:attribute type="xs:string" use="optional" name="Description"/>
         <xs:attribute type="xs:string" use="optional" name="Status"/>
         <xs:attribute type="xs:boolean" use="optional" name="ServiceDateRequiredInd"/>
         <xs:attribute type="xs:boolean" use="optional" name="NbrOfYearsRequiredInd"/>
         <xs:attribute type="xs:string" use="optional" name="MinGuestsRequired"/>
         <xs:attribute type="xs:boolean" use="optional" name="UserRemarkRequiredInd"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.cruise.SpecialService
SpecialService.Association
 
Constructor Summary
SpecialServiceAvailRS.SpecialServices.SpecialService()
           
 
Method Summary
 void addPriceInfo(PriceInfo item)
          Add a 'PriceInfo' element item.
 void clearPriceInfos()
          Remove all 'PriceInfo' element items.
 java.lang.String getDescription()
          Get the 'Description' attribute value.
 java.lang.String getMinGuestsRequired()
          Get the 'MinGuestsRequired' attribute value.
 java.lang.Boolean getNbrOfYearsRequiredInd()
          Get the 'NbrOfYearsRequiredInd' attribute value.
 PriceInfo getPriceInfo(int index)
          Get 'PriceInfo' element item by position.
 java.util.List<PriceInfo> getPriceInfos()
          Get the list of 'PriceInfo' element items.
 java.lang.Boolean getServiceDateRequiredInd()
          Get the 'ServiceDateRequiredInd' attribute value.
 java.lang.String getStatus()
          Get the 'Status' attribute value.
 java.lang.Boolean getUserRemarkRequiredInd()
          Get the 'UserRemarkRequiredInd' attribute value.
 void setDescription(java.lang.String description)
          Set the 'Description' attribute value.
 void setMinGuestsRequired(java.lang.String minGuestsRequired)
          Set the 'MinGuestsRequired' attribute value.
 void setNbrOfYearsRequiredInd(java.lang.Boolean nbrOfYearsRequiredInd)
          Set the 'NbrOfYearsRequiredInd' attribute value.
 void setPriceInfos(java.util.List<PriceInfo> list)
          Set the list of 'PriceInfo' element items.
 void setServiceDateRequiredInd(java.lang.Boolean serviceDateRequiredInd)
          Set the 'ServiceDateRequiredInd' attribute value.
 void setStatus(java.lang.String status)
          Set the 'Status' attribute value.
 void setUserRemarkRequiredInd(java.lang.Boolean userRemarkRequiredInd)
          Set the 'UserRemarkRequiredInd' attribute value.
 int sizePriceInfos()
          Get the number of 'PriceInfo' element items.
 
Methods inherited from class org.ota.cruise.SpecialService
getAssociation, getCode, getCodeDetail, getCodeName, getComment, getDate, getNbrOfYears, getType, setAssociation, setCode, setCodeDetail, setCodeName, setComment, setDate, setNbrOfYears, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecialServiceAvailRS.SpecialServices.SpecialService

public SpecialServiceAvailRS.SpecialServices.SpecialService()
Method Detail

getPriceInfos

public java.util.List<PriceInfo> getPriceInfos()
Get the list of 'PriceInfo' element items. Information regarding pricing for special services when there is an associated cost.

Returns:
list

setPriceInfos

public void setPriceInfos(java.util.List<PriceInfo> list)
Set the list of 'PriceInfo' element items. Information regarding pricing for special services when there is an associated cost.

Parameters:
list -

sizePriceInfos

public int sizePriceInfos()
Get the number of 'PriceInfo' element items.

Returns:
count

addPriceInfo

public void addPriceInfo(PriceInfo item)
Add a 'PriceInfo' element item.

Parameters:
item -

getPriceInfo

public PriceInfo getPriceInfo(int index)
Get 'PriceInfo' element item by position.

Parameters:
index -
Returns:
item

clearPriceInfos

public void clearPriceInfos()
Remove all 'PriceInfo' element items.


getDescription

public java.lang.String getDescription()
Get the 'Description' attribute value. Specifies the description of a special service.

Returns:
value

setDescription

public void setDescription(java.lang.String description)
Set the 'Description' attribute value. Specifies the description of a special service.

Parameters:
description -

getStatus

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

Returns:
value

setStatus

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

Parameters:
status -

getServiceDateRequiredInd

public java.lang.Boolean getServiceDateRequiredInd()
Get the 'ServiceDateRequiredInd' attribute value. If true, a date (or date/time) needs to be provided to indicate when the special service should be delivered.

Returns:
value

setServiceDateRequiredInd

public void setServiceDateRequiredInd(java.lang.Boolean serviceDateRequiredInd)
Set the 'ServiceDateRequiredInd' attribute value. If true, a date (or date/time) needs to be provided to indicate when the special service should be delivered.

Parameters:
serviceDateRequiredInd -

getNbrOfYearsRequiredInd

public java.lang.Boolean getNbrOfYearsRequiredInd()
Get the 'NbrOfYearsRequiredInd' attribute value. If true, the number of years pertaining to the event needs to be provided (e.g., the number of anniversary years, the age for a birthday).

Returns:
value

setNbrOfYearsRequiredInd

public void setNbrOfYearsRequiredInd(java.lang.Boolean nbrOfYearsRequiredInd)
Set the 'NbrOfYearsRequiredInd' attribute value. If true, the number of years pertaining to the event needs to be provided (e.g., the number of anniversary years, the age for a birthday).

Parameters:
nbrOfYearsRequiredInd -

getMinGuestsRequired

public java.lang.String getMinGuestsRequired()
Get the 'MinGuestsRequired' attribute value. The minimum number of guests required for this type of service.

Returns:
value

setMinGuestsRequired

public void setMinGuestsRequired(java.lang.String minGuestsRequired)
Set the 'MinGuestsRequired' attribute value. The minimum number of guests required for this type of service.

Parameters:
minGuestsRequired -

getUserRemarkRequiredInd

public java.lang.Boolean getUserRemarkRequiredInd()
Get the 'UserRemarkRequiredInd' attribute value. If true, a remark is required by the user when selecting a special service.

Returns:
value

setUserRemarkRequiredInd

public void setUserRemarkRequiredInd(java.lang.Boolean userRemarkRequiredInd)
Set the 'UserRemarkRequiredInd' attribute value. If true, a remark is required by the user when selecting a special service.

Parameters:
userRemarkRequiredInd -