Package uk.org.ifopt.siri14
Enum StopPlaceComponentTypeEnumeration
- java.lang.Object
-
- java.lang.Enum<StopPlaceComponentTypeEnumeration>
-
- uk.org.ifopt.siri14.StopPlaceComponentTypeEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<StopPlaceComponentTypeEnumeration>
public enum StopPlaceComponentTypeEnumeration extends Enum<StopPlaceComponentTypeEnumeration>
Java class for StopPlaceComponentTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="StopPlaceComponentTypeEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="quay"/> <enumeration value="accessSpace"/> <enumeration value="entrance"/> <enumeration value="boardingPosition"/> <enumeration value="stoppingPlace"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_SPACEBOARDING_POSITIONENTRANCEQUAYSTOPPING_PLACE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StopPlaceComponentTypeEnumerationfromValue(String v)Stringvalue()static StopPlaceComponentTypeEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static StopPlaceComponentTypeEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUAY
public static final StopPlaceComponentTypeEnumeration QUAY
-
ACCESS_SPACE
public static final StopPlaceComponentTypeEnumeration ACCESS_SPACE
-
ENTRANCE
public static final StopPlaceComponentTypeEnumeration ENTRANCE
-
BOARDING_POSITION
public static final StopPlaceComponentTypeEnumeration BOARDING_POSITION
-
STOPPING_PLACE
public static final StopPlaceComponentTypeEnumeration STOPPING_PLACE
-
-
Method Detail
-
values
public static StopPlaceComponentTypeEnumeration[] 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 (StopPlaceComponentTypeEnumeration c : StopPlaceComponentTypeEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StopPlaceComponentTypeEnumeration 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 StopPlaceComponentTypeEnumeration fromValue(String v)
-
-