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) |
org.onebusaway.gtfs.model.FareAttribute |
getFareAttribute() |
Set<P2<String>> |
getOriginDestinations() |
boolean |
hasAgencyDefined() |
boolean |
matches(Set<String> agencies,
String startZone,
String endZone,
Set<String> zonesVisited,
Set<org.onebusaway.gtfs.model.AgencyAndId> routesVisited) |
void |
setAgency(String agency) |
public FareRuleSet(org.onebusaway.gtfs.model.FareAttribute fareAttribute)
public void setAgency(String agency)
public void addContains(String containsId)
public void addRoute(org.onebusaway.gtfs.model.AgencyAndId route)
public org.onebusaway.gtfs.model.FareAttribute getFareAttribute()
public boolean hasAgencyDefined()
Copyright © 2015. All rights reserved.