org.onebusaway.transit_data.model.service_alerts
Enum EEffect
java.lang.Object
java.lang.Enum<EEffect>
org.onebusaway.transit_data.model.service_alerts.EEffect
- All Implemented Interfaces:
- Serializable, Comparable<EEffect>
public enum EEffect
- extends Enum<EEffect>
Method Summary |
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. |
NO_SERVICE
public static final EEffect NO_SERVICE
REDUCED_SERVICE
public static final EEffect REDUCED_SERVICE
SIGNIFICANT_DELAYS
public static final EEffect SIGNIFICANT_DELAYS
DETOUR
public static final EEffect DETOUR
ADDITIONAL_SERVICE
public static final EEffect ADDITIONAL_SERVICE
MODIFIED_SERVICE
public static final EEffect MODIFIED_SERVICE
OTHER_EFFECT
public static final EEffect OTHER_EFFECT
UNKNOWN_EFFECT
public static final EEffect UNKNOWN_EFFECT
STOP_MOVED
public static final EEffect STOP_MOVED
values
public static EEffect[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (EEffect c : EEffect.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EEffect valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2012 OneBusAway. All Rights Reserved.