Package uk.org.siri.siri21
Enum FormationChangeEnumeration
- java.lang.Object
-
- java.lang.Enum<FormationChangeEnumeration>
-
- uk.org.siri.siri21.FormationChangeEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<FormationChangeEnumeration>
public enum FormationChangeEnumeration extends Enum<FormationChangeEnumeration>
Java class for FormationChangeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="FormationChangeEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="changedFormation"/> <enumeration value="reversedFormation"/> <enumeration value="missingVehicles"/> <enumeration value="extraVehicles"/> <enumeration value="missingTrainInCompoundTrain"/> <enumeration value="extraTrainInCompoundTrain"/> <enumeration value="missingFamilyCoach"/> <enumeration value="missingThroughCoach"/> <enumeration value="missingLowFloorCoach"/> <enumeration value="missingRestaurantCoach"/> <enumeration value="missingWheelchairSpaces"/> </restriction> </simpleType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormationChangeEnumerationfromValue(String v)Stringvalue()static FormationChangeEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static FormationChangeEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHANGED_FORMATION
public static final FormationChangeEnumeration CHANGED_FORMATION
-
REVERSED_FORMATION
public static final FormationChangeEnumeration REVERSED_FORMATION
-
MISSING_VEHICLES
public static final FormationChangeEnumeration MISSING_VEHICLES
-
EXTRA_VEHICLES
public static final FormationChangeEnumeration EXTRA_VEHICLES
-
MISSING_TRAIN_IN_COMPOUND_TRAIN
public static final FormationChangeEnumeration MISSING_TRAIN_IN_COMPOUND_TRAIN
-
EXTRA_TRAIN_IN_COMPOUND_TRAIN
public static final FormationChangeEnumeration EXTRA_TRAIN_IN_COMPOUND_TRAIN
-
MISSING_FAMILY_COACH
public static final FormationChangeEnumeration MISSING_FAMILY_COACH
-
MISSING_THROUGH_COACH
public static final FormationChangeEnumeration MISSING_THROUGH_COACH
-
MISSING_LOW_FLOOR_COACH
public static final FormationChangeEnumeration MISSING_LOW_FLOOR_COACH
-
MISSING_RESTAURANT_COACH
public static final FormationChangeEnumeration MISSING_RESTAURANT_COACH
-
MISSING_WHEELCHAIR_SPACES
public static final FormationChangeEnumeration MISSING_WHEELCHAIR_SPACES
-
-
Method Detail
-
values
public static FormationChangeEnumeration[] 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 (FormationChangeEnumeration c : FormationChangeEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormationChangeEnumeration 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
-
value
public String value()
-
fromValue
public static FormationChangeEnumeration fromValue(String v)
-
-