public enum EreignisTypenOption extends java.lang.Enum<EreignisTypenOption> implements Zustand<java.lang.Integer>
Enum Constant and Description |
---|
ALLE
Es sollen alle Ereignistypen betrachtet werden.
|
NICHT
Es sollen bis auf die spezifizierten alle Ereignistypen betrachtet
werden.
|
NUR
Es sollen nur die spezifizierten Ereignistypen betrachtet werden.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCode()
liefert den Code des Zustandes.
|
java.lang.String |
getName()
Liefert den Namen des Zustandes.
|
static EreignisTypenOption |
getTyp(int gesuchterCode)
Liefert den Typ, der dem übergebenen Code entspricht.
|
static EreignisTypenOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EreignisTypenOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EreignisTypenOption ALLE
public static final EreignisTypenOption NUR
public static final EreignisTypenOption NICHT
public static EreignisTypenOption[] values()
for (EreignisTypenOption c : EreignisTypenOption.values()) System.out.println(c);
public static EreignisTypenOption 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 static EreignisTypenOption getTyp(int gesuchterCode)
gesuchterCode
- der Code für den ein Zustand gesucht wirdIllegalArgumentException
geworfen.public java.lang.Integer getCode()