public enum BaustellenVeranlasser extends Enum<BaustellenVeranlasser> implements Zustand<Integer>
Enum Constant and Description |
---|
ALLE
der Veranlasser ist nicht definiert.
|
BIS
Baustelle wurde durch externes BIS-System angelegt.
|
UNDEFINIERT
der Veranlasser ist nicht definiert.
|
VRZ
Baustelle wurde intern von der VRZ angelegt.
|
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.
|
String |
getName()
liefert den Namen des Zustandes.
|
static BaustellenVeranlasser |
getVeranlasser(int gesuchterCode)
liefert den Störfallzustand mit dem übergebenen Code.
|
static BaustellenVeranlasser |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaustellenVeranlasser[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaustellenVeranlasser ALLE
public static final BaustellenVeranlasser UNDEFINIERT
public static final BaustellenVeranlasser BIS
public static final BaustellenVeranlasser VRZ
private int code
private String name
public static BaustellenVeranlasser[] values()
for (BaustellenVeranlasser c : BaustellenVeranlasser.values()) System.out.println(c);
public static BaustellenVeranlasser 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 BaustellenVeranlasser getVeranlasser(int gesuchterCode)
gesuchterCode
- der Code für den ein Zustand gesucht wird.IllegalArgumentException
geworfen.public Integer getCode()
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.