Enum MaintenanceVehicleActionsEnum
- java.lang.Object
-
- java.lang.Enum<MaintenanceVehicleActionsEnum>
-
- eu.datex2.siri14.schema._1_0._1_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_FLOWMaintenance vehicles are merging into the traffic flow creating a potential hazard for road users.SALT_AND_GRIT_SPREADINGMaintenance vehicle(s) are spreading salt and/or grit.SLOW_MOVINGMaintenance vehicles are slow moving.SNOW_CLEARINGMaintenance vehicle(s) are involved in the clearance of snow.STOPPING_TO_SERVICE_EQUIPMENTSMaintenance vehicles are stopping to service equipments on or next to the roadway.
-
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
Maintenance vehicles are merging into the traffic flow creating a potential hazard for road users.
-
SALT_AND_GRIT_SPREADING
public static final MaintenanceVehicleActionsEnum SALT_AND_GRIT_SPREADING
Maintenance vehicle(s) are spreading salt and/or grit.
-
SLOW_MOVING
public static final MaintenanceVehicleActionsEnum SLOW_MOVING
Maintenance vehicles are slow moving.
-
SNOW_CLEARING
public static final MaintenanceVehicleActionsEnum SNOW_CLEARING
Maintenance vehicle(s) are involved in the clearance of snow.
-
STOPPING_TO_SERVICE_EQUIPMENTS
public static final MaintenanceVehicleActionsEnum STOPPING_TO_SERVICE_EQUIPMENTS
Maintenance vehicles are stopping to service equipments on or next to the roadway.
-
-
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)
-
-