public class ObjectGraphImpl extends AttributeNodeImpl implements ObjectGraph, Subgraph
Constructor and Description |
---|
ObjectGraphImpl(CoreAttributeGroup group) |
Modifier and Type | Method and Description |
---|---|
void |
addAttributeNodes(java.lang.String... attributeName)
Add an AttributeNode attribute to the entity graph.
|
Subgraph |
addSubgraph(java.lang.String attribute)
Used to add a node of the graph that corresponds to a managed type.
|
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.
|
CoreAttributeGroup |
getAttributeGroup() |
java.util.List<AttributeNode> |
getAttributeNodes()
returns the attributes of this managed type that are included in the
sub-graph
|
java.lang.Class |
getClassType()
returns the type of this sub-graph if it was used to extend a superclass
sub-graph definition.
|
java.lang.String |
getName()
Returns the name of the static EntityGraph.
|
getAttributeName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttributeName
public ObjectGraphImpl(CoreAttributeGroup group)
public java.lang.Class getClassType()
Subgraph
getClassType
in interface Subgraph
public java.lang.String getName()
ObjectGraph
getName
in interface ObjectGraph
public void addAttributeNodes(java.lang.String... attributeName)
Subgraph
addAttributeNodes
in interface ObjectGraph
addAttributeNodes
in interface Subgraph
public Subgraph addSubgraph(java.lang.String attribute)
Subgraph
addSubgraph
in interface ObjectGraph
addSubgraph
in interface Subgraph
public Subgraph addSubgraph(java.lang.String attribute, java.lang.Class type)
ObjectGraph
addSubgraph
in interface ObjectGraph
addSubgraph
in interface Subgraph
public java.util.List<AttributeNode> getAttributeNodes()
Subgraph
getAttributeNodes
in interface ObjectGraph
getAttributeNodes
in interface Subgraph
public CoreAttributeGroup getAttributeGroup()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference