public enum RdsStatus extends Enum<RdsStatus> implements Zustand<Integer>
Enum Constant and Description |
---|
AUFHEBUNG
Meldung wurde aufgehoben, Wert 4.
|
ERWEITERUNG
Meldung wurde erweitert, Wert 6.
|
LOESCHUNG
Meldung wurde gelöscht, Wert 5.
|
MODIFIKATION
Meldung wurde verändert, Wert 2.
|
UNBEKANNT
Status der Meldung ist nicht bekannt, Wert 0.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getCode()
liefert den Code des Zustandes.
|
String |
getName()
liefert den Namen des Zustandes.
|
static RdsStatus |
getStatus(int gesuchterCode)
liefert den Rds-Status mit dem übergebenen Code.
|
static RdsStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RdsStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RdsStatus UNBEKANNT
public static final RdsStatus MODIFIKATION
public static final RdsStatus AUFHEBUNG
public static final RdsStatus LOESCHUNG
public static final RdsStatus ERWEITERUNG
public static RdsStatus[] values()
for (RdsStatus c : RdsStatus.values()) System.out.println(c);
public static RdsStatus 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 RdsStatus getStatus(int gesuchterCode)
gesuchterCode
- der Code für den ein Zustand gesucht wird.public Integer getCode()
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.