public class Visit extends AbstractPersistable implements Standstill
id| Constructor and Description |
|---|
Visit() |
| Modifier and Type | Method and Description |
|---|---|
long |
getDistanceFrom(Standstill standstill) |
long |
getDistanceFromPreviousStandstill() |
long |
getDistanceTo(Standstill standstill) |
Location |
getLocation() |
Standstill |
getPreviousStandstill() |
void |
setLocation(Location location) |
void |
setPreviousStandstill(Standstill previousStandstill) |
String |
toString() |
getId, setIdpublic Location getLocation()
getLocation in interface Standstillpublic void setLocation(Location location)
public Standstill getPreviousStandstill()
public void setPreviousStandstill(Standstill previousStandstill)
public long getDistanceFromPreviousStandstill()
public long getDistanceFrom(Standstill standstill)
standstill - never nullpublic long getDistanceTo(Standstill standstill)
getDistanceTo in interface Standstillstandstill - never nullpublic String toString()
toString in class AbstractPersistableCopyright © 2006–2020 JBoss by Red Hat. All rights reserved.