Package org.cyclos.model.users.addresses
Class GeoLocatedAddressVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.users.addresses.AddressVO
-
- org.cyclos.model.users.addresses.GeoLocatedAddressVO
-
- All Implemented Interfaces:
Serializable,IEntity,IAddress
- Direct Known Subclasses:
AdAddressVO,UserAddressVO
public class GeoLocatedAddressVO extends AddressVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Double,GeoLocatedAddressVO>CURRENT_DISTANCEstatic BasicProperty<Boolean,GeoLocatedAddressVO>LOCATEDstatic BasicProperty<LatLongDTO,GeoLocatedAddressVO>LOCATIONstatic BasicProperty<String,GeoLocatedAddressVO>NAME-
Fields inherited from class org.cyclos.model.users.addresses.AddressVO
ADDRESS_LINE_1, ADDRESS_LINE_2, BUILDING_NUMBER, CITY, COMPLEMENT, COUNTRY, NEIGHBORHOOD, PO_BOX, REGION, STREET, ZIP
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description GeoLocatedAddressVO()GeoLocatedAddressVO(Long id)GeoLocatedAddressVO(Property<T,? super GeoLocatedAddressVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()DoublegetCurrentDistance()LatLongDTOgetLocation()StringgetName()booleanisLocated()voidsetCurrentDistance(Double currentDistance)voidsetLocated(boolean located)voidsetLocation(LatLongDTO location)voidsetName(String name)StringtoString()-
Methods inherited from class org.cyclos.model.users.addresses.AddressVO
getAddressLine1, getAddressLine2, getBuildingNumber, getCity, getComplement, getCountry, getNeighborhood, getPoBox, getRegion, getStreet, getZip, setAddressLine1, setAddressLine2, setBuildingNumber, setCity, setComplement, setCountry, setNeighborhood, setPoBox, setRegion, setStreet, setZip
-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CURRENT_DISTANCE
public static final BasicProperty<Double,GeoLocatedAddressVO> CURRENT_DISTANCE
-
LOCATED
public static final BasicProperty<Boolean,GeoLocatedAddressVO> LOCATED
-
LOCATION
public static final BasicProperty<LatLongDTO,GeoLocatedAddressVO> LOCATION
-
NAME
public static final BasicProperty<String,GeoLocatedAddressVO> NAME
-
-
Constructor Detail
-
GeoLocatedAddressVO
public GeoLocatedAddressVO()
-
GeoLocatedAddressVO
public GeoLocatedAddressVO(Long id)
-
GeoLocatedAddressVO
public GeoLocatedAddressVO(Property<T,? super GeoLocatedAddressVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classAddressVO
-
getCurrentDistance
public Double getCurrentDistance()
-
setCurrentDistance
public void setCurrentDistance(Double currentDistance)
-
isLocated
public boolean isLocated()
-
setLocated
public void setLocated(boolean located)
-
getLocation
public LatLongDTO getLocation()
-
setLocation
public void setLocation(LatLongDTO location)
-
getName
public String getName()
-
setName
public void setName(String name)
-
-