Enum VmsFaultEnum
- java.lang.Object
-
- java.lang.Enum<VmsFaultEnum>
-
- eu.datex2.siri20.schema._2_0rc1._2_0.VmsFaultEnum
-
- All Implemented Interfaces:
Serializable,Comparable<VmsFaultEnum>
public enum VmsFaultEnum extends Enum<VmsFaultEnum>
Java class for VmsFaultEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="VmsFaultEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="communicationsFailure"/> <enumeration value="incorrectMessageDisplayed"/> <enumeration value="incorrectPictogramDisplayed"/> <enumeration value="outOfService"/> <enumeration value="powerFailure"/> <enumeration value="unableToClearDown"/> <enumeration value="unknown"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMUNICATIONS_FAILUREINCORRECT_MESSAGE_DISPLAYEDINCORRECT_PICTOGRAM_DISPLAYEDOTHEROUT_OF_SERVICEPOWER_FAILUREUNABLE_TO_CLEAR_DOWNUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VmsFaultEnumfromValue(String v)Stringvalue()static VmsFaultEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static VmsFaultEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMUNICATIONS_FAILURE
public static final VmsFaultEnum COMMUNICATIONS_FAILURE
-
INCORRECT_MESSAGE_DISPLAYED
public static final VmsFaultEnum INCORRECT_MESSAGE_DISPLAYED
-
INCORRECT_PICTOGRAM_DISPLAYED
public static final VmsFaultEnum INCORRECT_PICTOGRAM_DISPLAYED
-
OUT_OF_SERVICE
public static final VmsFaultEnum OUT_OF_SERVICE
-
POWER_FAILURE
public static final VmsFaultEnum POWER_FAILURE
-
UNABLE_TO_CLEAR_DOWN
public static final VmsFaultEnum UNABLE_TO_CLEAR_DOWN
-
UNKNOWN
public static final VmsFaultEnum UNKNOWN
-
OTHER
public static final VmsFaultEnum OTHER
-
-
Method Detail
-
values
public static VmsFaultEnum[] 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 (VmsFaultEnum c : VmsFaultEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VmsFaultEnum 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 VmsFaultEnum fromValue(String v)
-
-