org.ota.hotel
Class Event.EventInner.Sites.Site.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.Services.Service.Utilities.Utility

java.lang.Object
  extended by org.ota.hotel.Event.EventInner.Sites.Site.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.Services.Service.Utilities.Utility
Enclosing class:
Event.EventInner.Sites.Site.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.Services.Service.Utilities

public static class Event.EventInner.Sites.Site.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.Services.Service.Utilities.Utility
extends java.lang.Object

A utility requirement for this function. 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="Utility" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Comments" minOccurs="0">
         <!-- Reference to inner class Comments -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attributeGroup ref="ns:QuantityGroup"/>
     <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
     <xs:attribute type="xs:string" use="optional" name="Name"/>
     <xs:attribute type="xs:string" use="optional" name="TelecommunicationCode"/>
     <xs:attribute type="xs:string" use="optional" name="Description"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="QuantityGroup">
   <xs:attribute type="xs:int" use="optional" name="Quantity"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class Event.EventInner.Sites.Site.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.Services.Service.Utilities.Utility.Comments
          A collection of comments.
 
Constructor Summary
Event.EventInner.Sites.Site.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.Services.Service.Utilities.Utility()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 Event.EventInner.Sites.Site.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.Services.Service.Utilities.Utility.Comments getComments()
          Get the 'Comments' element value.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.String getDescription()
          Get the 'Description' attribute value.
 java.lang.String getName()
          Get the 'Name' attribute value.
 java.lang.Integer getQuantity()
          Get the 'Quantity' attribute value.
 java.lang.String getTelecommunicationCode()
          Get the 'TelecommunicationCode' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setComments(Event.EventInner.Sites.Site.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.Services.Service.Utilities.Utility.Comments comments)
          Set the 'Comments' element value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setDescription(java.lang.String description)
          Set the 'Description' attribute value.
 void setName(java.lang.String name)
          Set the 'Name' attribute value.
 void setQuantity(java.lang.Integer quantity)
          Set the 'Quantity' attribute value.
 void setTelecommunicationCode(java.lang.String telecommunicationCode)
          Set the 'TelecommunicationCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Event.EventInner.Sites.Site.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.Services.Service.Utilities.Utility

public Event.EventInner.Sites.Site.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.Services.Service.Utilities.Utility()
Method Detail

getComments

public Event.EventInner.Sites.Site.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.Services.Service.Utilities.Utility.Comments getComments()
Get the 'Comments' element value.

Returns:
value

setComments

public void setComments(Event.EventInner.Sites.Site.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.Services.Service.Utilities.Utility.Comments comments)
Set the 'Comments' element value.

Parameters:
comments -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. The type of this utility (e.g., air, drain, natural gas). Refer to OpenTravel Code list Utility Service Code (USC).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. The type of this utility (e.g., air, drain, natural gas). Refer to OpenTravel Code list Utility Service Code (USC).

Parameters:
code -

getQuantity

public java.lang.Integer getQuantity()
Get the 'Quantity' attribute value. Used to define the quantity for an associated element or attribute.

Returns:
value

setQuantity

public void setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. Used to define the quantity for an associated element or attribute.

Parameters:
quantity -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. The amount charged for the utility item.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. The amount charged for the utility item.

Parameters:
currencyAmountGroup -

getName

public java.lang.String getName()
Get the 'Name' attribute value. The name of the utility.

Returns:
value

setName

public void setName(java.lang.String name)
Set the 'Name' attribute value. The name of the utility.

Parameters:
name -

getTelecommunicationCode

public java.lang.String getTelecommunicationCode()
Get the 'TelecommunicationCode' attribute value. A telecommunication service (e.g., analog phone line, ethernet connection). Refer to OpenTravel Code list Business Srvc Type (BUS).

Returns:
value

setTelecommunicationCode

public void setTelecommunicationCode(java.lang.String telecommunicationCode)
Set the 'TelecommunicationCode' attribute value. A telecommunication service (e.g., analog phone line, ethernet connection). Refer to OpenTravel Code list Business Srvc Type (BUS).

Parameters:
telecommunicationCode -

getDescription

public java.lang.String getDescription()
Get the 'Description' attribute value. A description of the utility.

Returns:
value

setDescription

public void setDescription(java.lang.String description)
Set the 'Description' attribute value. A description of the utility.

Parameters:
description -