Enum RoadsideAssistanceTypeEnum
- java.lang.Object
-
- java.lang.Enum<RoadsideAssistanceTypeEnum>
-
- eu.datex2.siri21.schema._2_0rc1._2_0.RoadsideAssistanceTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<RoadsideAssistanceTypeEnum>
public enum RoadsideAssistanceTypeEnum extends Enum<RoadsideAssistanceTypeEnum>
Java class for RoadsideAssistanceTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RoadsideAssistanceTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="airAmbulance"/> <enumeration value="busPassengerAssistance"/> <enumeration value="emergencyServices"/> <enumeration value="firstAid"/> <enumeration value="foodDelivery"/> <enumeration value="helicopterRescue"/> <enumeration value="vehicleRepair"/> <enumeration value="vehicleRecovery"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AIR_AMBULANCEBUS_PASSENGER_ASSISTANCEEMERGENCY_SERVICESFIRST_AIDFOOD_DELIVERYHELICOPTER_RESCUEOTHERVEHICLE_RECOVERYVEHICLE_REPAIR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoadsideAssistanceTypeEnumfromValue(String v)Stringvalue()static RoadsideAssistanceTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static RoadsideAssistanceTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AIR_AMBULANCE
public static final RoadsideAssistanceTypeEnum AIR_AMBULANCE
-
BUS_PASSENGER_ASSISTANCE
public static final RoadsideAssistanceTypeEnum BUS_PASSENGER_ASSISTANCE
-
EMERGENCY_SERVICES
public static final RoadsideAssistanceTypeEnum EMERGENCY_SERVICES
-
FIRST_AID
public static final RoadsideAssistanceTypeEnum FIRST_AID
-
FOOD_DELIVERY
public static final RoadsideAssistanceTypeEnum FOOD_DELIVERY
-
HELICOPTER_RESCUE
public static final RoadsideAssistanceTypeEnum HELICOPTER_RESCUE
-
VEHICLE_REPAIR
public static final RoadsideAssistanceTypeEnum VEHICLE_REPAIR
-
VEHICLE_RECOVERY
public static final RoadsideAssistanceTypeEnum VEHICLE_RECOVERY
-
OTHER
public static final RoadsideAssistanceTypeEnum OTHER
-
-
Method Detail
-
values
public static RoadsideAssistanceTypeEnum[] 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 (RoadsideAssistanceTypeEnum c : RoadsideAssistanceTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RoadsideAssistanceTypeEnum 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 RoadsideAssistanceTypeEnum fromValue(String v)
-
-