Class Geonames.Geoname
java.lang.Object
slash.navigation.geonames.binding.Geonames.Geoname
- 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="name" 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="geonameId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>
<element name="countryCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="countryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="fcl" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="fcode" 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 BigDecimalprotected Stringprotected Stringprotected longprotected BigDecimalprotected BigDecimalprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the countryCode property.Gets the value of the countryName property.Gets the value of the distance property.getFcl()Gets the value of the fcl property.getFcode()Gets the value of the fcode property.longGets the value of the geonameId 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.voidsetCountryCode(String value) Sets the value of the countryCode property.voidsetCountryName(String value) Sets the value of the countryName property.voidsetDistance(BigDecimal value) Sets the value of the distance property.voidSets the value of the fcl property.voidSets the value of the fcode property.voidsetGeonameId(long value) Sets the value of the geonameId 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.
-
Field Details
-
name
-
lat
-
lng
-
geonameId
protected long geonameId -
countryCode
-
countryName
-
fcl
-
fcode
-
distance
-
-
Constructor Details
-
Geoname
public Geoname()
-
-
Method Details
-
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
-
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
-
getGeonameId
public long getGeonameId()Gets the value of the geonameId property. -
setGeonameId
public void setGeonameId(long value) Sets the value of the geonameId property. -
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
-
getCountryName
Gets the value of the countryName property.- Returns:
- possible object is
String
-
setCountryName
Sets the value of the countryName property.- Parameters:
value- allowed object isString
-
getFcl
Gets the value of the fcl property.- Returns:
- possible object is
String
-
setFcl
Sets the value of the fcl property.- Parameters:
value- allowed object isString
-
getFcode
Gets the value of the fcode property.- Returns:
- possible object is
String
-
setFcode
Sets the value of the fcode 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
-