org.onebusaway.transit_data_federation.impl.service_alerts
Class ServiceAlertLibrary
java.lang.Object
org.onebusaway.transit_data_federation.impl.service_alerts.ServiceAlertLibrary
public class ServiceAlertLibrary
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceAlertLibrary
public ServiceAlertLibrary()
agencyAndId
public static final org.onebusaway.gtfs.model.AgencyAndId agencyAndId(ServiceAlerts.Id id)
id
public static ServiceAlerts.Id id(org.onebusaway.gtfs.model.AgencyAndId id)
id
public static ServiceAlerts.Id id(String agencyId,
String id)
convertSeverity
public static ServiceAlerts.ServiceAlert.Severity convertSeverity(ESeverity severity)
convertSeverity
public static ESeverity convertSeverity(ServiceAlerts.ServiceAlert.Severity severity)
convertEffect
public static EEffect convertEffect(ServiceAlerts.Consequence.Effect effect)
convertEffect
public static ServiceAlerts.Consequence.Effect convertEffect(EEffect effect)
Copyright © 2012 OneBusAway. All Rights Reserved.