Package uk.org.siri.siri20
Enum CoachSubmodesOfTransportEnumeration
- java.lang.Object
-
- java.lang.Enum<CoachSubmodesOfTransportEnumeration>
-
- uk.org.siri.siri20.CoachSubmodesOfTransportEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<CoachSubmodesOfTransportEnumeration>
public enum CoachSubmodesOfTransportEnumeration extends Enum<CoachSubmodesOfTransportEnumeration>
Java class for CoachSubmodesOfTransportEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CoachSubmodesOfTransportEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="pti3_0"/> <enumeration value="unknown"/> <enumeration value="pti3_1"/> <enumeration value="internationalCoachService"/> <enumeration value="pti3_2"/> <enumeration value="nationalCoachService"/> <enumeration value="pti3_3"/> <enumeration value="shuttleCoachService"/> <enumeration value="pti3_4"/> <enumeration value="regionalCoachService"/> <enumeration value="pti3_5"/> <enumeration value="specialCoachService"/> <enumeration value="pti3_6"/> <enumeration value="sightseeingCoachService"/> <enumeration value="pti3_7"/> <enumeration value="touristCoachService"/> <enumeration value="pti3_8"/> <enumeration value="commuterCoachService"/> <enumeration value="pti3_9"/> <enumeration value="allCoachServices"/> <enumeration value="pti3_255"/> <enumeration value="undefined"/> </restriction> </simpleType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CoachSubmodesOfTransportEnumerationfromValue(String v)Stringvalue()static CoachSubmodesOfTransportEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static CoachSubmodesOfTransportEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PTI_3_0
public static final CoachSubmodesOfTransportEnumeration PTI_3_0
-
UNKNOWN
public static final CoachSubmodesOfTransportEnumeration UNKNOWN
-
PTI_3_1
public static final CoachSubmodesOfTransportEnumeration PTI_3_1
-
INTERNATIONAL_COACH_SERVICE
public static final CoachSubmodesOfTransportEnumeration INTERNATIONAL_COACH_SERVICE
-
PTI_3_2
public static final CoachSubmodesOfTransportEnumeration PTI_3_2
-
NATIONAL_COACH_SERVICE
public static final CoachSubmodesOfTransportEnumeration NATIONAL_COACH_SERVICE
-
PTI_3_3
public static final CoachSubmodesOfTransportEnumeration PTI_3_3
-
SHUTTLE_COACH_SERVICE
public static final CoachSubmodesOfTransportEnumeration SHUTTLE_COACH_SERVICE
-
PTI_3_4
public static final CoachSubmodesOfTransportEnumeration PTI_3_4
-
REGIONAL_COACH_SERVICE
public static final CoachSubmodesOfTransportEnumeration REGIONAL_COACH_SERVICE
-
PTI_3_5
public static final CoachSubmodesOfTransportEnumeration PTI_3_5
-
SPECIAL_COACH_SERVICE
public static final CoachSubmodesOfTransportEnumeration SPECIAL_COACH_SERVICE
-
PTI_3_6
public static final CoachSubmodesOfTransportEnumeration PTI_3_6
-
SIGHTSEEING_COACH_SERVICE
public static final CoachSubmodesOfTransportEnumeration SIGHTSEEING_COACH_SERVICE
-
PTI_3_7
public static final CoachSubmodesOfTransportEnumeration PTI_3_7
-
TOURIST_COACH_SERVICE
public static final CoachSubmodesOfTransportEnumeration TOURIST_COACH_SERVICE
-
PTI_3_8
public static final CoachSubmodesOfTransportEnumeration PTI_3_8
-
COMMUTER_COACH_SERVICE
public static final CoachSubmodesOfTransportEnumeration COMMUTER_COACH_SERVICE
-
PTI_3_9
public static final CoachSubmodesOfTransportEnumeration PTI_3_9
-
ALL_COACH_SERVICES
public static final CoachSubmodesOfTransportEnumeration ALL_COACH_SERVICES
-
PTI_3_255
public static final CoachSubmodesOfTransportEnumeration PTI_3_255
-
UNDEFINED
public static final CoachSubmodesOfTransportEnumeration UNDEFINED
-
-
Method Detail
-
values
public static CoachSubmodesOfTransportEnumeration[] 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 (CoachSubmodesOfTransportEnumeration c : CoachSubmodesOfTransportEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoachSubmodesOfTransportEnumeration 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 CoachSubmodesOfTransportEnumeration fromValue(String v)
-
-