Enum MatrixFaultEnum
- java.lang.Object
-
- java.lang.Enum<MatrixFaultEnum>
-
- eu.datex2.siri14.schema._1_0._1_0.MatrixFaultEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MatrixFaultEnum>
public enum MatrixFaultEnum extends Enum<MatrixFaultEnum>
Java class for MatrixFaultEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MatrixFaultEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="communicationsFailure"/> <enumeration value="incorrectAspectDisplayed"/> <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 matrix sign.INCORRECT_ASPECT_DISPLAYEDIncorrect aspect (face) is being displayed.OTHEROther than as defined in this enumeration.POWER_FAILUREPower to matrix sign has failed.UNABLE_TO_CLEAR_DOWNUnable to clear down aspect displayed on matrix sign.UNKNOWNUnknown matrix sign fault.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MatrixFaultEnumfromValue(String v)Stringvalue()static MatrixFaultEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MatrixFaultEnum[]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 MatrixFaultEnum COMMUNICATIONS_FAILURE
Comunications failure affecting matrix sign.
-
INCORRECT_ASPECT_DISPLAYED
public static final MatrixFaultEnum INCORRECT_ASPECT_DISPLAYED
Incorrect aspect (face) is being displayed.
-
POWER_FAILURE
public static final MatrixFaultEnum POWER_FAILURE
Power to matrix sign has failed.
-
UNABLE_TO_CLEAR_DOWN
public static final MatrixFaultEnum UNABLE_TO_CLEAR_DOWN
Unable to clear down aspect displayed on matrix sign.
-
UNKNOWN
public static final MatrixFaultEnum UNKNOWN
Unknown matrix sign fault.
-
OTHER
public static final MatrixFaultEnum OTHER
Other than as defined in this enumeration.
-
-
Method Detail
-
values
public static MatrixFaultEnum[] 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 (MatrixFaultEnum c : MatrixFaultEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatrixFaultEnum 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 MatrixFaultEnum fromValue(String v)
-
-