|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.bsvrz.pua.prot.processing.util.DataInformation
public class DataInformation
Objekt das das Markierungsattribut eines Datensatzes enthält. Siehe TAnf S. 32.
Die Methode createDataInformation(ExtResultData, boolean)
erzeugt eine neue Markierungsinformation.
Eine Markierungsinformation kann nur aus einer anderen Markierungsinformation erzeugt werden,
deshalb ist createDataInformation(ExtResultData, boolean)
nicht static
.
Wichtig: Beim Erzeugen einer Markierungsinformation kann die ursprüngliche Markierung verändert werden!
Eine Markierungsinformation kann daher erst als vollständig betrachtet werden, nachdem eine weitere Markierungsinformation
aus ihr generiert wurde.
Field Summary | |
---|---|
byte |
archiveInfo
Archivinfo |
byte |
dataGap
Potentielle Datenlücke (grob) |
static byte |
DELAYED
Nachgeliefert |
static byte |
END_OF_INTERVAL
Ende (Teil-)Zeitintervall |
static byte |
ENDING
Am Ende |
static byte |
ERASED
Daten gelöscht |
static byte |
INDEX_NOT_CONTINUOUS
Index springt |
static byte |
INITIALIZATION
Neuinitialisierung |
static byte |
NO_DATA
Keine Daten |
static byte |
NO_RIGHTS
Keine Rechte |
static byte |
NO_SOURCE
Keine Quelle |
byte |
noPayload
Keine Nutzdaten |
static byte |
POTENTIAL_DATA_GAP
Potentielle Datenlücke (fein) |
boolean |
rebound
Zeitrücksprung |
static byte |
REQUESTED
Nachgefordert |
byte |
specialDataType
Spezielle Datenart |
byte |
tag
Kennzeichnung |
static byte |
UNAVAILABLE_BLOCK
Daten ausgelagert |
Constructor Summary | |
---|---|
DataInformation(boolean deltaProtocol)
Erzeugt eine Markierungsinformation. |
Method Summary | |
---|---|
DataInformation |
clone()
Klont die Markierungsinformation. |
boolean |
cmpInfo(DataInformation other)
Vergleicht die Markierungsinformation. |
DataInformation |
createDataInformation(ExtResultData data,
boolean timeSorted)
Erstellt eine Markierungsinformation. |
boolean |
dataForPadding()
Zeigt ob die Daten zum Auffüllen verwendet werden können. |
boolean |
equals(java.lang.Object object)
|
boolean |
insertEmpty()
Zeigt ob ein leerer Datensatz eingefügt werden muss. |
static DataInformation |
merge(java.util.HashSet<DataInformation> infos)
Fasst Markierungsinformationen zusammen und gibt die so gewonnene Markierungsinformation zurück. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean rebound
public byte dataGap
public static final byte INDEX_NOT_CONTINUOUS
public static final byte INITIALIZATION
public static final byte POTENTIAL_DATA_GAP
public static final byte ENDING
public byte noPayload
public static final byte NO_SOURCE
public static final byte NO_DATA
public static final byte NO_RIGHTS
public byte archiveInfo
public static final byte ERASED
public static final byte UNAVAILABLE_BLOCK
public byte specialDataType
public static final byte DELAYED
public static final byte REQUESTED
public byte tag
public static final byte END_OF_INTERVAL
Constructor Detail |
---|
public DataInformation(boolean deltaProtocol)
deltaProtocol
- Markierungsinformation für ein Zustands oder DeltaProtokoll.Method Detail |
---|
public DataInformation createDataInformation(ExtResultData data, boolean timeSorted)
this
berücksichtigt.
Siehe TAnf. Kapitel 5.1.2.4.3.
Diese Methode muss auch für den letzten leeren Datensatz aufgerufen werden, der vom Archivsystem geliefert wird,
um die Flags der "Ende-Markierung" korrekt zu setzen.createDataInformation
-Methode aufgerufen wurde geändert wird!
data
- Neu erhaltener Archivdatensatz. Darf null
sein. In diesem Fall wird eine neue
Markierungsinformation zurückgegeben.timeSorted
- true
falls die Daten nach Datenzeitstempel sortiert eintreffen.
public boolean insertEmpty()
public boolean dataForPadding()
public static DataInformation merge(java.util.HashSet<DataInformation> infos)
infos
- Zu verschmelzende Markierungsinformationen
public DataInformation clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean cmpInfo(DataInformation other)
equals(Object)
werden nur die öffentlichen (public) Felder der Markierungsinformation verglichen.
other
- Markierungsinformation.
true
falls die beiden Markierungsinformationen übereinstimmen.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |