Interface BinaryObjectEx

    • Method Detail

      • typeId

        int typeId()
        Returns:
        Type ID.
      • isFlagSet

        boolean isFlagSet​(short flag)
        Check if flag set.
        Parameters:
        flag - flag to check.
        Returns:
        true if flag is set, false otherwise.
      • componentClassName

        default String componentClassName()
        Returns:
        Component class name.
      • componentTypeId

        default int componentTypeId()
        Returns:
        Component type ID.
      • array

        default Object[] array()
        Returns:
        Underlying array.
      • enumClassName

        @Nullable
        default @Nullable String enumClassName()
        Returns:
        Enum class name.
      • hasBytes

        default boolean hasBytes()
        Returns:
        True if object has bytes array.
      • bytes

        default byte[] bytes()
        Returns:
        Object array if object is byte array based, otherwise null.
      • start

        default int start()
        Returns:
        Object start.
      • context

        default BinaryContext context()
        Get binary context.
        Returns:
        Binary context.
      • heapCopy

        default BinaryObjectEx heapCopy()
        Returns:
        Heap copy of the object.
      • detach

        default BinaryObjectEx detach()
        Returns:
        Detached binary object.
      • detach

        default BinaryObjectEx detach​(boolean checkCrossObjReferences)
        Returns:
        Detached binary object.
      • detachAllowed

        default void detachAllowed​(boolean detachAllowed)
        Parameters:
        detachAllowed - Detach allowed flag.
      • hasCircularReferences

        default boolean hasCircularReferences()
        Check if object graph has circular references.
        Returns:
        true if object has circular references.