EntityGraph contract.
| Modifier and Type | Method and Description |
|---|---|
| public default void | addAttributeNodes(String...
name of the attribute names)Implements javax. |
| public default void | addAttributeNodes(Attribute<J, ?>...
attribute attributes)Implements javax. |
| public default <X> SubGraph | addKeySubgraph(Attribute<J, X>
attribute attribute)Implements javax. |
| public default <X> SubGraph | addKeySubgraph(Attribute<J, X>
attribute attribute, Class<? extends X> entity subclass type)Implements javax. |
| public default <X> SubGraph | addKeySubgraph(String
name of the attribute name)Implements javax. |
| public default <X> Subgraph | addKeySubgraph(String
name of the attribute name, Class<X> entity subclass type)Implements javax. |
| public <T1> SubGraph | addSubclassSubgraph(Class<? extends T1>
entity subclass type)Redeclares javax. |
| public default <X> SubGraph | addSubgraph(Attribute<J, X>
attribute attribute)Implements javax. |
| public default <X> SubGraph | addSubgraph(Attribute<J, X>
attribute attribute, Class<? extends X> entity subclass type)Implements javax. |
| public default <X> SubGraph | addSubgraph(String
name of the attribute name)Implements javax. |
| public default <X> SubGraph | addSubgraph(String
name of the attribute name, Class<X> entity subclass type)Implements javax. |
| public boolean | |
| public boolean | |
| public default List | getAttributeNodes()
Implements javax. |
| public RootGraph | makeRootGraph(String name, boolean mutable)
Redeclares org. |
| public SubGraph | makeSubGraph(boolean mutable)
Redeclares org. |
| addAttributeNodes | back to summary |
|---|---|
| public default void addAttributeNodes(String... names) Implements javax. Doc from javax. Add one or more attribute nodes to the entity graph. | |
| addAttributeNodes | back to summary |
|---|---|
| public default void addAttributeNodes(Attribute<J, ?>... attributes) Implements javax. Doc from javax. Add one or more attribute nodes to the entity graph.
| |
| addKeySubgraph | back to summary |
|---|---|
| public default <X> SubGraph Implements javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. 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. | |
| appliesTo | back to summary |
|---|---|
| public boolean appliesTo(String entityName) | |
| appliesTo | back to summary |
|---|---|
| public boolean appliesTo(Class<T> entityType) | |
| getAttributeNodes | back to summary |
|---|---|
| public default List Implements javax. Doc from javax. 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 (if passed `name` != null) root Graph. The `mutable` parameter controls whether the created Graph is mutable.
| |
| makeSubGraph | back to summary |
|---|---|
| public SubGraph Redeclares org. Doc from org. Create a (mutable/immutable) SubGraph based on this Graph | |