Enum TimepointPredictionBean.ScheduleRelationship
- java.lang.Object
-
- java.lang.Enum<TimepointPredictionBean.ScheduleRelationship>
-
- org.onebusaway.transit_data.model.trips.TimepointPredictionBean.ScheduleRelationship
-
- All Implemented Interfaces:
Serializable
,Comparable<TimepointPredictionBean.ScheduleRelationship>
- Enclosing class:
- TimepointPredictionBean
public static enum TimepointPredictionBean.ScheduleRelationship extends Enum<TimepointPredictionBean.ScheduleRelationship>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static TimepointPredictionBean.ScheduleRelationship
toEnum(int val)
static TimepointPredictionBean.ScheduleRelationship
valueOf(String name)
Returns the enum constant of this type with the specified name.static TimepointPredictionBean.ScheduleRelationship[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCHEDULED
public static final TimepointPredictionBean.ScheduleRelationship SCHEDULED
-
SKIPPED
public static final TimepointPredictionBean.ScheduleRelationship SKIPPED
-
NO_DATA
public static final TimepointPredictionBean.ScheduleRelationship NO_DATA
-
-
Method Detail
-
values
public static TimepointPredictionBean.ScheduleRelationship[] 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 (TimepointPredictionBean.ScheduleRelationship c : TimepointPredictionBean.ScheduleRelationship.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimepointPredictionBean.ScheduleRelationship 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
-
toEnum
public static TimepointPredictionBean.ScheduleRelationship toEnum(int val)
-
getValue
public int getValue()
-
-