The methods to add subgraphs implicitly create the corresponding attribute nodes as well; such attribute nodes should not be redundantly specified.
AttributeNode, Subgraph, NamedEntityGraph
| Modifier and Type | Method and Description |
|---|---|
| public void | addAttributeNodes(String...
name of the attribute attributeName)Add one or more attribute nodes to the entity graph. |
| public void | addAttributeNodes(Attribute<T, ?>...
attribute attribute)Add one or more attribute nodes to the entity graph. |
| public <X> Subgraph | Returns: subgraph for the key attributeattribute attribute)Add a node to the graph that corresponds to a map key that is a managed type. |
| public <X> Subgraph | Returns: subgraph for the key attributeattribute attribute, Class<? extends X> entity subclass type)Add a node to the graph that corresponds to a map key that is a managed type with inheritance. |
| public <X> Subgraph | Returns: subgraph for the key attributename of the attribute attributeName)Add a node to the graph that corresponds to a map key that is a managed type. |
| public <X> Subgraph | Returns: subgraph for the key attributename of the attribute attributeName, Class<X> entity subclass type)Add a node to the graph that corresponds to a map key that is a managed type with inheritance. |
| public <T> Subgraph | Returns: subgraph for the subclassentity subclass type)Add additional attributes to this entity graph that correspond to attributes of subclasses of this EntityGraph's entity type. |
| public <X> Subgraph | Returns: subgraph for the attributeattribute attribute)Add a node to the graph that corresponds to a managed type. |
| public <X> Subgraph | Returns: subgraph for the attributeattribute attribute, Class<? extends X> entity subclass type)Add a node to the graph that corresponds to a managed type with inheritance. |
| public <X> Subgraph | Returns: subgraph for the attributename of the attribute attributeName)Add a node to the graph that corresponds to a managed type. |
| public <X> Subgraph | Returns: subgraph for the attributename of the attribute attributeName, Class<X> entity subclass type)Add a node to the graph that corresponds to a managed type with inheritance. |
| public List | Returns: attribute nodes for the annotated entity type or empty list if none have been definedReturn the attribute nodes of this entity that are included in the entity graph. |
| public String | getName()
Return the name of a named EntityGraph (an entity graph
defined by means of the |
| addAttributeNodes | back to summary |
|---|---|
| public void addAttributeNodes(String... attributeName) Add one or more attribute nodes to the entity graph.
| |
| addAttributeNodes | back to summary |
|---|---|
| public void addAttributeNodes(Attribute<T, ?>... attribute) Add one or more attribute nodes to the entity graph.
| |
| addKeySubgraph | back to summary |
|---|---|
| public <X> Subgraph Add a node to the graph that corresponds to a map key that is a managed type. This allows for construction of multi-node entity graphs that include related managed types.
| |
| addKeySubgraph | back to summary |
|---|---|
| public <X> Subgraph Add a node to the graph that corresponds to a map key that is a managed type with inheritance. This allows for construction of multi-node entity graphs that include related managed types. Subclass subgraphs will include the specified attributes of superclass subgraphs.
| |
| addKeySubgraph | back to summary |
|---|---|
| public <X> Subgraph Add a node to the graph that corresponds to a map key that is a managed type. This allows for construction of multi-node entity graphs that include related managed types.
| |
| addKeySubgraph | back to summary |
|---|---|
| public <X> Subgraph Add a node to the graph that corresponds to a map key that is a managed type with inheritance. This allows for construction of multi-node entity graphs that include related managed types. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs
| |
| addSubclassSubgraph | back to summary |
|---|---|
| public <T> Subgraph Add additional attributes to this entity graph that correspond to attributes of subclasses of this EntityGraph's entity type. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs.
| |
| addSubgraph | back to summary |
|---|---|
| public <X> Subgraph Add a node to the graph that corresponds to a managed type. This allows for construction of multi-node entity graphs that include related managed types.
| |
| addSubgraph | back to summary |
|---|---|
| public <X> Subgraph Add a node to the graph that corresponds to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined for this node of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs.
| |
| addSubgraph | back to summary |
|---|---|
| public <X> Subgraph Add a node to the graph that corresponds to a managed type. This allows for construction of multi-node entity graphs that include related managed types.
| |
| addSubgraph | back to summary |
|---|---|
| public <X> Subgraph Add a node to the graph that corresponds to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined for this node of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs.
| |
| getAttributeNodes | back to summary |
|---|---|
| public List Return the attribute nodes of this entity that are included in the entity graph.
| |
| getName | back to summary |
|---|---|
| public String getName() Return the name of a named EntityGraph (an entity graph
defined by means of the | |