Interface ReadableObjectPool<T extends DataObject>

    • Method Detail

      • getId

        String getId()
        Each Pool must have an Id. This Id is used as base in objectId.
      • getObject

        T getObject​(String objectId)
        Returns:
        The object with the given id.
      • getObjectIds

        Set<String> getObjectIds()
        Returns:
        The set of all object ids.
      • getObjectIds

        Set<String> getObjectIds​(DataClass dataClass)
        Returns:
        A set of the object ids for the specified data class.
      • size

        int size()
        Returns:
        The number of DataObjects in the pool.
      • getNESTGraphIds

        Set<String> getNESTGraphIds()
      • hasSameValueAsIn

        boolean hasSameValueAsIn​(ReadableObjectPool objectPool)
        This method makes a deep compare. The elements in both pools are compared.
        Parameters:
        objectPool - The object pool to compare.
        Returns:
        true if the given object pool has the same objects as this one.
      • stream

        Stream<T> stream()
        This method is a short call for supplying a stream access to the graphs in the pool.
        Returns:
        a stream of the pool objects
      • toXML

        String toXML()
        Converts object pool to XML
        Returns:
        XML String