org.onebusaway.transit_data.model.service_alerts
Enum EEffect

java.lang.Object
  extended by java.lang.Enum<EEffect>
      extended by org.onebusaway.transit_data.model.service_alerts.EEffect
All Implemented Interfaces:
Serializable, Comparable<EEffect>

public enum EEffect
extends Enum<EEffect>


Enum Constant Summary
ADDITIONAL_SERVICE
           
DETOUR
           
MODIFIED_SERVICE
           
NO_SERVICE
           
OTHER_EFFECT
           
REDUCED_SERVICE
           
SIGNIFICANT_DELAYS
           
STOP_MOVED
           
UNKNOWN_EFFECT
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null


Copyright © 2012 OneBusAway. All Rights Reserved.