Package org.cyclos.entities.users
Class GeoLocatedAddress
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.users.Address
-
- org.cyclos.entities.users.GeoLocatedAddress
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForDataTranslation,IEntity,INamedEntity,IAddress
- Direct Known Subclasses:
AdAddress,UserAddress
@Entity public abstract class GeoLocatedAddress extends Address implements INamedEntity
Represents an address which can be geolocalized
-
-
Constructor Summary
Constructors Constructor Description GeoLocatedAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LatLonggetLocation()StringgetName()booleanisGeocodeFailed()booleanisLocated()voidsetGeocodeFailed(boolean geocodeFailed)voidsetLocated(boolean located)voidsetLocation(LatLong location)voidsetName(String name)-
Methods inherited from class org.cyclos.entities.users.Address
getAddressLine1, getAddressLine2, getBuildingNumber, getCity, getComplement, getCountry, getNature, getNeighborhood, getPoBox, getRegion, getStreet, getZip, setAddressLine1, setAddressLine2, setBuildingNumber, setCity, setComplement, setCountry, setNeighborhood, setPoBox, setRegion, setStreet, setZip
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, hashCode, id, ids, isPersistent, isTransient, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.HasNetwork
getNetwork
-
-
-
-
Method Detail
-
getLocation
public LatLong getLocation()
-
getName
public String getName()
- Specified by:
getNamein interfaceINamedEntity
-
isGeocodeFailed
public boolean isGeocodeFailed()
-
isLocated
public boolean isLocated()
-
setGeocodeFailed
public void setGeocodeFailed(boolean geocodeFailed)
-
setLocated
public void setLocated(boolean located)
-
setLocation
public void setLocation(LatLong location)
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceINamedEntity
-
-