EntityGraph with additional operations.
SubGraph
| Modifier and Type | Method and Description |
|---|---|
| public default void | addAttributeNodes(String...
name of the attribute names)Implements jakarta. |
| public default void | addAttributeNodes(Attribute<J, ?>...
attribute attributes)Implements jakarta. |
| public default <X> SubGraph | addKeySubgraph(Attribute<J, X>
attribute attribute)Implements jakarta. |
| public default <X> SubGraph | addKeySubgraph(Attribute<J, X>
attribute attribute, Class<? extends X> entity subclass type)Implements jakarta. |
| public default <X> SubGraph | addKeySubgraph(String
name of the attribute name)Implements jakarta. |
| public default <X> Subgraph | addKeySubgraph(String
name of the attribute name, Class<X> entity subclass type)Implements jakarta. |
| public <T1> SubGraph | addSubclassSubgraph(Class<? extends T1>
entity subclass type)Redeclares jakarta. |
| public default <X> SubGraph | addSubgraph(Attribute<J, X>
attribute attribute)Implements jakarta. |
| public default <X> SubGraph | addSubgraph(Attribute<J, X>
attribute attribute, Class<? extends X> entity subclass type)Implements jakarta. |
| public default <X> SubGraph | addSubgraph(String
name of the attribute name)Implements jakarta. |
| public default <X> SubGraph | addSubgraph(String
name of the attribute name, Class<X> entity subclass type)Implements jakarta. |
| public default List | getAttributeNodes()
Implements jakarta. |
| public RootGraph | makeRootGraph(String name, boolean
controls whether the resulting mutable)Graph is mutableRedeclares org. Graph if the given name is not null.
|
| public SubGraph | makeSubGraph(boolean mutable)
Redeclares org. SubGraph rooted at
this Graph.
|
| addAttributeNodes | back to summary |
|---|---|
| public default void addAttributeNodes(String... names) Implements jakarta. Doc from jakarta. Add one or more attribute nodes to the entity graph. | |
| addAttributeNodes | back to summary |
|---|---|
| public default void addAttributeNodes(Attribute<J, ?>... attributes) Implements jakarta. Doc from jakarta. Add one or more attribute nodes to the entity graph.
| |
| addKeySubgraph | back to summary |
|---|---|
| public default <X> SubGraph Implements jakarta. Doc from jakarta. 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 default <X> SubGraph Implements jakarta. Doc from jakarta. 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 default <X> SubGraph Implements jakarta. Doc from jakarta. 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 default <X> Subgraph Implements jakarta. Doc from jakarta. 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 <T1> SubGraph Redeclares jakarta. Doc from jakarta. 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 default <X> SubGraph Implements jakarta. Doc from jakarta. 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 default <X> SubGraph Implements jakarta. Doc from jakarta. 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 default <X> SubGraph Implements jakarta. Doc from jakarta. 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 default <X> SubGraph Implements jakarta. Doc from jakarta. 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 default List Implements jakarta. Doc from jakarta. Return the attribute nodes of this entity that are included in the entity graph.
| |
| makeRootGraph | back to summary |
|---|---|
| public RootGraph Redeclares org. Doc from org. Create a named root
| |
| makeSubGraph | back to summary |
|---|---|
| public SubGraph Redeclares org. Doc from org. Create a new (mutable or immutable) | |