public class DistanceDTO extends ObservableBean
| Modifier and Type | Field and Description |
|---|---|
static Property<java.math.BigDecimal,DistanceDTO> |
DISTANCE |
static Property<LatLongDTO,DistanceDTO> |
LOCATION |
| Constructor and Description |
|---|
DistanceDTO() |
DistanceDTO(Property<T,? super DistanceDTO> property,
T value) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<Property<?,?>> |
doGetProperties() |
protected void |
doSet(Property<?,?> property,
java.lang.Object value) |
java.lang.Object |
get(Property<?,?> property)
Returns the value of the given property
|
java.math.BigDecimal |
getDistance() |
LatLongDTO |
getLocation() |
void |
setDistance(java.math.BigDecimal distance) |
void |
setLocation(LatLongDTO location) |
addPropertyChangeListener, addPropertyChangeListener, changes, copyPropertiesTo, firePropertyChange, properties, propertyMap, removePropertyChangeListener, removePropertyChangeListener, setpublic static final Property<java.math.BigDecimal,DistanceDTO> DISTANCE
public static final Property<LatLongDTO,DistanceDTO> LOCATION
public DistanceDTO()
public DistanceDTO(Property<T,? super DistanceDTO> property, T value)
protected java.util.List<Property<?,?>> doGetProperties()
doGetProperties in class ObservableBeanprotected void doSet(Property<?,?> property, java.lang.Object value)
doSet in class ObservableBeanpublic java.lang.Object get(Property<?,?> property)
ObservableBeanget in class ObservableBeanpublic java.math.BigDecimal getDistance()
public LatLongDTO getLocation()
public void setDistance(java.math.BigDecimal distance)
public void setLocation(LatLongDTO location)