Package uk.org.siri.siri14
Enum TramSubmodesOfTransportEnumeration
- java.lang.Object
-
- java.lang.Enum<TramSubmodesOfTransportEnumeration>
-
- uk.org.siri.siri14.TramSubmodesOfTransportEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<TramSubmodesOfTransportEnumeration>
public enum TramSubmodesOfTransportEnumeration extends Enum<TramSubmodesOfTransportEnumeration>
Java class for TramSubmodesOfTransportEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TramSubmodesOfTransportEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="pti6_0"/> <enumeration value="loc12_0"/> <enumeration value="unknown"/> <enumeration value="pti6_1"/> <enumeration value="loc12_1"/> <enumeration value="cityTram"/> <enumeration value="pti6_2"/> <enumeration value="localTramService"/> <enumeration value="pti6_3"/> <enumeration value="regionalTram"/> <enumeration value="pti6_4"/> <enumeration value="loc12_2"/> <enumeration value="sightseeingTram"/> <enumeration value="pti6_5"/> <enumeration value="shuttleTram"/> <enumeration value="pti6_6"/> <enumeration value="allTramServices"/> <enumeration value="pti6_255"/> <enumeration value="loc12_255"/> <enumeration value="undefinedTramService"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_TRAM_SERVICESCITY_TRAMLOC_12_0LOC_12_1LOC_12_2LOC_12_255LOCAL_TRAM_SERVICEPTI_6_0PTI_6_1PTI_6_2PTI_6_255PTI_6_3PTI_6_4PTI_6_5PTI_6_6REGIONAL_TRAMSHUTTLE_TRAMSIGHTSEEING_TRAMUNDEFINED_TRAM_SERVICEUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TramSubmodesOfTransportEnumerationfromValue(String v)Stringvalue()static TramSubmodesOfTransportEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static TramSubmodesOfTransportEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PTI_6_0
public static final TramSubmodesOfTransportEnumeration PTI_6_0
-
LOC_12_0
public static final TramSubmodesOfTransportEnumeration LOC_12_0
-
UNKNOWN
public static final TramSubmodesOfTransportEnumeration UNKNOWN
-
PTI_6_1
public static final TramSubmodesOfTransportEnumeration PTI_6_1
-
LOC_12_1
public static final TramSubmodesOfTransportEnumeration LOC_12_1
-
CITY_TRAM
public static final TramSubmodesOfTransportEnumeration CITY_TRAM
-
PTI_6_2
public static final TramSubmodesOfTransportEnumeration PTI_6_2
-
LOCAL_TRAM_SERVICE
public static final TramSubmodesOfTransportEnumeration LOCAL_TRAM_SERVICE
-
PTI_6_3
public static final TramSubmodesOfTransportEnumeration PTI_6_3
-
REGIONAL_TRAM
public static final TramSubmodesOfTransportEnumeration REGIONAL_TRAM
-
PTI_6_4
public static final TramSubmodesOfTransportEnumeration PTI_6_4
-
LOC_12_2
public static final TramSubmodesOfTransportEnumeration LOC_12_2
-
SIGHTSEEING_TRAM
public static final TramSubmodesOfTransportEnumeration SIGHTSEEING_TRAM
-
PTI_6_5
public static final TramSubmodesOfTransportEnumeration PTI_6_5
-
SHUTTLE_TRAM
public static final TramSubmodesOfTransportEnumeration SHUTTLE_TRAM
-
PTI_6_6
public static final TramSubmodesOfTransportEnumeration PTI_6_6
-
ALL_TRAM_SERVICES
public static final TramSubmodesOfTransportEnumeration ALL_TRAM_SERVICES
-
PTI_6_255
public static final TramSubmodesOfTransportEnumeration PTI_6_255
-
LOC_12_255
public static final TramSubmodesOfTransportEnumeration LOC_12_255
-
UNDEFINED_TRAM_SERVICE
public static final TramSubmodesOfTransportEnumeration UNDEFINED_TRAM_SERVICE
-
-
Method Detail
-
values
public static TramSubmodesOfTransportEnumeration[] 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 (TramSubmodesOfTransportEnumeration c : TramSubmodesOfTransportEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TramSubmodesOfTransportEnumeration 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 TramSubmodesOfTransportEnumeration fromValue(String v)
-
-