public enum KindOfUpdateTelegramm extends java.lang.Enum<KindOfUpdateTelegramm>
Enthält alle Typen von Telegrammen, die von der Konfiguration verschickt werden um anzuzeigen, dass sich Werte von Objekten geändert haben.
Anhand des Typs kann erkannt werden, wie der Byte-Strom zu interpretieren ist, der im Datensatz enthalten ist.
Enum Constant and Description |
---|
CREATED
Es wurde ein neues dynamisches Objekt erzeugt
|
UPDATE_NAME
Der Name eines Objekts hat sich geändert.
|
UPDATE_NOT_VALID_SINCE
Der Zeitpunkt, an dem das Objekt ungültig wurde, hat sich geändert
|
Modifier and Type | Field and Description |
---|---|
private byte |
_code |
private java.lang.String |
_name |
Modifier and Type | Method and Description |
---|---|
byte |
getCode() |
static KindOfUpdateTelegramm |
getInstance(byte code) |
java.lang.String |
getName() |
java.lang.String |
toString() |
static KindOfUpdateTelegramm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KindOfUpdateTelegramm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KindOfUpdateTelegramm UPDATE_NAME
public static final KindOfUpdateTelegramm UPDATE_NOT_VALID_SINCE
public static final KindOfUpdateTelegramm CREATED
public static KindOfUpdateTelegramm[] values()
for (KindOfUpdateTelegramm c : KindOfUpdateTelegramm.values()) System.out.println(c);
public static KindOfUpdateTelegramm valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static KindOfUpdateTelegramm getInstance(byte code)
public byte getCode()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<KindOfUpdateTelegramm>