Class ID

    • Field Detail

      • id

        public UUID id
        Java universal ID.
    • Constructor Detail

      • ID

        public ID()
    • Method Detail

      • deserializeIDBase

        protected final void deserializeIDBase​(DataClayByteBuffer dcBuffer)
        ID deserialize base
        Parameters:
        dcBuffer - Buffer with message bytes to read
      • getId

        public final UUID getId()
        Get ID::id
        Returns:
        the id
      • setId

        public final void setId​(UUID newid)
        Set ID::id
        Parameters:
        newid - New id to set
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • serializeBase

        public final void serializeBase​(DataClayByteBuffer dcBuffer)
        Serializes the current object. It uses the following pattern: |LONG|LONG| where: LONG is a serialized long
        Parameters:
        dcBuffer - Destination buffer to store the current object