public enum ZustandNotstrom extends java.lang.Enum<ZustandNotstrom>
Enum Constant and Description |
---|
aktiv
Der
ZustandNotstrom "in Ordnung, aktiv" (1). |
na
Der
ZustandNotstrom "Nicht ermittelbar" (-1). |
passiv
Der
ZustandNotstrom "in Ordnung, passiv" (0). |
Stoerung
Der
ZustandNotstrom "Störung" (2). |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getText()
Liefert den Namen eines
ZustandNotstrom . |
int |
getValue()
Liefert die Ordinalzahl eines
ZustandNotstrom . |
static ZustandNotstrom |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZustandNotstrom[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZustandNotstrom na
ZustandNotstrom
"Nicht ermittelbar" (-1).public static final ZustandNotstrom passiv
ZustandNotstrom
"in Ordnung, passiv" (0).public static final ZustandNotstrom aktiv
ZustandNotstrom
"in Ordnung, aktiv" (1).public static final ZustandNotstrom Stoerung
ZustandNotstrom
"Störung" (2).public static ZustandNotstrom[] values()
for (ZustandNotstrom c : ZustandNotstrom.values()) System.out.println(c);
public static ZustandNotstrom valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getText()
ZustandNotstrom
.ZustandNotstrom
.public int getValue()
ZustandNotstrom
.ZustandNotstrom
.