Class BinaryDynamicObject

    • Constructor Detail

      • BinaryDynamicObject

        public BinaryDynamicObject​(long objectId,
                                   int pidHashCode,
                                   long typeId,
                                   long firstInvalid,
                                   long firstValid,
                                   short simulationVariant,
                                   byte[] packedBytes)
    • Method Detail

      • getObjectId

        public long getObjectId()
        Description copied from class: BinaryObject
        Gibt die Objekt-ID zurück
        Specified by:
        getObjectId in class BinaryObject
        Returns:
        die Objekt-ID oder 0 falls es sich um eine Lücke handelt
      • getPidHashCode

        public int getPidHashCode()
        Description copied from class: BinaryObject
        Gibt den Pid-Hashcode zurück
        Specified by:
        getPidHashCode in class BinaryObject
        Returns:
        den Pid-Hashcode
      • getTypeId

        public long getTypeId()
        Description copied from class: BinaryObject
        Gibt die ID des Objekttyps zuück
        Specified by:
        getTypeId in class BinaryObject
        Returns:
        die ID des Objekttyps
      • getFirstInvalid

        public long getFirstInvalid()
      • getFirstValid

        public long getFirstValid()
      • getSimulationVariant

        public short getSimulationVariant()
      • getPackedBytes

        public byte[] getPackedBytes()
        Description copied from class: BinaryObject
        Gibt die gepackten Bytes zurück. Die gepackten Bytes enthalten weitere Objektinformationen wie die Name, Pid, Konfigurationsdaten usw.
        Specified by:
        getPackedBytes in class BinaryObject
        Returns:
        die gepackten Bytes
      • write

        public int write​(java.io.DataOutput output)
                  throws java.io.IOException
        Description copied from class: BinaryObject
        Schreibt das Objekt in den Ausgabe-Stream
        Specified by:
        write in class BinaryObject
        Parameters:
        output - Ausgabe
        Returns:
        Anzahl geschriebener Bytes
        Throws:
        java.io.IOException
      • toSystemObjectInfo

        public DynamicObjectInformation toSystemObjectInfo​(ConfigAreaFile file,
                                                           long position)
                                                    throws java.io.IOException,
                                                           de.bsvrz.sys.funclib.dataSerializer.NoSuchVersionException
        Specified by:
        toSystemObjectInfo in class BinaryObject
        Throws:
        java.io.IOException
        de.bsvrz.sys.funclib.dataSerializer.NoSuchVersionException