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, setId
protected String name
protected RoadLocation location
public void setName(String name)
public RoadLocation getLocation()
getLocation
in interface StopOrHub
public void setLocation(RoadLocation location)
public List<Shuttle> getTransferShuttleList()
getTransferShuttleList
in interface StopOrHub
public void setTransferShuttleList(List<Shuttle> transferShuttleList)
setTransferShuttleList
in interface StopOrHub
public Integer getTransportTimeToHub()
getTransportTimeToHub
in interface StopOrHub
public boolean isVisitedByCoach()
isVisitedByCoach
in interface StopOrHub
public String toString()
toString
in class AbstractPersistable
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.