public class FareRuleSet extends Object implements Serializable
Constructor and Description |
---|
FareRuleSet(org.onebusaway.gtfs.model.FareAttribute fareAttribute) |
Modifier and Type | Method and Description |
---|---|
void |
addContains(String containsId) |
void |
addOriginDestination(String origin,
String destination) |
void |
addRoute(org.onebusaway.gtfs.model.AgencyAndId route) |
void |
addTrip(org.onebusaway.gtfs.model.AgencyAndId trip) |
String |
getAgency() |
org.onebusaway.gtfs.model.FareAttribute |
getFareAttribute() |
Set<P2<String>> |
getOriginDestinations() |
Set<org.onebusaway.gtfs.model.AgencyAndId> |
getRoutes() |
Set<org.onebusaway.gtfs.model.AgencyAndId> |
getTrips() |
boolean |
hasAgencyDefined() |
boolean |
matches(Set<String> agencies,
String startZone,
String endZone,
Set<String> zonesVisited,
Set<org.onebusaway.gtfs.model.AgencyAndId> routesVisited,
Set<org.onebusaway.gtfs.model.AgencyAndId> tripsVisited) |
void |
setAgency(String agency) |
public FareRuleSet(org.onebusaway.gtfs.model.FareAttribute fareAttribute)
public void setAgency(String agency)
public String getAgency()
public void addContains(String containsId)
public void addRoute(org.onebusaway.gtfs.model.AgencyAndId route)
public Set<org.onebusaway.gtfs.model.AgencyAndId> getRoutes()
public org.onebusaway.gtfs.model.FareAttribute getFareAttribute()
public boolean hasAgencyDefined()
public void addTrip(org.onebusaway.gtfs.model.AgencyAndId trip)
public Set<org.onebusaway.gtfs.model.AgencyAndId> getTrips()
Copyright © 2018. All rights reserved.