public class DistanceDTO extends Bean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_NAME |
static BasicProperty<java.math.BigDecimal,DistanceDTO> |
DISTANCE |
static BasicProperty<LatLongDTO,DistanceDTO> |
LOCATION |
| Constructor and Description |
|---|
DistanceDTO() |
DistanceDTO(Property<T,? super DistanceDTO> property,
T value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
className() |
protected java.util.List<Property<?,?>> |
doGetProperties() |
java.math.BigDecimal |
getDistance() |
LatLongDTO |
getLocation() |
void |
setDistance(java.math.BigDecimal distance) |
void |
setLocation(LatLongDTO location) |
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, setAttributepublic static final java.lang.String CLASS_NAME
public static final BasicProperty<java.math.BigDecimal,DistanceDTO> DISTANCE
public static final BasicProperty<LatLongDTO,DistanceDTO> LOCATION
public DistanceDTO()
public DistanceDTO(Property<T,? super DistanceDTO> property, T value)
protected java.util.List<Property<?,?>> doGetProperties()
doGetProperties in class Beanpublic java.math.BigDecimal getDistance()
public void setDistance(java.math.BigDecimal distance)
public LatLongDTO getLocation()
public void setLocation(LatLongDTO location)