Enum MaintenanceVehicleActionsEnum
- java.lang.Object
-
- java.lang.Enum<MaintenanceVehicleActionsEnum>
-
- eu.datex2.siri20.schema._2_0rc1._2_0.MaintenanceVehicleActionsEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MaintenanceVehicleActionsEnum>
public enum MaintenanceVehicleActionsEnum extends Enum<MaintenanceVehicleActionsEnum>
Java class for MaintenanceVehicleActionsEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MaintenanceVehicleActionsEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="maintenanceVehiclesMergingIntoTrafficFlow"/> <enumeration value="saltAndGritSpreading"/> <enumeration value="slowMoving"/> <enumeration value="snowClearing"/> <enumeration value="stoppingToServiceEquipments"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAINTENANCE_VEHICLES_MERGING_INTO_TRAFFIC_FLOWSALT_AND_GRIT_SPREADINGSLOW_MOVINGSNOW_CLEARINGSTOPPING_TO_SERVICE_EQUIPMENTS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaintenanceVehicleActionsEnumfromValue(String v)Stringvalue()static MaintenanceVehicleActionsEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MaintenanceVehicleActionsEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAINTENANCE_VEHICLES_MERGING_INTO_TRAFFIC_FLOW
public static final MaintenanceVehicleActionsEnum MAINTENANCE_VEHICLES_MERGING_INTO_TRAFFIC_FLOW
-
SALT_AND_GRIT_SPREADING
public static final MaintenanceVehicleActionsEnum SALT_AND_GRIT_SPREADING
-
SLOW_MOVING
public static final MaintenanceVehicleActionsEnum SLOW_MOVING
-
SNOW_CLEARING
public static final MaintenanceVehicleActionsEnum SNOW_CLEARING
-
STOPPING_TO_SERVICE_EQUIPMENTS
public static final MaintenanceVehicleActionsEnum STOPPING_TO_SERVICE_EQUIPMENTS
-
-
Method Detail
-
values
public static MaintenanceVehicleActionsEnum[] 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 (MaintenanceVehicleActionsEnum c : MaintenanceVehicleActionsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaintenanceVehicleActionsEnum 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 MaintenanceVehicleActionsEnum fromValue(String v)
-
-