Package uk.org.ifopt.siri14
Enum QuayTypeEnumeration
- java.lang.Object
-
- java.lang.Enum<QuayTypeEnumeration>
-
- uk.org.ifopt.siri14.QuayTypeEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<QuayTypeEnumeration>
public enum QuayTypeEnumeration extends Enum<QuayTypeEnumeration>
Java class for QuayTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="QuayTypeEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="airlineGate"/> <enumeration value="railPlatform"/> <enumeration value="metroPlatform"/> <enumeration value="coachStop"/> <enumeration value="busStop"/> <enumeration value="tramStop"/> <enumeration value="boatQuay"/> <enumeration value="ferryLanding"/> <enumeration value="telecabinePlatfrom"/> <enumeration value="taxiStand"/> <enumeration value="setDownPlace"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AIRLINE_GATEBOAT_QUAYBUS_STOPCOACH_STOPFERRY_LANDINGMETRO_PLATFORMOTHERRAIL_PLATFORMSET_DOWN_PLACETAXI_STANDTELECABINE_PLATFROMTRAM_STOP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuayTypeEnumerationfromValue(String v)Stringvalue()static QuayTypeEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static QuayTypeEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AIRLINE_GATE
public static final QuayTypeEnumeration AIRLINE_GATE
-
RAIL_PLATFORM
public static final QuayTypeEnumeration RAIL_PLATFORM
-
METRO_PLATFORM
public static final QuayTypeEnumeration METRO_PLATFORM
-
COACH_STOP
public static final QuayTypeEnumeration COACH_STOP
-
BUS_STOP
public static final QuayTypeEnumeration BUS_STOP
-
TRAM_STOP
public static final QuayTypeEnumeration TRAM_STOP
-
BOAT_QUAY
public static final QuayTypeEnumeration BOAT_QUAY
-
FERRY_LANDING
public static final QuayTypeEnumeration FERRY_LANDING
-
TELECABINE_PLATFROM
public static final QuayTypeEnumeration TELECABINE_PLATFROM
-
TAXI_STAND
public static final QuayTypeEnumeration TAXI_STAND
-
SET_DOWN_PLACE
public static final QuayTypeEnumeration SET_DOWN_PLACE
-
OTHER
public static final QuayTypeEnumeration OTHER
-
-
Method Detail
-
values
public static QuayTypeEnumeration[] 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 (QuayTypeEnumeration c : QuayTypeEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QuayTypeEnumeration 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 QuayTypeEnumeration fromValue(String v)
-
-