Package de.bsvrz.sys.funclib.losb.datk
Enum ProtocolType
- java.lang.Object
-
- java.lang.Enum<ProtocolType>
-
- de.bsvrz.sys.funclib.losb.datk.ProtocolType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ProtocolType>
public enum ProtocolType extends java.lang.Enum<ProtocolType>
Definiert die Art eines Protokolls, Z.B. Zustandsprotokoll, Änderungsprotokoll, Ereignisprotokoll
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DeltaProtocol
Gibt an, dass das zu erstellende Protokoll ein Änderungsprotokoll ist.EventProtocol
Gibt an, dass das zu erstellende Protokoll ein Ereignisprotokoll ist.StatusProtocol
Gibt an, dass das zu erstellende Protokoll ein Zustandsprotokoll ist.Undefined
Gibt an, dass der Default-Wert des Skriptes beibehalten werden soll, Wenn das Skript keine explizite Vorgabe macht, wird ein Zustandsprotokoll erstellt.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProtocolType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ProtocolType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
StatusProtocol
public static final ProtocolType StatusProtocol
Gibt an, dass das zu erstellende Protokoll ein Zustandsprotokoll ist. Das Zustandsprotokoll dient der Übertragung des vollen Zustands aller Objekte pro Zeitpunkt an dem neue Daten von mindestens einem Objekt vorliegen. Zeilen oder Zellen (siehe NoChangeMarker) deren Inhalt sich nicht geändert hat, werden mit einer NoChange-Kennung ersetzt. Zellen für die sich keine neuen Inhalte ergeben haben, werden üblicherweise mit den bisherigen Werten aus dem letzten Datensatz aufgefüllt.
-
DeltaProtocol
public static final ProtocolType DeltaProtocol
Gibt an, dass das zu erstellende Protokoll ein Änderungsprotokoll ist. Das Änderungsprotokoll dient der Übertragung des vollen Zustands aller Objekte nur dann, wenn sich der Inhalt von mindestens einem Attribut geändert hat. Zellen für die sich keine neuen Inhalte ergeben haben, werden mit den bisherigen Werten aus dem letzten Datensatz aufgefüllt.
-
EventProtocol
public static final ProtocolType EventProtocol
Gibt an, dass das zu erstellende Protokoll ein Ereignisprotokoll ist. Mit dem Ereignisprotokoll soll erreicht werden, dass die Daten so weitergegeben werden, wie sie im Archiv vorliegen. Das bedeutet, dass Datensätze nicht aufgefüllt werden wenn kein neuer Zustand anliegt, dass Datensätze nicht durch NoChange-Kennungen ersetzt werden wenn sich das Datum nicht geändert hat und dass Datensätze nicht unterdrückt werden wenn sich der Inhalt nicht geändert hat.Das Ereignisprotokoll wird erst ab Version 2.8.0 unterstützt, ältere PuA-Server behandeln dies wie ein Zustandsprotokoll.
-
Undefined
public static final ProtocolType Undefined
Gibt an, dass der Default-Wert des Skriptes beibehalten werden soll, Wenn das Skript keine explizite Vorgabe macht, wird ein Zustandsprotokoll erstellt.
-
-
Method Detail
-
values
public static ProtocolType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ProtocolType c : ProtocolType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProtocolType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-