Package uk.org.siri.siri21
Enum LinesDetailEnumeration
- java.lang.Object
-
- java.lang.Enum<LinesDetailEnumeration>
-
- uk.org.siri.siri21.LinesDetailEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<LinesDetailEnumeration>
public enum LinesDetailEnumeration extends Enum<LinesDetailEnumeration>
Java class for LinesDetailEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LinesDetailEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="minimum"/> <enumeration value="normal"/> <enumeration value="stops"/> <enumeration value="full"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinesDetailEnumerationfromValue(String v)Stringvalue()static LinesDetailEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static LinesDetailEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MINIMUM
public static final LinesDetailEnumeration MINIMUM
Return only the name and identifier of the stop.
-
NORMAL
public static final LinesDetailEnumeration NORMAL
Return name, dientifier and coordinates of the stop.
-
STOPS
public static final LinesDetailEnumeration STOPS
-
FULL
public static final LinesDetailEnumeration FULL
Return all available data for each stop.
-
-
Method Detail
-
values
public static LinesDetailEnumeration[] 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 (LinesDetailEnumeration c : LinesDetailEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LinesDetailEnumeration 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 LinesDetailEnumeration fromValue(String v)
-
-