Enum WinterEquipmentManagementTypeEnum
- java.lang.Object
-
- java.lang.Enum<WinterEquipmentManagementTypeEnum>
-
- eu.datex2.siri20.schema._2_0rc1._2_0.WinterEquipmentManagementTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<WinterEquipmentManagementTypeEnum>
public enum WinterEquipmentManagementTypeEnum extends Enum<WinterEquipmentManagementTypeEnum>
Java class for WinterEquipmentManagementTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="WinterEquipmentManagementTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="doNoUseStudTyres"/> <enumeration value="useSnowChains"/> <enumeration value="useSnowChainsOrTyres"/> <enumeration value="useSnowTyres"/> <enumeration value="winterEquipmentOnBoardRequired"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DO_NO_USE_STUD_TYRESOTHERUSE_SNOW_CHAINSUSE_SNOW_CHAINS_OR_TYRESUSE_SNOW_TYRESWINTER_EQUIPMENT_ON_BOARD_REQUIRED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WinterEquipmentManagementTypeEnumfromValue(String v)Stringvalue()static WinterEquipmentManagementTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static WinterEquipmentManagementTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DO_NO_USE_STUD_TYRES
public static final WinterEquipmentManagementTypeEnum DO_NO_USE_STUD_TYRES
-
USE_SNOW_CHAINS
public static final WinterEquipmentManagementTypeEnum USE_SNOW_CHAINS
-
USE_SNOW_CHAINS_OR_TYRES
public static final WinterEquipmentManagementTypeEnum USE_SNOW_CHAINS_OR_TYRES
-
USE_SNOW_TYRES
public static final WinterEquipmentManagementTypeEnum USE_SNOW_TYRES
-
WINTER_EQUIPMENT_ON_BOARD_REQUIRED
public static final WinterEquipmentManagementTypeEnum WINTER_EQUIPMENT_ON_BOARD_REQUIRED
-
OTHER
public static final WinterEquipmentManagementTypeEnum OTHER
-
-
Method Detail
-
values
public static WinterEquipmentManagementTypeEnum[] 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 (WinterEquipmentManagementTypeEnum c : WinterEquipmentManagementTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WinterEquipmentManagementTypeEnum 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 WinterEquipmentManagementTypeEnum fromValue(String v)
-
-