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>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDITIONAL_SERVICE
DETOUR
MODIFIED_SERVICE
NO_SERVICE
OTHER_EFFECT
REDUCED_SERVICE
SIGNIFICANT_DELAYS
STOP_MOVED
UNKNOWN_EFFECT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
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
-
-
Method Detail
-
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 nameNullPointerException
- if the argument is null
-
-