org.ota.pkg
Class DestinationLevelGroup

java.lang.Object
  extended by org.ota.pkg.DestinationLevelGroup

public class DestinationLevelGroup
extends java.lang.Object

Defines a destination. 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="DestinationLevelGroup">
   <xs:attribute type="xs:string" use="optional" name="DestinationCode"/>
   <xs:attribute type="ns:DestinationLevelType" use="optional" name="DestinationLevel"/>
   <xs:attribute type="xs:string" use="optional" name="DestinationName"/>
 </xs:attributeGroup>
 
 <xs:simpleType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DestinationLevelType">
   <!-- Reference to inner class DestinationLevel -->
 </xs:simpleType>
 


Nested Class Summary
static class DestinationLevelGroup.DestinationLevel
          Defines the geopolitical level of a destination (e.g., Country, Resort).
 
Constructor Summary
DestinationLevelGroup()
           
 
Method Summary
 java.lang.String getDestinationCode()
          Get the 'DestinationCode' attribute value.
 DestinationLevelGroup.DestinationLevel getDestinationLevel()
          Get the 'DestinationLevel' attribute value.
 java.lang.String getDestinationName()
          Get the 'DestinationName' attribute value.
 void setDestinationCode(java.lang.String destinationCode)
          Set the 'DestinationCode' attribute value.
 void setDestinationLevel(DestinationLevelGroup.DestinationLevel destinationLevel)
          Set the 'DestinationLevel' attribute value.
 void setDestinationName(java.lang.String destinationName)
          Set the 'DestinationName' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DestinationLevelGroup

public DestinationLevelGroup()
Method Detail

getDestinationCode

public java.lang.String getDestinationCode()
Get the 'DestinationCode' attribute value. The code identifying a destination. For a Country, this will be the ISO 3166-2 code.

Returns:
value

setDestinationCode

public void setDestinationCode(java.lang.String destinationCode)
Set the 'DestinationCode' attribute value. The code identifying a destination. For a Country, this will be the ISO 3166-2 code.

Parameters:
destinationCode -

getDestinationLevel

public DestinationLevelGroup.DestinationLevel getDestinationLevel()
Get the 'DestinationLevel' attribute value. Defines the geopolitical level of a destination (e.g., Country, Region).

Returns:
value

setDestinationLevel

public void setDestinationLevel(DestinationLevelGroup.DestinationLevel destinationLevel)
Set the 'DestinationLevel' attribute value. Defines the geopolitical level of a destination (e.g., Country, Region).

Parameters:
destinationLevel -

getDestinationName

public java.lang.String getDestinationName()
Get the 'DestinationName' attribute value. The name of the destination.

Returns:
value

setDestinationName

public void setDestinationName(java.lang.String destinationName)
Set the 'DestinationName' attribute value. The name of the destination.

Parameters:
destinationName -