org.ota.hotel
Class Areas.Area

java.lang.Object
  extended by org.ota.hotel.Areas.Area
Enclosing class:
Areas

public static class Areas.Area
extends java.lang.Object

An area determined by the hotel reservation system. 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="Area" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:ParagraphType" name="AreaDescription" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:AreaID_Group"/>
     <xs:attribute type="xs:string" use="optional" name="CityCode"/>
     <xs:attribute type="xs:string" use="optional" name="StateProvCode"/>
     <xs:attribute type="xs:string" use="optional" name="CountryCode"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AreaID_Group">
   <xs:attribute type="xs:string" use="optional" name="AreaID"/>
 </xs:attributeGroup>
 


Constructor Summary
Areas.Area()
           
 
Method Summary
 Paragraph getAreaDescription()
          Get the 'AreaDescription' element value.
 java.lang.String getAreaID()
          Get the 'AreaID' attribute value.
 java.lang.String getCityCode()
          Get the 'CityCode' attribute value.
 java.lang.String getCountryCode()
          Get the 'CountryCode' attribute value.
 java.lang.String getStateProvCode()
          Get the 'StateProvCode' attribute value.
 void setAreaDescription(Paragraph areaDescription)
          Set the 'AreaDescription' element value.
 void setAreaID(java.lang.String areaID)
          Set the 'AreaID' attribute value.
 void setCityCode(java.lang.String cityCode)
          Set the 'CityCode' attribute value.
 void setCountryCode(java.lang.String countryCode)
          Set the 'CountryCode' attribute value.
 void setStateProvCode(java.lang.String stateProvCode)
          Set the 'StateProvCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Areas.Area

public Areas.Area()
Method Detail

getAreaDescription

public Paragraph getAreaDescription()
Get the 'AreaDescription' element value.

Returns:
value

setAreaDescription

public void setAreaDescription(Paragraph areaDescription)
Set the 'AreaDescription' element value.

Parameters:
areaDescription -

getAreaID

public java.lang.String getAreaID()
Get the 'AreaID' attribute value. An identifier of an area as defined by a hotel reservation system.

Returns:
value

setAreaID

public void setAreaID(java.lang.String areaID)
Set the 'AreaID' attribute value. An identifier of an area as defined by a hotel reservation system.

Parameters:
areaID -

getCityCode

public java.lang.String getCityCode()
Get the 'CityCode' attribute value. The IATA city code; for example DCA, ORD.

Returns:
value

setCityCode

public void setCityCode(java.lang.String cityCode)
Set the 'CityCode' attribute value. The IATA city code; for example DCA, ORD.

Parameters:
cityCode -

getStateProvCode

public java.lang.String getStateProvCode()
Get the 'StateProvCode' attribute value. The standard code or abbreviation for the state, province, or region.

Returns:
value

setStateProvCode

public void setStateProvCode(java.lang.String stateProvCode)
Set the 'StateProvCode' attribute value. The standard code or abbreviation for the state, province, or region.

Parameters:
stateProvCode -

getCountryCode

public java.lang.String getCountryCode()
Get the 'CountryCode' attribute value. The country in which the area is located.

Returns:
value

setCountryCode

public void setCountryCode(java.lang.String countryCode)
Set the 'CountryCode' attribute value. The country in which the area is located.

Parameters:
countryCode -