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() |
compareTo, getId, setId
public Location getLocation()
getLocation
in interface Standstill
public 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 Standstill
standstill
- never nullpublic String toString()
toString
in class AbstractPersistable
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.