org.ota.shared
Class CountryName

java.lang.Object
  extended by org.ota.shared.CountryName

public class CountryName
extends java.lang.Object

The name or code of a country (e.g. as used in an address or to specify citizenship of a traveller). 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="CountryNameType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attribute type="xs:string" use="optional" name="Code"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 


Constructor Summary
CountryName()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 java.lang.String getString()
          Get the extension value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setString(java.lang.String string)
          Set the extension value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountryName

public CountryName()
Method Detail

getString

public java.lang.String getString()
Get the extension value.

Returns:
value

setString

public void setString(java.lang.String string)
Set the extension value.

Parameters:
string -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. ISO 3166 code for a country.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. ISO 3166 code for a country.

Parameters:
code -