Enum WinterEquipmentRequirementEnum
- java.lang.Object
-
- java.lang.Enum<WinterEquipmentRequirementEnum>
-
- eu.datex2.siri13.schema._1_0._1_0.WinterEquipmentRequirementEnum
-
- All Implemented Interfaces:
Serializable,Comparable<WinterEquipmentRequirementEnum>
public enum WinterEquipmentRequirementEnum extends Enum<WinterEquipmentRequirementEnum>
Java class for WinterEquipmentRequirementEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="WinterEquipmentRequirementEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="snowChainsMandatory"/> <enumeration value="snowChainsOrTyresMandatory"/> <enumeration value="snowTyresMandatory"/> <enumeration value="studTyresAreNotAllowed"/> <enumeration value="winterEquipmentMandatory"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OTHEROther than as defined in this enumeration.SNOW_CHAINS_MANDATORYSnow chains fitted to vehicle are mandatory.SNOW_CHAINS_OR_TYRES_MANDATORYSnow chains or snow tyres fitted to the vehicle are mandatory.SNOW_TYRES_MANDATORYSnow tyres fitted to the vehicle are mandatory.STUD_TYRES_ARE_NOT_ALLOWEDStud tyres are not authorised.WINTER_EQUIPMENT_MANDATORYCarrying of winter equipment (snow chains and/or snow tyres) is mandatory.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WinterEquipmentRequirementEnumfromValue(String v)Stringvalue()static WinterEquipmentRequirementEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static WinterEquipmentRequirementEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SNOW_CHAINS_MANDATORY
public static final WinterEquipmentRequirementEnum SNOW_CHAINS_MANDATORY
Snow chains fitted to vehicle are mandatory.
-
SNOW_CHAINS_OR_TYRES_MANDATORY
public static final WinterEquipmentRequirementEnum SNOW_CHAINS_OR_TYRES_MANDATORY
Snow chains or snow tyres fitted to the vehicle are mandatory.
-
SNOW_TYRES_MANDATORY
public static final WinterEquipmentRequirementEnum SNOW_TYRES_MANDATORY
Snow tyres fitted to the vehicle are mandatory.
-
STUD_TYRES_ARE_NOT_ALLOWED
public static final WinterEquipmentRequirementEnum STUD_TYRES_ARE_NOT_ALLOWED
Stud tyres are not authorised.
-
WINTER_EQUIPMENT_MANDATORY
public static final WinterEquipmentRequirementEnum WINTER_EQUIPMENT_MANDATORY
Carrying of winter equipment (snow chains and/or snow tyres) is mandatory.
-
OTHER
public static final WinterEquipmentRequirementEnum OTHER
Other than as defined in this enumeration.
-
-
Method Detail
-
values
public static WinterEquipmentRequirementEnum[] 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 (WinterEquipmentRequirementEnum c : WinterEquipmentRequirementEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WinterEquipmentRequirementEnum 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 WinterEquipmentRequirementEnum fromValue(String v)
-
-