Package org.cyclos.model.utils
Class LatLongDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.utils.LatLongDTO
-
- All Implemented Interfaces:
Serializable,ILatLong
public class LatLongDTO extends Bean implements ILatLong
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<BigDecimal,LatLongDTO>LATITUDEstatic BasicProperty<BigDecimal,LatLongDTO>LONGITUDE
-
Constructor Summary
Constructors Constructor Description LatLongDTO()LatLongDTO(Property<T,? super LatLongDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()booleanequals(Object other)BigDecimalgetLatitude()BigDecimalgetLongitude()inthashCode()voidsetLatitude(BigDecimal latitude)voidsetLongitude(BigDecimal longitude)StringtoString()-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, set, setAttribute, setWithPropagationId
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
LATITUDE
public static final BasicProperty<BigDecimal,LatLongDTO> LATITUDE
-
LONGITUDE
public static final BasicProperty<BigDecimal,LatLongDTO> LONGITUDE
-
-
Constructor Detail
-
LatLongDTO
public LatLongDTO()
-
LatLongDTO
public LatLongDTO(Property<T,? super LatLongDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getLatitude
public BigDecimal getLatitude()
- Specified by:
getLatitudein interfaceILatLong
-
setLatitude
public void setLatitude(BigDecimal latitude)
-
getLongitude
public BigDecimal getLongitude()
- Specified by:
getLongitudein interfaceILatLong
-
setLongitude
public void setLongitude(BigDecimal longitude)
-
-