public class BinaryConfigObject extends BinaryObject
Binäres Konfigurationsobjekt
BinaryObject| Modifier and Type | Field and Description |
|---|---|
private short |
_firstInvalid |
private short |
_firstValid |
private long |
_objectId |
private byte[] |
_packedBytes |
private int |
_pidHashCode |
private long |
_typeId |
CONFIG_OBJ_HEADER_SIZE, CONFIGURATION_OBJECT_TYPE, DYN_OBJ_HEADER_SIZE, DYNAMIC_OBJECT_TYPE| Constructor and Description |
|---|
BinaryConfigObject(long objectId,
int pidHashCode,
long typeId,
short firstInvalid,
short firstValid,
byte[] packedBytes) |
| Modifier and Type | Method and Description |
|---|---|
short |
getFirstInvalid() |
short |
getFirstValid() |
long |
getObjectId()
Gibt die Objekt-ID zurück
|
byte[] |
getPackedBytes()
Gibt die gepackten Bytes zurück.
|
int |
getPidHashCode()
Gibt den Pid-Hashcode zurück
|
long |
getTypeId()
Gibt die ID des Objekttyps zuück
|
SystemObjectInformationInterface |
toSystemObjectInfo(ConfigAreaFile file,
long position) |
int |
write(java.io.DataOutput output)
Schreibt das Objekt in den Ausgabe-Stream
|
fromDataInputprivate final long _objectId
private final int _pidHashCode
private final long _typeId
private final short _firstInvalid
private final short _firstValid
private final byte[] _packedBytes
public BinaryConfigObject(long objectId,
int pidHashCode,
long typeId,
short firstInvalid,
short firstValid,
byte[] packedBytes)
public int write(java.io.DataOutput output)
throws java.io.IOException
BinaryObjectSchreibt das Objekt in den Ausgabe-Stream
write in class BinaryObjectoutput - Ausgabejava.io.IOExceptionpublic long getObjectId()
BinaryObjectGibt die Objekt-ID zurück
getObjectId in class BinaryObjectpublic int getPidHashCode()
BinaryObjectGibt den Pid-Hashcode zurück
getPidHashCode in class BinaryObjectpublic long getTypeId()
BinaryObjectGibt die ID des Objekttyps zuück
getTypeId in class BinaryObjectpublic short getFirstInvalid()
public short getFirstValid()
public byte[] getPackedBytes()
BinaryObjectGibt die gepackten Bytes zurück. Die gepackten Bytes enthalten weitere Objektinformationen wie die Name, Pid, Konfigurationsdaten usw.
getPackedBytes in class BinaryObjectpublic SystemObjectInformationInterface toSystemObjectInfo(ConfigAreaFile file, long position) throws java.io.IOException, NoSuchVersionException
toSystemObjectInfo in class BinaryObjectjava.io.IOExceptionNoSuchVersionException