Class AttTurBelegtZustand
- java.lang.Object
-
- java.lang.Number
-
- de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>
-
- de.bsvrz.sys.funclib.bitctrl.modell.tmbitctrltur.attribute.AttTurBelegtZustand
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>>
@Defaultwert(wert="Undefiniert") public class AttTurBelegtZustand extends de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>
Definiert den Belegtzustand eines Parkbereiches, also letztlich eine Abbildung der numerischen, kontinuierlichen Anzahl belegter Parkstände auf eine Menge diskreter Zustände.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AttTurBelegtZustand
ZUSTAND_0_FREI
static AttTurBelegtZustand
ZUSTAND_1_NORMAL
static AttTurBelegtZustand
ZUSTAND_1N_UNDEFINIERT
static AttTurBelegtZustand
ZUSTAND_2_HOHE_AUSLASTUNG
static AttTurBelegtZustand
ZUSTAND_3_VOLL_BELEGT
static AttTurBelegtZustand
ZUSTAND_4_UEBERBELEGT
-
Constructor Summary
Constructors Constructor Description AttTurBelegtZustand(java.lang.Byte value)
Erzeugte eine neues Attribut TuR Belegtzustand.
-
Method Summary
Modifier and Type Method Description static java.util.List<AttTurBelegtZustand>
getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.static AttTurBelegtZustand
getZustand(java.lang.Byte value)
Gibt den Zustand zu einer Zahl zurück odernull
, wenn die Zahl keinen Zustand repräsentiert.static AttTurBelegtZustand
getZustand(java.lang.String value)
Gibt den Zustand zu einem Zustandsnamen zurück odernull
, wenn kein Zustand einen solchen Namen hat.
-
-
-
Field Detail
-
ZUSTAND_1N_UNDEFINIERT
public static final AttTurBelegtZustand ZUSTAND_1N_UNDEFINIERT
-
ZUSTAND_0_FREI
public static final AttTurBelegtZustand ZUSTAND_0_FREI
-
ZUSTAND_1_NORMAL
public static final AttTurBelegtZustand ZUSTAND_1_NORMAL
-
ZUSTAND_2_HOHE_AUSLASTUNG
public static final AttTurBelegtZustand ZUSTAND_2_HOHE_AUSLASTUNG
-
ZUSTAND_3_VOLL_BELEGT
public static final AttTurBelegtZustand ZUSTAND_3_VOLL_BELEGT
-
ZUSTAND_4_UEBERBELEGT
public static final AttTurBelegtZustand ZUSTAND_4_UEBERBELEGT
-
-
Method Detail
-
getZustand
public static AttTurBelegtZustand 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 AttTurBelegtZustand 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<AttTurBelegtZustand> getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.- Returns:
- alle Zustände die das Attribut annehmen kann.
-
-