org.onebusaway.transit_data_federation.impl.service_alerts
Class ServiceAlertLibrary

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.service_alerts.ServiceAlertLibrary

public class ServiceAlertLibrary
extends Object


Constructor Summary
ServiceAlertLibrary()
           
 
Method Summary
static org.onebusaway.gtfs.model.AgencyAndId agencyAndId(ServiceAlerts.Id id)
           
static ServiceAlerts.Consequence.Effect convertEffect(EEffect effect)
           
static EEffect convertEffect(ServiceAlerts.Consequence.Effect effect)
           
static ServiceAlerts.ServiceAlert.Severity convertSeverity(ESeverity severity)
           
static ESeverity convertSeverity(ServiceAlerts.ServiceAlert.Severity severity)
           
static ServiceAlerts.Id id(org.onebusaway.gtfs.model.AgencyAndId id)
           
static ServiceAlerts.Id id(String agencyId, String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceAlertLibrary

public ServiceAlertLibrary()
Method Detail

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 © 2011 OneBusAway. All Rights Reserved.