Package uk.org.siri.siri21
Enum TypeOfNestedQuayEnumeration
- java.lang.Object
-
- java.lang.Enum<TypeOfNestedQuayEnumeration>
-
- uk.org.siri.siri21.TypeOfNestedQuayEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<TypeOfNestedQuayEnumeration>
public enum TypeOfNestedQuayEnumeration extends Enum<TypeOfNestedQuayEnumeration>
Java class for TypeOfNestedQuayEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TypeOfNestedQuayEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="platformGroup"/> <enumeration value="platform"/> <enumeration value="platformEdge"/> <enumeration value="platformSector"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PLATFORMA type of QUAY that consists of at least two child QUAYs of type 'platformEdge'.PLATFORM_EDGEA type of QUAY which allows direct access to a VEHICLE, e.g.PLATFORM_GROUPA type of QUAY that consists of multiple QUAYs of type 'platform'.PLATFORM_SECTORA QUAY of type 'platformEdge' may be divided into multiple sectors, e.g.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypeOfNestedQuayEnumerationfromValue(String v)Stringvalue()static TypeOfNestedQuayEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static TypeOfNestedQuayEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLATFORM_GROUP
public static final TypeOfNestedQuayEnumeration PLATFORM_GROUP
A type of QUAY that consists of multiple QUAYs of type 'platform'. Examples of such groups would be the lower and upper level of a station.
-
PLATFORM
public static final TypeOfNestedQuayEnumeration PLATFORM
A type of QUAY that consists of at least two child QUAYs of type 'platformEdge'.
-
PLATFORM_EDGE
public static final TypeOfNestedQuayEnumeration PLATFORM_EDGE
A type of QUAY which allows direct access to a VEHICLE, e.g. an on-street bus stop, or consists of multiple child QUAYs of type 'platformSector'.
-
PLATFORM_SECTOR
public static final TypeOfNestedQuayEnumeration PLATFORM_SECTOR
A QUAY of type 'platformEdge' may be divided into multiple sectors, e.g. "A", "B", "C" etc., to help passengers find a specific part of a vehicle. The first class carriage of a TRAIN might, for example, be assigned to sector "A" of a QUAY.
-
-
Method Detail
-
values
public static TypeOfNestedQuayEnumeration[] 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 (TypeOfNestedQuayEnumeration c : TypeOfNestedQuayEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypeOfNestedQuayEnumeration 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 TypeOfNestedQuayEnumeration fromValue(String v)
-
-