Enum VMSFaultEnum
- java.lang.Object
-
- java.lang.Enum<VMSFaultEnum>
-
- eu.datex2.siri14.schema._1_0._1_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="powerFailure"/> <enumeration value="unableToClearDown"/> <enumeration value="unknown"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMUNICATIONS_FAILUREComunications failure affecting VMS.INCORRECT_MESSAGE_DISPLAYEDIncorrect message is being displayed.INCORRECT_PICTOGRAM_DISPLAYEDIncorrect pictogram is being displayed.OTHEROther than as defined in this enumeration.POWER_FAILUREPower to VMS has failed.UNABLE_TO_CLEAR_DOWNUnable to clear down information displayed on VMS.UNKNOWNUnknown VMS fault.
-
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
Comunications failure affecting VMS.
-
INCORRECT_MESSAGE_DISPLAYED
public static final VMSFaultEnum INCORRECT_MESSAGE_DISPLAYED
Incorrect message is being displayed.
-
INCORRECT_PICTOGRAM_DISPLAYED
public static final VMSFaultEnum INCORRECT_PICTOGRAM_DISPLAYED
Incorrect pictogram is being displayed.
-
POWER_FAILURE
public static final VMSFaultEnum POWER_FAILURE
Power to VMS has failed.
-
UNABLE_TO_CLEAR_DOWN
public static final VMSFaultEnum UNABLE_TO_CLEAR_DOWN
Unable to clear down information displayed on VMS.
-
UNKNOWN
public static final VMSFaultEnum UNKNOWN
Unknown VMS fault.
-
OTHER
public static final VMSFaultEnum OTHER
Other than as defined in this enumeration.
-
-
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)
-
-