org.onebusaway.transit_data.model.service_alerts
public enum EEffect extends Enum<EEffect>
Enum Constant and Description |
---|
ADDITIONAL_SERVICE |
DETOUR |
MODIFIED_SERVICE |
NO_SERVICE |
OTHER_EFFECT |
REDUCED_SERVICE |
SIGNIFICANT_DELAYS |
STOP_MOVED |
UNKNOWN_EFFECT |
Modifier and Type | Method and Description |
---|---|
static EEffect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EEffect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EEffect NO_SERVICE
public static final EEffect REDUCED_SERVICE
public static final EEffect SIGNIFICANT_DELAYS
public static final EEffect DETOUR
public static final EEffect ADDITIONAL_SERVICE
public static final EEffect MODIFIED_SERVICE
public static final EEffect OTHER_EFFECT
public static final EEffect UNKNOWN_EFFECT
public static final EEffect STOP_MOVED
public static EEffect[] values()
for (EEffect c : EEffect.values()) System.out.println(c);
public static EEffect valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2014 OneBusAway. All Rights Reserved.