Enum MatrixFaultEnum
- java.lang.Object
-
- java.lang.Enum<MatrixFaultEnum>
-
- eu.datex2.siri20.schema._2_0rc1._2_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="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_ASPECT_DISPLAYEDOTHEROUT_OF_SERVICEPOWER_FAILUREUNABLE_TO_CLEAR_DOWNUNKNOWN
-
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
-
INCORRECT_ASPECT_DISPLAYED
public static final MatrixFaultEnum INCORRECT_ASPECT_DISPLAYED
-
OUT_OF_SERVICE
public static final MatrixFaultEnum OUT_OF_SERVICE
-
POWER_FAILURE
public static final MatrixFaultEnum POWER_FAILURE
-
UNABLE_TO_CLEAR_DOWN
public static final MatrixFaultEnum UNABLE_TO_CLEAR_DOWN
-
UNKNOWN
public static final MatrixFaultEnum UNKNOWN
-
OTHER
public static final MatrixFaultEnum OTHER
-
-
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)
-
-