Package uk.org.siri.siri20
Enum StopPointTypeEnumeration
- java.lang.Object
-
- java.lang.Enum<StopPointTypeEnumeration>
-
- uk.org.siri.siri20.StopPointTypeEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<StopPointTypeEnumeration>
public enum StopPointTypeEnumeration extends Enum<StopPointTypeEnumeration>
Java class for StopPointTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="StopPointTypeEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="pti17_0"/> <enumeration value="unknown"/> <enumeration value="pti17_1"/> <enumeration value="platformNumber"/> <enumeration value="pti17_2"/> <enumeration value="terminalGate"/> <enumeration value="pti17_3"/> <enumeration value="ferryBerth"/> <enumeration value="pti17_4"/> <enumeration value="harbourPier"/> <enumeration value="pti17_5"/> <enumeration value="landingStage"/> <enumeration value="pti17_6"/> <enumeration value="busStop"/> <enumeration value="pti17_255"/> <enumeration value="undefinedBookingInformation"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUS_STOPFERRY_BERTHHARBOUR_PIERLANDING_STAGEPLATFORM_NUMBERPTI_17_0PTI_17_1PTI_17_2PTI_17_255PTI_17_3PTI_17_4PTI_17_5PTI_17_6TERMINAL_GATEUNDEFINED_BOOKING_INFORMATIONUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StopPointTypeEnumerationfromValue(String v)Stringvalue()static StopPointTypeEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static StopPointTypeEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PTI_17_0
public static final StopPointTypeEnumeration PTI_17_0
-
UNKNOWN
public static final StopPointTypeEnumeration UNKNOWN
-
PTI_17_1
public static final StopPointTypeEnumeration PTI_17_1
-
PLATFORM_NUMBER
public static final StopPointTypeEnumeration PLATFORM_NUMBER
-
PTI_17_2
public static final StopPointTypeEnumeration PTI_17_2
-
TERMINAL_GATE
public static final StopPointTypeEnumeration TERMINAL_GATE
-
PTI_17_3
public static final StopPointTypeEnumeration PTI_17_3
-
FERRY_BERTH
public static final StopPointTypeEnumeration FERRY_BERTH
-
PTI_17_4
public static final StopPointTypeEnumeration PTI_17_4
-
HARBOUR_PIER
public static final StopPointTypeEnumeration HARBOUR_PIER
-
PTI_17_5
public static final StopPointTypeEnumeration PTI_17_5
-
LANDING_STAGE
public static final StopPointTypeEnumeration LANDING_STAGE
-
PTI_17_6
public static final StopPointTypeEnumeration PTI_17_6
-
BUS_STOP
public static final StopPointTypeEnumeration BUS_STOP
-
PTI_17_255
public static final StopPointTypeEnumeration PTI_17_255
-
UNDEFINED_BOOKING_INFORMATION
public static final StopPointTypeEnumeration UNDEFINED_BOOKING_INFORMATION
-
-
Method Detail
-
values
public static StopPointTypeEnumeration[] 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 (StopPointTypeEnumeration c : StopPointTypeEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StopPointTypeEnumeration 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 StopPointTypeEnumeration fromValue(String v)
-
-