Package uk.org.siri.siri13
Enum BoardingActivityEnumeration
- java.lang.Object
-
- java.lang.Enum<BoardingActivityEnumeration>
-
- uk.org.siri.siri13.BoardingActivityEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<BoardingActivityEnumeration>
public enum BoardingActivityEnumeration extends Enum<BoardingActivityEnumeration>
Java class for BoardingActivityEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="BoardingActivityEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="boardingAndAlighting"/> <enumeration value="noBoarding"/> <enumeration value="noAlighting"/> <enumeration value="passThru"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOARDING_AND_ALIGHTINGNO_ALIGHTINGNO_BOARDINGPASS_THRU
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BoardingActivityEnumerationfromValue(String v)Stringvalue()static BoardingActivityEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static BoardingActivityEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOARDING_AND_ALIGHTING
public static final BoardingActivityEnumeration BOARDING_AND_ALIGHTING
-
NO_BOARDING
public static final BoardingActivityEnumeration NO_BOARDING
-
NO_ALIGHTING
public static final BoardingActivityEnumeration NO_ALIGHTING
-
PASS_THRU
public static final BoardingActivityEnumeration PASS_THRU
-
-
Method Detail
-
values
public static BoardingActivityEnumeration[] 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 (BoardingActivityEnumeration c : BoardingActivityEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BoardingActivityEnumeration 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 BoardingActivityEnumeration fromValue(String v)
-
-