org.ota.shared
Class StateProv

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

public class StateProv
extends java.lang.Object

State, province, or region name or code needed to identify location. 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="StateProvType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attribute type="xs:string" name="StateCode"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 


Constructor Summary
StateProv()
           
 
Method Summary
 java.lang.String getStateCode()
          Get the 'StateCode' attribute value.
 java.lang.String getString()
          Get the extension value.
 void setStateCode(java.lang.String stateCode)
          Set the 'StateCode' 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

StateProv

public StateProv()
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 -

getStateCode

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

Returns:
value

setStateCode

public void setStateCode(java.lang.String stateCode)
Set the 'StateCode' attribute value. The standard code or abbreviation for the state, province, or region.

Parameters:
stateCode -