Enum RoadsideAssistanceTypeEnum
- java.lang.Object
-
- java.lang.Enum<RoadsideAssistanceTypeEnum>
-
- eu.datex2.siri13.schema._1_0._1_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_AMBULANCEAir ambulance assistance.BUS_PASSENGER_ASSISTANCEBus passenger assistance.EMERGENCY_SERVICESEmergency services assistance.FIRST_AIDFirst aid assistance.FOOD_DELIVERYFood delivery.HELICOPTER_RESCUEHelicopter rescue.OTHEROther than as defined in this enumeration.VEHICLE_RECOVERYVehicle recovery.VEHICLE_REPAIRVehicle repair assistance.
-
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
Air ambulance assistance.
-
BUS_PASSENGER_ASSISTANCE
public static final RoadsideAssistanceTypeEnum BUS_PASSENGER_ASSISTANCE
Bus passenger assistance.
-
EMERGENCY_SERVICES
public static final RoadsideAssistanceTypeEnum EMERGENCY_SERVICES
Emergency services assistance.
-
FIRST_AID
public static final RoadsideAssistanceTypeEnum FIRST_AID
First aid assistance.
-
FOOD_DELIVERY
public static final RoadsideAssistanceTypeEnum FOOD_DELIVERY
Food delivery.
-
HELICOPTER_RESCUE
public static final RoadsideAssistanceTypeEnum HELICOPTER_RESCUE
Helicopter rescue.
-
VEHICLE_REPAIR
public static final RoadsideAssistanceTypeEnum VEHICLE_REPAIR
Vehicle repair assistance.
-
VEHICLE_RECOVERY
public static final RoadsideAssistanceTypeEnum VEHICLE_RECOVERY
Vehicle recovery.
-
OTHER
public static final RoadsideAssistanceTypeEnum OTHER
Other than as defined in this enumeration.
-
-
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)
-
-