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