|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gisgraphy.domain.geoloc.entity.GisFeature
com.gisgraphy.domain.geoloc.entity.City
public class City
Represents a city Object
| Field Summary |
|---|
| Fields inherited from class com.gisgraphy.domain.geoloc.entity.GisFeature |
|---|
countryDao, LOCATION_COLUMN_NAME, logger |
| Fields inherited from interface com.gisgraphy.domain.geoloc.entity.ZipCodeAware |
|---|
SETTER_METHOD_NAME |
| Constructor Summary | |
|---|---|
City()
Default constructor (Needed by CGLib) |
|
City(GisFeature gisFeature)
Constructor that populate the City with the gisFeature fields |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getFullyQualifiedName(boolean withCountry)
Returns a name of the form : (adm1Name et adm2Name are printed) Paris(Zipcode), Département de Ville-De-Paris, Ile-De-France, (FR) |
java.lang.Integer |
getZipCode()
|
int |
hashCode()
|
boolean |
isFullTextSearchable()
Override the gisFeature value. |
void |
populate(GisFeature gisFeature)
Populate all the field / association of the current gisFeature with The Value of The specified One. |
void |
setZipCode(java.lang.Integer zipCode)
Set The zipCode for the city |
| Methods inherited from class com.gisgraphy.domain.geoloc.entity.GisFeature |
|---|
addAlternateName, addAlternateNames, distance, getAdm, getAdm1Code, getAdm1Name, getAdm2Code, getAdm2Name, getAdm3Code, getAdm3Name, getAdm4Code, getAdm4Name, getAlternateNames, getAsciiName, getCountry, getCountryCode, getElevation, getFeatureClass, getFeatureCode, getFeatureId, getGtopo30, getId, getLatitude, getLocation, getLongitude, getModificationDate, getName, getPopulation, getSource, getTimezone, isAdm, isCity, isCountry, setAdm, setAdm1Code, setAdm1Name, setAdm2Code, setAdm2Name, setAdm3Code, setAdm3Name, setAdm4Code, setAdm4Name, setAlternateNames, setAsciiName, setCountryCode, setElevation, setFeatureClass, setFeatureCode, setFeatureId, setGtopo30, setId, setLocation, setModificationDate, setName, setPopulation, setSource, setTimezone, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public City(GisFeature gisFeature)
City with the gisFeature fields
gisFeature - The gisFeature from which we want to populate the
Citypublic City()
| Method Detail |
|---|
public boolean isFullTextSearchable()
isFullTextSearchable in class GisFeaturepublic void setZipCode(java.lang.Integer zipCode)
ZipCodeAware
setZipCode in interface ZipCodeAwarezipCode - The zipCode for the Citypublic java.lang.Integer getZipCode()
getZipCode in interface ZipCodeAwarepublic int hashCode()
hashCode in class GisFeaturepublic boolean equals(java.lang.Object obj)
equals in class GisFeaturepublic void populate(GisFeature gisFeature)
GisFeature
populate in class GisFeaturegisFeature - the gisFeature to populate withpublic java.lang.String getFullyQualifiedName(boolean withCountry)
getFullyQualifiedName in class GisFeaturewithCountry - Whether the country information should be added
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||