Module org.eclipse.persistence.moxy
Class ObjectGraphImpl
java.lang.Object
org.eclipse.persistence.internal.jaxb.AttributeNodeImpl
org.eclipse.persistence.internal.jaxb.ObjectGraphImpl
- All Implemented Interfaces:
AttributeNode
,ObjectGraph
,Subgraph
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jaxb.AttributeNodeImpl
currentAttribute
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttributeNodes
(String... attributeName) Add an AttributeNode attribute to the entity graph.addSubgraph
(String attribute) Used to add a node of the graph that corresponds to a managed type.addSubgraph
(String attribute, Class<?> type) Used to add a node of the graph that corresponds to a managed type with inheritance.returns the attributes of this managed type that are included in the sub-graphClass
<?> returns the type of this sub-graph if it was used to extend a superclass sub-graph definition.getName()
Returns the name of the static EntityGraph.Methods inherited from class org.eclipse.persistence.internal.jaxb.AttributeNodeImpl
getAttributeName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.persistence.jaxb.AttributeNode
getAttributeName
-
Constructor Details
-
ObjectGraphImpl
-
-
Method Details
-
getClassType
Description copied from interface:Subgraph
returns the type of this sub-graph if it was used to extend a superclass sub-graph definition.- Specified by:
getClassType
in interfaceSubgraph
-
getName
Description copied from interface:ObjectGraph
Returns the name of the static EntityGraph. Will return null if the EntityGraph is not a named EntityGraph.- Specified by:
getName
in interfaceObjectGraph
-
addAttributeNodes
Description copied from interface:Subgraph
Add an AttributeNode attribute to the entity graph.- Specified by:
addAttributeNodes
in interfaceObjectGraph
- Specified by:
addAttributeNodes
in interfaceSubgraph
-
addSubgraph
Description copied from interface:Subgraph
Used to add a node of the graph that corresponds to a managed type. This allows for construction of multi-node Entity graphs that include related managed types.- Specified by:
addSubgraph
in interfaceObjectGraph
- Specified by:
addSubgraph
in interfaceSubgraph
-
addSubgraph
Description copied from interface:ObjectGraph
Used to add a node of the graph that corresponds to a managed type with inheritance. This allows for multiple subclass sub-graphs to be defined for this node of the entity graph. Subclass sub-graphs will include the specified attributes of superclass sub-graphs- Specified by:
addSubgraph
in interfaceObjectGraph
- Specified by:
addSubgraph
in interfaceSubgraph
-
getAttributeNodes
Description copied from interface:Subgraph
returns the attributes of this managed type that are included in the sub-graph- Specified by:
getAttributeNodes
in interfaceObjectGraph
- Specified by:
getAttributeNodes
in interfaceSubgraph
-
getAttributeGroup
-