Class AttMeistereiTyp
- java.lang.Object
-
- java.lang.Number
-
- de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>
-
- de.bsvrz.sys.funclib.bitctrl.modell.tmswis.attribute.AttMeistereiTyp
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>>
public class AttMeistereiTyp extends de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>
Typ einer Meisterei (RZ, SM, AM, FM).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AttMeistereiTyp
ZUSTAND_0_UNBEKANNT
static AttMeistereiTyp
ZUSTAND_1_RECHENZENTRALE
static AttMeistereiTyp
ZUSTAND_2_AUTOBAHNMEISTEREI
static AttMeistereiTyp
ZUSTAND_3_STRASSENMEISTEREI
static AttMeistereiTyp
ZUSTAND_4_FERNMELDEMEISTEREI
static AttMeistereiTyp
ZUSTAND_5_AUTOBAHN_UND_STRASSENMEISTEREI
-
Constructor Summary
Constructors Constructor Description AttMeistereiTyp(java.lang.Byte value)
Erzeugte eine neues Attribut MeistereiTyp.
-
Method Summary
Modifier and Type Method Description static java.util.List<AttMeistereiTyp>
getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.static AttMeistereiTyp
getZustand(java.lang.Byte value)
Gibt den Zustand zu einer Zahl zurück odernull
, wenn die Zahl keinen Zustand repräsentiert.static AttMeistereiTyp
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_UNBEKANNT
public static final AttMeistereiTyp ZUSTAND_0_UNBEKANNT
-
ZUSTAND_1_RECHENZENTRALE
public static final AttMeistereiTyp ZUSTAND_1_RECHENZENTRALE
-
ZUSTAND_2_AUTOBAHNMEISTEREI
public static final AttMeistereiTyp ZUSTAND_2_AUTOBAHNMEISTEREI
-
ZUSTAND_3_STRASSENMEISTEREI
public static final AttMeistereiTyp ZUSTAND_3_STRASSENMEISTEREI
-
ZUSTAND_4_FERNMELDEMEISTEREI
public static final AttMeistereiTyp ZUSTAND_4_FERNMELDEMEISTEREI
-
ZUSTAND_5_AUTOBAHN_UND_STRASSENMEISTEREI
public static final AttMeistereiTyp ZUSTAND_5_AUTOBAHN_UND_STRASSENMEISTEREI
-
-
Method Detail
-
getZustand
public static AttMeistereiTyp 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 AttMeistereiTyp 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<AttMeistereiTyp> getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.- Returns:
- alle Zustände die das Attribut annehmen kann.
-
-