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>, java.lang.constant.Constable

public enum ProtocolType
extends java.lang.Enum<ProtocolType>
Definiert die Art eines Protokolls, Z.B. Zustandsprotokoll, Änderungsprotokoll, Ereignisprotokoll
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • 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

    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.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • 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 Details

    • values

      public static ProtocolType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      java.lang.NullPointerException - if the argument is null