com.gisgraphy.domain.geoloc.entity
Class PoliticalEntity

java.lang.Object
  extended by com.gisgraphy.domain.geoloc.entity.GisFeature
      extended by com.gisgraphy.domain.geoloc.entity.PoliticalEntity

public class PoliticalEntity
extends GisFeature

Represents a PoliticalEntity. It is not a country but an independent entity

Author:
David Masclet

Field Summary
 
Fields inherited from class com.gisgraphy.domain.geoloc.entity.GisFeature
LOCATION_COLUMN_NAME, logger
 
Constructor Summary
PoliticalEntity()
          Needed by CGLib
PoliticalEntity(GisFeature gisFeature)
          Constructor that populate the PoliticalEntity with the gisFeature fields
 
Method Summary
 boolean isFullTextSearchable()
          Override the gisFeature value.
 
Methods inherited from class com.gisgraphy.domain.geoloc.entity.GisFeature
addAlternateName, addAlternateNames, addZipCode, addZipCodes, distanceTo, equals, getAdm, getAdm1Code, getAdm1Name, getAdm2Code, getAdm2Name, getAdm3Code, getAdm3Name, getAdm4Code, getAdm4Name, getAlternateNames, getAsciiName, getCountry, getCountryCode, getElevation, getFeatureClass, getFeatureCode, getFeatureId, getFullyQualifiedName, getFullyQualifiedName, getGtopo30, getId, getLatitude, getLocation, getLongitude, getModificationDate, getName, getPopulation, getSource, getTimezone, getZipCodes, hashCode, isAdm, isCity, isCountry, populate, setAdm, setAdm1Code, setAdm1Name, setAdm2Code, setAdm2Name, setAdm3Code, setAdm3Name, setAdm4Code, setAdm4Name, setAlternateNames, setAsciiName, setCountryCode, setElevation, setFeatureClass, setFeatureCode, setFeatureId, setGtopo30, setId, setLocation, setModificationDate, setName, setPopulation, setSource, setTimezone, setZipCodes, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PoliticalEntity

public PoliticalEntity(GisFeature gisFeature)
Constructor that populate the PoliticalEntity with the gisFeature fields

Parameters:
gisFeature - The gisFeature from which we want to populate the PoliticalEntity

PoliticalEntity

public PoliticalEntity()
Needed by CGLib

Method Detail

isFullTextSearchable

public boolean isFullTextSearchable()
Override the gisFeature value.
Default to true;
If this field is set to false, then the object won't be synchronized with the fullText search engine

Overrides:
isFullTextSearchable in class GisFeature
Returns:
true If the gisFeature must be sync with the fullText search engine


Copyright © 2012. All Rights Reserved.