Class Geonames.Code
java.lang.Object
slash.navigation.geonames.binding.Geonames.Code
- Enclosing class:
Geonames
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 Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the adminCode1 property.Gets the value of the adminCode2 property.Gets the value of the adminCode3 property.Gets the value of the adminName1 property.Gets the value of the adminName2 property.Gets the value of the adminName3 property.Gets the value of the countryCode property.Gets the value of the distance property.getLat()Gets the value of the lat property.getLng()Gets the value of the lng property.getName()Gets the value of the name property.Gets the value of the postalcode property.voidsetAdminCode1(String value) Sets the value of the adminCode1 property.voidsetAdminCode2(String value) Sets the value of the adminCode2 property.voidsetAdminCode3(String value) Sets the value of the adminCode3 property.voidsetAdminName1(String value) Sets the value of the adminName1 property.voidsetAdminName2(String value) Sets the value of the adminName2 property.voidsetAdminName3(String value) Sets the value of the adminName3 property.voidsetCountryCode(String value) Sets the value of the countryCode property.voidsetDistance(BigDecimal value) Sets the value of the distance property.voidsetLat(BigDecimal value) Sets the value of the lat property.voidsetLng(BigDecimal value) Sets the value of the lng property.voidSets the value of the name property.voidsetPostalcode(String value) Sets the value of the postalcode property.
-
Field Details
-
postalcode
-
name
-
countryCode
-
lat
-
lng
-
adminCode1
-
adminName1
-
adminCode2
-
adminName2
-
adminCode3
-
adminName3
-
distance
-
-
Constructor Details
-
Code
public Code()
-
-
Method Details
-
getPostalcode
Gets the value of the postalcode property.- Returns:
- possible object is
String
-
setPostalcode
Sets the value of the postalcode property.- Parameters:
value- allowed object isString
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getCountryCode
Gets the value of the countryCode property.- Returns:
- possible object is
String
-
setCountryCode
Sets the value of the countryCode property.- Parameters:
value- allowed object isString
-
getLat
Gets the value of the lat property.- Returns:
- possible object is
BigDecimal
-
setLat
Sets the value of the lat property.- Parameters:
value- allowed object isBigDecimal
-
getLng
Gets the value of the lng property.- Returns:
- possible object is
BigDecimal
-
setLng
Sets the value of the lng property.- Parameters:
value- allowed object isBigDecimal
-
getAdminCode1
Gets the value of the adminCode1 property.- Returns:
- possible object is
String
-
setAdminCode1
Sets the value of the adminCode1 property.- Parameters:
value- allowed object isString
-
getAdminName1
Gets the value of the adminName1 property.- Returns:
- possible object is
String
-
setAdminName1
Sets the value of the adminName1 property.- Parameters:
value- allowed object isString
-
getAdminCode2
Gets the value of the adminCode2 property.- Returns:
- possible object is
String
-
setAdminCode2
Sets the value of the adminCode2 property.- Parameters:
value- allowed object isString
-
getAdminName2
Gets the value of the adminName2 property.- Returns:
- possible object is
String
-
setAdminName2
Sets the value of the adminName2 property.- Parameters:
value- allowed object isString
-
getAdminCode3
Gets the value of the adminCode3 property.- Returns:
- possible object is
String
-
setAdminCode3
Sets the value of the adminCode3 property.- Parameters:
value- allowed object isString
-
getAdminName3
Gets the value of the adminName3 property.- Returns:
- possible object is
String
-
setAdminName3
Sets the value of the adminName3 property.- Parameters:
value- allowed object isString
-
getDistance
Gets the value of the distance property.- Returns:
- possible object is
BigDecimal
-
setDistance
Sets the value of the distance property.- Parameters:
value- allowed object isBigDecimal
-