org.ota.shared
Class LocationGeneral

java.lang.Object
  extended by org.ota.shared.LocationGeneral
Direct Known Subclasses:
CruisePackage.Location, EventReport.GeneralEventInfo.Dates.Date.LocationCategories.Location, TourInformation.Destination

public class LocationGeneral
extends java.lang.Object

Provides high-level information regarding a 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="LocationGeneralType">
   <xs:sequence>
     <xs:element type="xs:string" name="CityName" minOccurs="0"/>
     <xs:element type="ns:StateProvType" name="StateProv" minOccurs="0"/>
     <xs:element type="ns:CountryNameType" name="CountryName" minOccurs="0"/>
   </xs:sequence>
 </xs:complexType>
 


Constructor Summary
LocationGeneral()
           
 
Method Summary
 java.lang.String getCityName()
          Get the 'CityName' element value.
 CountryName getCountryName()
          Get the 'CountryName' element value.
 StateProv getStateProv()
          Get the 'StateProv' element value.
 void setCityName(java.lang.String cityName)
          Set the 'CityName' element value.
 void setCountryName(CountryName countryName)
          Set the 'CountryName' element value.
 void setStateProv(StateProv stateProv)
          Set the 'StateProv' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationGeneral

public LocationGeneral()
Method Detail

getCityName

public java.lang.String getCityName()
Get the 'CityName' element value. City (e.g., Dublin), town, or postal station (i.e., a postal service territory, often used in a military address).

Returns:
value

setCityName

public void setCityName(java.lang.String cityName)
Set the 'CityName' element value. City (e.g., Dublin), town, or postal station (i.e., a postal service territory, often used in a military address).

Parameters:
cityName -

getStateProv

public StateProv getStateProv()
Get the 'StateProv' element value. State or Province name (e.g., Texas).

Returns:
value

setStateProv

public void setStateProv(StateProv stateProv)
Set the 'StateProv' element value. State or Province name (e.g., Texas).

Parameters:
stateProv -

getCountryName

public CountryName getCountryName()
Get the 'CountryName' element value. Country name (e.g., Ireland).

Returns:
value

setCountryName

public void setCountryName(CountryName countryName)
Set the 'CountryName' element value. Country name (e.g., Ireland).

Parameters:
countryName -