Package org.onebusaway.gtfs.model
Class LocationGroup
- java.lang.Object
-
- org.onebusaway.gtfs.model.IdentityBean<AgencyAndId>
-
- org.onebusaway.gtfs.model.LocationGroup
-
- All Implemented Interfaces:
Serializable,org.onebusaway.csv_entities.HasExtensions,StopLocation
public class LocationGroup extends IdentityBean<AgencyAndId> implements StopLocation
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocationGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLocation(StopLocation stop)AgencyAndIdgetId()Set<StopLocation>getLocations()StringgetName()voidsetId(AgencyAndId id)voidsetLocations(Collection<StopLocation> stop)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>
-
getName
public String getName()
- Specified by:
getNamein interfaceStopLocation
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceStopLocation
-
addLocation
public void addLocation(StopLocation stop)
-
setLocations
public void setLocations(Collection<StopLocation> stop)
-
getLocations
public Set<StopLocation> getLocations()
-
-