public enum EreignisTypenOption extends Enum<EreignisTypenOption> implements Zustand<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 |
---|---|
Integer |
getCode()
liefert den Code des Zustandes.
|
String |
getName()
Liefert den Namen des Zustandes.
|
static EreignisTypenOption |
getTyp(int gesuchterCode)
Liefert den Typ, der dem übergebenen Code entspricht.
|
static EreignisTypenOption |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static EreignisTypenOption getTyp(int gesuchterCode)
gesuchterCode
- der Code für den ein Zustand gesucht wirdIllegalArgumentException
geworfen.public Integer getCode()
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.