public class BinaryDynamicObject extends BinaryObject
BinaryObjectCONFIG_OBJ_HEADER_SIZE, CONFIGURATION_OBJECT_TYPE, DYN_OBJ_HEADER_SIZE, DYNAMIC_OBJECT_TYPE| Constructor and Description |
|---|
BinaryDynamicObject(long objectId,
int pidHashCode,
long typeId,
long firstInvalid,
long firstValid,
short simulationVariant,
byte[] packedBytes) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFirstInvalid() |
long |
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
|
short |
getSimulationVariant() |
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
|
fromDataInputpublic BinaryDynamicObject(long objectId,
int pidHashCode,
long typeId,
long firstInvalid,
long firstValid,
short simulationVariant,
byte[] packedBytes)
public long getObjectId()
BinaryObjectgetObjectId in class BinaryObjectpublic int getPidHashCode()
BinaryObjectgetPidHashCode in class BinaryObjectpublic long getTypeId()
BinaryObjectgetTypeId in class BinaryObjectpublic long getFirstInvalid()
public long getFirstValid()
public short getSimulationVariant()
public byte[] getPackedBytes()
BinaryObjectgetPackedBytes in class BinaryObjectpublic int write(DataOutput output) throws IOException
BinaryObjectwrite in class BinaryObjectoutput - AusgabeIOExceptionpublic SystemObjectInformationInterface toSystemObjectInfo(ConfigAreaFile file, long position) throws IOException, NoSuchVersionException
toSystemObjectInfo in class BinaryObjectIOExceptionNoSuchVersionException