T - The type of the attribute.public interface Subgraph<T>
EntityGraph, 
AttributeNode, 
NamedSubgraph| Modifier and Type | Method and Description | 
|---|---|
void | 
addAttributeNodes(Attribute<T,?>... attribute)
Add one or more attribute nodes to the entity graph. 
 | 
void | 
addAttributeNodes(java.lang.String... attributeName)
Add one or more attribute nodes to the entity graph. 
 | 
<X> Subgraph<X> | 
addKeySubgraph(Attribute<T,X> attribute)
Add a node to the graph that corresponds to a map key
 that is a managed type. 
 | 
<X> Subgraph<? extends X> | 
addKeySubgraph(Attribute<T,X> attribute,
              java.lang.Class<? extends X> type)
Add a node to the graph that corresponds to a map key
 that is a managed type with inheritance. 
 | 
<X> Subgraph<X> | 
addKeySubgraph(java.lang.String attributeName)
Add a node to the graph that corresponds to a map key
 that is a managed type. 
 | 
<X> Subgraph<X> | 
addKeySubgraph(java.lang.String attributeName,
              java.lang.Class<X> type)
Add a node to the graph that corresponds to a map key
 that is a managed type with inheritance. 
 | 
<X> Subgraph<X> | 
addSubgraph(Attribute<T,X> attribute)
Add a node to the graph that corresponds to a managed
 type. 
 | 
<X> Subgraph<? extends X> | 
addSubgraph(Attribute<T,X> attribute,
           java.lang.Class<? extends X> type)
Add a node to the graph that corresponds to a managed
 type with inheritance. 
 | 
<X> Subgraph<X> | 
addSubgraph(java.lang.String attributeName)
Add a node to the graph that corresponds to a managed
 type. 
 | 
<X> Subgraph<X> | 
addSubgraph(java.lang.String attributeName,
           java.lang.Class<X> type)
Add a node to the graph that corresponds to a managed
 type with inheritance. 
 | 
java.util.List<AttributeNode<?>> | 
getAttributeNodes()
Return the attribute nodes corresponding to the attributes of
 this managed type that are included in the subgraph. 
 | 
java.lang.Class<T> | 
getClassType()
Return the type for which this subgraph was defined. 
 | 
void addAttributeNodes(java.lang.String... attributeName)
attributeName - name of the attributejava.lang.IllegalArgumentException - if the attribute is not an 
         attribute of this managed type.java.lang.IllegalStateException - if the EntityGraph has been 
         statically definedvoid addAttributeNodes(Attribute<T,?>... attribute)
attribute - attributejava.lang.IllegalStateException - if this EntityGraph has been 
         statically defined<X> Subgraph<X> addSubgraph(Attribute<T,X> attribute)
attribute - attributejava.lang.IllegalArgumentException - if the attribute's target 
         type is not a managed typejava.lang.IllegalStateException - if the EntityGraph has been 
         statically defined<X> Subgraph<? extends X> addSubgraph(Attribute<T,X> attribute, java.lang.Class<? extends X> type)
attribute - attributetype - entity subclassjava.lang.IllegalArgumentException - if the attribute's target 
         type is not a managed typejava.lang.IllegalStateException - if this EntityGraph has been 
         statically defined<X> Subgraph<X> addSubgraph(java.lang.String attributeName)
attributeName - name of the attributejava.lang.IllegalArgumentException - if the attribute is not an 
         attribute of this managed type.java.lang.IllegalArgumentException - if the attribute's target 
         type is not a managed typejava.lang.IllegalStateException - if this EntityGraph has been 
         statically defined<X> Subgraph<X> addSubgraph(java.lang.String attributeName, java.lang.Class<X> type)
attributeName - name of the attributetype - entity subclassjava.lang.IllegalArgumentException - if the attribute is not 
         an attribute of this managed type.java.lang.IllegalArgumentException - if the attribute's target 
         type is not a managed typejava.lang.IllegalStateException - if this EntityGraph has been 
         statically defined<X> Subgraph<X> addKeySubgraph(Attribute<T,X> attribute)
attribute - attributejava.lang.IllegalArgumentException - if the attribute's target 
         type is not a managed type entityjava.lang.IllegalStateException - if this EntityGraph has been 
         statically defined<X> Subgraph<? extends X> addKeySubgraph(Attribute<T,X> attribute, java.lang.Class<? extends X> type)
attribute - attributetype - entity subclassjava.lang.IllegalArgumentException - if the attribute's target 
         type is not a managed type entityjava.lang.IllegalStateException - if this EntityGraph has been 
         statically defined<X> Subgraph<X> addKeySubgraph(java.lang.String attributeName)
attributeName - name of the attributejava.lang.IllegalArgumentException - if the attribute is not an 
         attribute of this entity.java.lang.IllegalArgumentException - if the attribute's target 
         type is not a managed typejava.lang.IllegalStateException - if this EntityGraph has been
          statically defined<X> Subgraph<X> addKeySubgraph(java.lang.String attributeName, java.lang.Class<X> type)
attributeName - name of the attributetype - entity subclassjava.lang.IllegalArgumentException - if the attribute is not an 
         attribute of this entity.java.lang.IllegalArgumentException - if the attribute's target
         type is not a managed typejava.lang.IllegalStateException - if this EntityGraph has been 
         statically definedjava.util.List<AttributeNode<?>> getAttributeNodes()
java.lang.Class<T> getClassType()