Package org.onebusaway.gtfs.model
Class StopArea
- java.lang.Object
-
- org.onebusaway.gtfs.model.IdentityBean<AgencyAndId>
-
- org.onebusaway.gtfs.model.StopArea
-
- All Implemented Interfaces:
Serializable,org.onebusaway.csv_entities.HasExtensions,StopLocation
public class StopArea extends IdentityBean<AgencyAndId> implements StopLocation
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StopArea()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLocation(StopLocation location)AgencyAndIdgetId()Set<StopLocation>getLocations()StringgetName()voidsetArea(Area area)voidsetId(AgencyAndId id)voidsetName(String name)-
Methods inherited from class org.onebusaway.gtfs.model.IdentityBean
equals, getExtension, hashCode, putExtension
-
-
-
-
Method Detail
-
getId
public AgencyAndId getId()
- Specified by:
getIdin interfaceStopLocation- Specified by:
getIdin classIdentityBean<AgencyAndId>
-
setId
public void setId(AgencyAndId id)
- Specified by:
setIdin interfaceStopLocation- Specified by:
setIdin classIdentityBean<AgencyAndId>
-
setArea
public void setArea(Area area)
-
getLocations
public Set<StopLocation> getLocations()
-
addLocation
public void addLocation(StopLocation location)
-
getName
public String getName()
- Specified by:
getNamein interfaceStopLocation
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceStopLocation
-
-