public class BinaryConfigObject extends BinaryObject
BinaryObject
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(DataOutput output)
Schreibt das Objekt in den Ausgabe-Stream
|
fromDataInput
public BinaryConfigObject(long objectId, int pidHashCode, long typeId, short firstInvalid, short firstValid, byte[] packedBytes)
public int write(DataOutput output) throws IOException
BinaryObject
write
in class BinaryObject
output
- AusgabeIOException
public long getObjectId()
BinaryObject
getObjectId
in class BinaryObject
public int getPidHashCode()
BinaryObject
getPidHashCode
in class BinaryObject
public long getTypeId()
BinaryObject
getTypeId
in class BinaryObject
public short getFirstInvalid()
public short getFirstValid()
public byte[] getPackedBytes()
BinaryObject
getPackedBytes
in class BinaryObject
public SystemObjectInformationInterface toSystemObjectInfo(ConfigAreaFile file, long position) throws IOException, NoSuchVersionException
toSystemObjectInfo
in class BinaryObject
IOException
NoSuchVersionException