Class Geonames.Code

java.lang.Object
slash.navigation.geonames.binding.Geonames.Code
Enclosing class:
Geonames

public static class Geonames.Code extends Object

Java class for anonymous complex type

.

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


 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="postalcode" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="countryCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="lat" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
         <element name="lng" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
         <element name="adminCode1" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="adminName1" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="adminCode2" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="adminName2" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="adminCode3" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="adminName3" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="distance" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • postalcode

      protected String postalcode
    • name

      protected String name
    • countryCode

      protected String countryCode
    • lat

      protected BigDecimal lat
    • lng

      protected BigDecimal lng
    • adminCode1

      protected String adminCode1
    • adminName1

      protected String adminName1
    • adminCode2

      protected String adminCode2
    • adminName2

      protected String adminName2
    • adminCode3

      protected String adminCode3
    • adminName3

      protected String adminName3
    • distance

      protected BigDecimal distance
  • Constructor Details

    • Code

      public Code()
  • Method Details

    • getPostalcode

      public String getPostalcode()
      Gets the value of the postalcode property.
      Returns:
      possible object is String
    • setPostalcode

      public void setPostalcode(String value)
      Sets the value of the postalcode property.
      Parameters:
      value - allowed object is String
    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • 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
    • getLat

      public BigDecimal getLat()
      Gets the value of the lat property.
      Returns:
      possible object is BigDecimal
    • setLat

      public void setLat(BigDecimal value)
      Sets the value of the lat property.
      Parameters:
      value - allowed object is BigDecimal
    • getLng

      public BigDecimal getLng()
      Gets the value of the lng property.
      Returns:
      possible object is BigDecimal
    • setLng

      public void setLng(BigDecimal value)
      Sets the value of the lng property.
      Parameters:
      value - allowed object is BigDecimal
    • getAdminCode1

      public String getAdminCode1()
      Gets the value of the adminCode1 property.
      Returns:
      possible object is String
    • setAdminCode1

      public void setAdminCode1(String value)
      Sets the value of the adminCode1 property.
      Parameters:
      value - allowed object is String
    • getAdminName1

      public String getAdminName1()
      Gets the value of the adminName1 property.
      Returns:
      possible object is String
    • setAdminName1

      public void setAdminName1(String value)
      Sets the value of the adminName1 property.
      Parameters:
      value - allowed object is String
    • getAdminCode2

      public String getAdminCode2()
      Gets the value of the adminCode2 property.
      Returns:
      possible object is String
    • setAdminCode2

      public void setAdminCode2(String value)
      Sets the value of the adminCode2 property.
      Parameters:
      value - allowed object is String
    • getAdminName2

      public String getAdminName2()
      Gets the value of the adminName2 property.
      Returns:
      possible object is String
    • setAdminName2

      public void setAdminName2(String value)
      Sets the value of the adminName2 property.
      Parameters:
      value - allowed object is String
    • getAdminCode3

      public String getAdminCode3()
      Gets the value of the adminCode3 property.
      Returns:
      possible object is String
    • setAdminCode3

      public void setAdminCode3(String value)
      Sets the value of the adminCode3 property.
      Parameters:
      value - allowed object is String
    • getAdminName3

      public String getAdminName3()
      Gets the value of the adminName3 property.
      Returns:
      possible object is String
    • setAdminName3

      public void setAdminName3(String value)
      Sets the value of the adminName3 property.
      Parameters:
      value - allowed object is String
    • getDistance

      public BigDecimal getDistance()
      Gets the value of the distance property.
      Returns:
      possible object is BigDecimal
    • setDistance

      public void setDistance(BigDecimal value)
      Sets the value of the distance property.
      Parameters:
      value - allowed object is BigDecimal