public enum WechselSpannung extends java.lang.Enum<WechselSpannung>
Enum Constant and Description |
---|
na
Die
WechselSpannung "Nicht ermittelbar" (-1). |
normal
Die
WechselSpannung "in Ordnung" (0). |
Ueberspannung
Die
WechselSpannung "Überspannung" (1). |
Unterspannung
Die
WechselSpannung "Unterspannung" (2). |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getText()
Liefert der Namen des
WechselSpannung s Zustandes. |
int |
getValue()
Liefert die Ordinalzahl des
WechselSpannung s Zustandes. |
static WechselSpannung |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WechselSpannung[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WechselSpannung na
WechselSpannung
"Nicht ermittelbar" (-1).public static final WechselSpannung normal
WechselSpannung
"in Ordnung" (0).public static final WechselSpannung Ueberspannung
WechselSpannung
"Überspannung" (1).public static final WechselSpannung Unterspannung
WechselSpannung
"Unterspannung" (2).public static WechselSpannung[] values()
for (WechselSpannung c : WechselSpannung.values()) System.out.println(c);
public static WechselSpannung 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()
WechselSpannung
s Zustandes.WechselSpannung
s Zustandes.public int getValue()
WechselSpannung
s Zustandes.WechselSpannung
s Zustandes.