public class Depot extends AbstractPersistable
Modifier and Type | Field and Description |
---|---|
protected Location |
location |
id
Constructor and Description |
---|
Depot() |
Modifier and Type | Method and Description |
---|---|
long |
getDistanceTo(Standstill standstill) |
Location |
getLocation() |
void |
setLocation(Location location) |
String |
toString() |
compareTo, getId, setId
protected Location location
public Location getLocation()
public void setLocation(Location location)
public long getDistanceTo(Standstill standstill)
standstill
- never nullpublic String toString()
toString
in class AbstractPersistable
Copyright © 2006–2018 JBoss by Red Hat. All rights reserved.