public interface ObjectGraph
XmlNamedObjectGraph
Modifier and Type | Method and Description |
---|---|
void |
addAttributeNodes(java.lang.String... attributeName) |
Subgraph |
addSubgraph(java.lang.String attribute) |
Subgraph |
addSubgraph(java.lang.String attribute,
java.lang.Class type)
Used to add a node of the graph that corresponds to a managed type with
inheritance.
|
java.util.List<AttributeNode> |
getAttributeNodes() |
java.lang.String |
getName()
Returns the name of the static EntityGraph.
|
java.lang.String getName()
void addAttributeNodes(java.lang.String... attributeName)
Subgraph addSubgraph(java.lang.String attribute)
Subgraph addSubgraph(java.lang.String attribute, java.lang.Class type)
java.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 definedjava.util.List<AttributeNode> getAttributeNodes()