org.onebusaway.transit_data_federation.services.service_alerts
Enum ServiceAlerts.ServiceAlert.Cause

java.lang.Object
  extended by java.lang.Enum<ServiceAlerts.ServiceAlert.Cause>
      extended by org.onebusaway.transit_data_federation.services.service_alerts.ServiceAlerts.ServiceAlert.Cause
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ServiceAlerts.ServiceAlert.Cause>
Enclosing class:
ServiceAlerts.ServiceAlert

public static enum ServiceAlerts.ServiceAlert.Cause
extends Enum<ServiceAlerts.ServiceAlert.Cause>
implements com.google.protobuf.ProtocolMessageEnum


Enum Constant Summary
ACCIDENT
           
CONSTRUCTION
           
DEMONSTRATION
           
HOLIDAY
           
MAINTENANCE
           
MEDICAL_EMERGENCY
           
OTHER_CAUSE
           
POLICE_ACTIVITY
           
STRIKE
           
TECHNICAL_PROBLEM
           
UNKNOWN_CAUSE
           
WEATHER
           
 
Field Summary
static int ACCIDENT_VALUE
           
static int CONSTRUCTION_VALUE
           
static int DEMONSTRATION_VALUE
           
static int HOLIDAY_VALUE
           
static int MAINTENANCE_VALUE
           
static int MEDICAL_EMERGENCY_VALUE
           
static int OTHER_CAUSE_VALUE
           
static int POLICE_ACTIVITY_VALUE
           
static int STRIKE_VALUE
           
static int TECHNICAL_PROBLEM_VALUE
           
static int UNKNOWN_CAUSE_VALUE
           
static int WEATHER_VALUE
           
 
Method Summary
static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
           
 com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
           
 int getNumber()
           
 com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
           
static com.google.protobuf.Internal.EnumLiteMap<ServiceAlerts.ServiceAlert.Cause> internalGetValueMap()
           
static ServiceAlerts.ServiceAlert.Cause valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static ServiceAlerts.ServiceAlert.Cause valueOf(int value)
           
static ServiceAlerts.ServiceAlert.Cause valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ServiceAlerts.ServiceAlert.Cause[] 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

UNKNOWN_CAUSE

public static final ServiceAlerts.ServiceAlert.Cause UNKNOWN_CAUSE

OTHER_CAUSE

public static final ServiceAlerts.ServiceAlert.Cause OTHER_CAUSE

TECHNICAL_PROBLEM

public static final ServiceAlerts.ServiceAlert.Cause TECHNICAL_PROBLEM

STRIKE

public static final ServiceAlerts.ServiceAlert.Cause STRIKE

DEMONSTRATION

public static final ServiceAlerts.ServiceAlert.Cause DEMONSTRATION

ACCIDENT

public static final ServiceAlerts.ServiceAlert.Cause ACCIDENT

HOLIDAY

public static final ServiceAlerts.ServiceAlert.Cause HOLIDAY

WEATHER

public static final ServiceAlerts.ServiceAlert.Cause WEATHER

MAINTENANCE

public static final ServiceAlerts.ServiceAlert.Cause MAINTENANCE

CONSTRUCTION

public static final ServiceAlerts.ServiceAlert.Cause CONSTRUCTION

POLICE_ACTIVITY

public static final ServiceAlerts.ServiceAlert.Cause POLICE_ACTIVITY

MEDICAL_EMERGENCY

public static final ServiceAlerts.ServiceAlert.Cause MEDICAL_EMERGENCY
Field Detail

UNKNOWN_CAUSE_VALUE

public static final int UNKNOWN_CAUSE_VALUE
See Also:
Constant Field Values

OTHER_CAUSE_VALUE

public static final int OTHER_CAUSE_VALUE
See Also:
Constant Field Values

TECHNICAL_PROBLEM_VALUE

public static final int TECHNICAL_PROBLEM_VALUE
See Also:
Constant Field Values

STRIKE_VALUE

public static final int STRIKE_VALUE
See Also:
Constant Field Values

DEMONSTRATION_VALUE

public static final int DEMONSTRATION_VALUE
See Also:
Constant Field Values

ACCIDENT_VALUE

public static final int ACCIDENT_VALUE
See Also:
Constant Field Values

HOLIDAY_VALUE

public static final int HOLIDAY_VALUE
See Also:
Constant Field Values

WEATHER_VALUE

public static final int WEATHER_VALUE
See Also:
Constant Field Values

MAINTENANCE_VALUE

public static final int MAINTENANCE_VALUE
See Also:
Constant Field Values

CONSTRUCTION_VALUE

public static final int CONSTRUCTION_VALUE
See Also:
Constant Field Values

POLICE_ACTIVITY_VALUE

public static final int POLICE_ACTIVITY_VALUE
See Also:
Constant Field Values

MEDICAL_EMERGENCY_VALUE

public static final int MEDICAL_EMERGENCY_VALUE
See Also:
Constant Field Values
Method Detail

values

public static ServiceAlerts.ServiceAlert.Cause[] 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 (ServiceAlerts.ServiceAlert.Cause c : ServiceAlerts.ServiceAlert.Cause.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ServiceAlerts.ServiceAlert.Cause 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

getNumber

public final int getNumber()
Specified by:
getNumber in interface com.google.protobuf.Internal.EnumLite
Specified by:
getNumber in interface com.google.protobuf.ProtocolMessageEnum

valueOf

public static ServiceAlerts.ServiceAlert.Cause valueOf(int value)

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<ServiceAlerts.ServiceAlert.Cause> internalGetValueMap()

getValueDescriptor

public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
Specified by:
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum

getDescriptorForType

public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum

getDescriptor

public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()

valueOf

public static ServiceAlerts.ServiceAlert.Cause valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)


Copyright © 2011 OneBusAway. All Rights Reserved.