Interface EntityGraph<T>

    • Method Detail

      • addTreatedSubgraph

        <S extends TSubgraph<S> addTreatedSubgraph​(java.lang.Class<S> type)
        Add additional attributes to this entity graph that correspond to attributes of subclasses of the entity type of this EntityGraph. Subclass subgraphs automatically include the specified attributes of superclass subgraphs.
        Parameters:
        type - entity subclass
        Returns:
        subgraph for the subclass
        Throws:
        java.lang.IllegalArgumentException - if the type is not an entity type
        java.lang.IllegalStateException - if the EntityGraph has been statically defined
      • addSubclassSubgraph

        @Deprecated(since="3.2",
                    forRemoval=true)
        <T> Subgraph<? extends T> addSubclassSubgraph​(java.lang.Class<? extends T> type)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Add additional attributes to this entity graph that correspond to attributes of subclasses of the entity type of this EntityGraph. Subclass subgraphs automatically include the specified attributes of superclass subgraphs.
        Parameters:
        type - entity subclass
        Returns:
        subgraph for the subclass
        Throws:
        java.lang.IllegalArgumentException - if the type is not an entity type
        java.lang.IllegalStateException - if the EntityGraph has been statically defined