public enum MeldungsTyp extends Enum<MeldungsTyp> implements Zustand<Integer>
| Enum Constant and Description |
|---|
Fach
Meldungstyp für eine Meldung eines fachlichen Zustands.
|
System
Meldungstyp für eine Meldung eines systemtechnischen Zustands.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
code
Der Code des Zustandes.
|
private String |
name
Der Name des Zustandes.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCode()
Liefert den Code des Zustandes.
|
static MeldungsTyp |
getMeldungsTyp(int code)
Liefert zu einem Code den dazugehörigen Meldungstyp.
|
String |
getName()
Liefert den Namen des Zustandes.
|
String |
toString() |
static MeldungsTyp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MeldungsTyp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MeldungsTyp System
public static final MeldungsTyp Fach
private int code
private String name
public static MeldungsTyp[] values()
for (MeldungsTyp c : MeldungsTyp.values()) System.out.println(c);
public static MeldungsTyp 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 MeldungsTyp getMeldungsTyp(int code)
code - der Code für den ein Zustand gesucht wird.null zurückgegeben.public Integer getCode()
Zustandpublic String getName()
Zustandpublic String toString()
toString in class Enum<MeldungsTyp>Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.