public class BusHub extends AbstractPersistable implements StopOrHub
| Modifier and Type | Field and Description |
|---|---|
protected RoadLocation |
location |
protected String |
name |
protected List<Shuttle> |
transferShuttleList |
id| Constructor and Description |
|---|
BusHub() |
| Modifier and Type | Method and Description |
|---|---|
RoadLocation |
getLocation() |
String |
getName() |
List<Shuttle> |
getTransferShuttleList() |
Integer |
getTransportTimeToHub() |
boolean |
isVisitedByCoach() |
void |
setLocation(RoadLocation location) |
void |
setName(String name) |
void |
setTransferShuttleList(List<Shuttle> transferShuttleList) |
String |
toString() |
getId, setIdprotected String name
protected RoadLocation location
public void setName(String name)
public RoadLocation getLocation()
getLocation in interface StopOrHubpublic void setLocation(RoadLocation location)
public List<Shuttle> getTransferShuttleList()
getTransferShuttleList in interface StopOrHubpublic void setTransferShuttleList(List<Shuttle> transferShuttleList)
setTransferShuttleList in interface StopOrHubpublic Integer getTransportTimeToHub()
getTransportTimeToHub in interface StopOrHubpublic boolean isVisitedByCoach()
isVisitedByCoach in interface StopOrHubpublic String toString()
toString in class AbstractPersistableCopyright © 2006–2020 JBoss by Red Hat. All rights reserved.