com.openindex.openestate.impl.xml.immobiliare
Class LocationStructure

java.lang.Object
  extended by com.openindex.openestate.impl.xml.immobiliare.LocationStructure

public class LocationStructure
extends Object

Java class for locationStructure complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="locationStructure">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element name="country-code">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <pattern value="[a-zA-Z]{2}"/>
             </restriction>
           </simpleType>
         </element>
         <element name="administrative-area" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="sub-administrative-area" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="city">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                 <attribute name="code" type="{http://www.w3.org/2001/XMLSchema}integer" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element name="locality" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <all>
                   <element name="neighbourhood" minOccurs="0">
                     <complexType>
                       <simpleContent>
                         <extension base="<http://www.w3.org/2001/XMLSchema>string">
                           <attribute name="type">
                             <simpleType>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                 <enumeration value="district"/>
                                 <enumeration value="locality"/>
                                 <enumeration value="area"/>
                               </restriction>
                             </simpleType>
                           </attribute>
                           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
                         </extension>
                       </simpleContent>
                     </complexType>
                   </element>
                   <element name="thoroughfare" minOccurs="0">
                     <complexType>
                       <simpleContent>
                         <extension base="<http://www.w3.org/2001/XMLSchema>string">
                           <attribute name="display">
                             <simpleType>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                 <pattern value="yes|no"/>
                               </restriction>
                             </simpleType>
                           </attribute>
                         </extension>
                       </simpleContent>
                     </complexType>
                   </element>
                   <element name="postal-code" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="longitude" type="{http://feed.immobiliare.it}longitudeType" minOccurs="0"/>
                   <element name="latitude" type="{http://feed.immobiliare.it}latitudeType" minOccurs="0"/>
                 </all>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class LocationStructure.City
          Java class for anonymous complex type.
static class LocationStructure.Locality
          Java class for anonymous complex type.
 
Field Summary
protected  String administrativeArea
           
protected  LocationStructure.City city
           
protected  String countryCode
           
protected  LocationStructure.Locality locality
           
protected  String subAdministrativeArea
           
 
Constructor Summary
LocationStructure()
           
 
Method Summary
 String getAdministrativeArea()
          Gets the value of the administrativeArea property.
 LocationStructure.City getCity()
          Gets the value of the city property.
 String getCountryCode()
          Gets the value of the countryCode property.
 LocationStructure.Locality getLocality()
          Gets the value of the locality property.
 String getSubAdministrativeArea()
          Gets the value of the subAdministrativeArea property.
 void setAdministrativeArea(String value)
          Sets the value of the administrativeArea property.
 void setCity(LocationStructure.City value)
          Sets the value of the city property.
 void setCountryCode(String value)
          Sets the value of the countryCode property.
 void setLocality(LocationStructure.Locality value)
          Sets the value of the locality property.
 void setSubAdministrativeArea(String value)
          Sets the value of the subAdministrativeArea property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

countryCode

protected String countryCode

administrativeArea

protected String administrativeArea

subAdministrativeArea

protected String subAdministrativeArea

city

protected LocationStructure.City city

locality

protected LocationStructure.Locality locality
Constructor Detail

LocationStructure

public LocationStructure()
Method Detail

getCountryCode

public String getCountryCode()
Gets the value of the countryCode property.

Returns:
possible object is String

setCountryCode

public void setCountryCode(String value)
Sets the value of the countryCode property.

Parameters:
value - allowed object is String

getAdministrativeArea

public String getAdministrativeArea()
Gets the value of the administrativeArea property.

Returns:
possible object is String

setAdministrativeArea

public void setAdministrativeArea(String value)
Sets the value of the administrativeArea property.

Parameters:
value - allowed object is String

getSubAdministrativeArea

public String getSubAdministrativeArea()
Gets the value of the subAdministrativeArea property.

Returns:
possible object is String

setSubAdministrativeArea

public void setSubAdministrativeArea(String value)
Sets the value of the subAdministrativeArea property.

Parameters:
value - allowed object is String

getCity

public LocationStructure.City getCity()
Gets the value of the city property.

Returns:
possible object is LocationStructure.City

setCity

public void setCity(LocationStructure.City value)
Sets the value of the city property.

Parameters:
value - allowed object is LocationStructure.City

getLocality

public LocationStructure.Locality getLocality()
Gets the value of the locality property.

Returns:
possible object is LocationStructure.Locality

setLocality

public void setLocality(LocationStructure.Locality value)
Sets the value of the locality property.

Parameters:
value - allowed object is LocationStructure.Locality


Copyright © 2012 OpenEstate. All Rights Reserved.