Package uk.org.siri.siri13
Enum ScopeTypeEnumeration
- java.lang.Object
-
- java.lang.Enum<ScopeTypeEnumeration>
-
- uk.org.siri.siri13.ScopeTypeEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<ScopeTypeEnumeration>
public enum ScopeTypeEnumeration extends Enum<ScopeTypeEnumeration>
Java class for ScopeTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ScopeTypeEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="general"/> <enumeration value="operator"/> <enumeration value="network"/> <enumeration value="route"/> <enumeration value="line"/> <enumeration value="place"/> <enumeration value="stopPlace"/> <enumeration value="stopPlaceComponent"/> <enumeration value="stopPoint"/> <enumeration value="vehicleJourney"/> <enumeration value="datedVehicleJourney"/> <enumeration value="connectionLink"/> <enumeration value="interchange"/> <enumeration value="road"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTION_LINKDATED_VEHICLE_JOURNEYGENERALINTERCHANGELINENETWORKOPERATORPLACEROADROUTESTOP_PLACESTOP_PLACE_COMPONENTSTOP_POINTVEHICLE_JOURNEY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScopeTypeEnumerationfromValue(String v)Stringvalue()static ScopeTypeEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static ScopeTypeEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERAL
public static final ScopeTypeEnumeration GENERAL
-
OPERATOR
public static final ScopeTypeEnumeration OPERATOR
-
NETWORK
public static final ScopeTypeEnumeration NETWORK
-
ROUTE
public static final ScopeTypeEnumeration ROUTE
-
LINE
public static final ScopeTypeEnumeration LINE
-
PLACE
public static final ScopeTypeEnumeration PLACE
-
STOP_PLACE
public static final ScopeTypeEnumeration STOP_PLACE
-
STOP_PLACE_COMPONENT
public static final ScopeTypeEnumeration STOP_PLACE_COMPONENT
-
STOP_POINT
public static final ScopeTypeEnumeration STOP_POINT
-
VEHICLE_JOURNEY
public static final ScopeTypeEnumeration VEHICLE_JOURNEY
-
DATED_VEHICLE_JOURNEY
public static final ScopeTypeEnumeration DATED_VEHICLE_JOURNEY
-
CONNECTION_LINK
public static final ScopeTypeEnumeration CONNECTION_LINK
-
INTERCHANGE
public static final ScopeTypeEnumeration INTERCHANGE
-
ROAD
public static final ScopeTypeEnumeration ROAD
-
-
Method Detail
-
values
public static ScopeTypeEnumeration[] 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 (ScopeTypeEnumeration c : ScopeTypeEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScopeTypeEnumeration 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 ScopeTypeEnumeration fromValue(String v)
-
-