Class AttKommunikationsZustand
- java.lang.Object
-
- java.lang.Number
-
- de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>
-
- de.bsvrz.sys.funclib.bitctrl.modell.tmbitctrltransfer.attribute.AttKommunikationsZustand
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>>
public class AttKommunikationsZustand extends de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>
Mögliche Zustände einer Kommunikation.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AttKommunikationsZustand
ZUSTAND_0_OK
static AttKommunikationsZustand
ZUSTAND_1N_NICHT_ERREICHT
static AttKommunikationsZustand
ZUSTAND_2N_AUTHENTIFIZIERUNGSFEHLER
static AttKommunikationsZustand
ZUSTAND_3N_TRANSFERFEHLER
-
Constructor Summary
Constructors Constructor Description AttKommunikationsZustand(java.lang.Byte value)
Erzeugte eine neues Attribut Kommunikationszustand.
-
Method Summary
Modifier and Type Method Description static java.util.List<AttKommunikationsZustand>
getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.static AttKommunikationsZustand
getZustand(java.lang.Byte value)
Gibt den Zustand zu einer Zahl zurück odernull
, wenn die Zahl keinen Zustand repräsentiert.static AttKommunikationsZustand
getZustand(java.lang.String value)
Gibt den Zustand zu einem Zustandsnamen zurück odernull
, wenn kein Zustand einen solchen Namen hat.
-
-
-
Field Detail
-
ZUSTAND_0_OK
public static final AttKommunikationsZustand ZUSTAND_0_OK
-
ZUSTAND_1N_NICHT_ERREICHT
public static final AttKommunikationsZustand ZUSTAND_1N_NICHT_ERREICHT
-
ZUSTAND_2N_AUTHENTIFIZIERUNGSFEHLER
public static final AttKommunikationsZustand ZUSTAND_2N_AUTHENTIFIZIERUNGSFEHLER
-
ZUSTAND_3N_TRANSFERFEHLER
public static final AttKommunikationsZustand ZUSTAND_3N_TRANSFERFEHLER
-
-
Method Detail
-
getZustand
public static AttKommunikationsZustand getZustand(java.lang.Byte value)
Gibt den Zustand zu einer Zahl zurück odernull
, wenn die Zahl keinen Zustand repräsentiert.- Parameters:
value
- ein Zahlenwert- Returns:
- der Zustand zu dem Zahlenwert oder
null
, wenn die Zahl keine Entsprechnung als Zustand besitzt.
-
getZustand
public static AttKommunikationsZustand getZustand(java.lang.String value)
Gibt den Zustand zu einem Zustandsnamen zurück odernull
, wenn kein Zustand einen solchen Namen hat.- Parameters:
value
- der Zustandsname- Returns:
- der Zustand zu dem Zustandsnamen oder
null
, wenn kein Zustand einen solchen Namen hat.
-
getZustaende
public static java.util.List<AttKommunikationsZustand> getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.- Returns:
- alle Zustände die das Attribut annehmen kann.
-
-