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() |
boolean |
equals(java.lang.Object other) |
java.math.BigDecimal |
getDistance() |
LatLongDTO |
getLocation() |
int |
hashCode() |
void |
setDistance(java.math.BigDecimal distance) |
void |
setLocation(LatLongDTO location) |
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, 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)
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object