Module org.eclipse.persistence.jpa
Class EntityGraphImpl<X>
java.lang.Object
org.eclipse.persistence.internal.jpa.AttributeNodeImpl<X>
org.eclipse.persistence.internal.jpa.EntityGraphImpl<X>
- All Implemented Interfaces:
AttributeNode<X>
,EntityGraph<X>
,Subgraph<X>
Concrete JPA EntityGraph class. For this implementation the EntityGraphImpl
wraps the EclipseLink AttributeGroup type.
-
Field Summary
Modifier and TypeFieldDescriptionprotected AttributeGroup
protected Map
<String, AttributeNodeImpl> protected ClassDescriptor
protected boolean
Fields inherited from class org.eclipse.persistence.internal.jpa.AttributeNodeImpl
currentAttribute, keySubgraphs, subgraphs
-
Constructor Summary
ModifierConstructorDescriptionEntityGraphImpl
(AttributeGroup group) protected
EntityGraphImpl
(AttributeGroup group, ClassDescriptor descriptor) protected
EntityGraphImpl
(AttributeGroup group, ClassDescriptor descriptor, String attribute) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAttributeNodeImpl
(AttributeNodeImpl attributeNode) void
addAttributeNodes
(Attribute<X, ?>... attribute) void
addAttributeNodes
(String... attributeNames) <T> Subgraph
<T> addKeySubgraph
(Attribute<X, T> attribute) <T> Subgraph
<? extends T> addKeySubgraph
(Attribute<X, T> attribute, Class<? extends T> type) <X> Subgraph
<X> addKeySubgraph
(String attributeName) <X> Subgraph
<X> addKeySubgraph
(String attributeName, Class<X> type) <T> Subgraph
<? extends T> addSubclassSubgraph
(Class<? extends T> type) <T> Subgraph
<T> addSubgraph
(Attribute<X, T> attribute) <T> Subgraph
<? extends T> addSubgraph
(Attribute<X, T> attribute, Class<? extends T> type) <X> Subgraph
<X> addSubgraph
(String attributeName) <X> Subgraph
<X> addSubgraph
(String attributeName, Class<X> type) protected void
List
<AttributeNode<?>> getName()
Methods inherited from class org.eclipse.persistence.internal.jpa.AttributeNodeImpl
addKeySubgraph, addSubgraph, getKeySubgraphs, getSubgraphs
-
Field Details
-
attributeGroup
-
isMutable
protected transient boolean isMutable -
descriptor
-
classType
-
attributeNodes
-
-
Constructor Details
-
EntityGraphImpl
-
EntityGraphImpl
-
EntityGraphImpl
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceEntityGraph<X>
-
addAttributeNodes
- Specified by:
addAttributeNodes
in interfaceEntityGraph<X>
- Specified by:
addAttributeNodes
in interfaceSubgraph<X>
-
addAttributeNodeImpl
-
addAttributeNodes
- Specified by:
addAttributeNodes
in interfaceEntityGraph<X>
- Specified by:
addAttributeNodes
in interfaceSubgraph<X>
-
addSubgraph
- Specified by:
addSubgraph
in interfaceEntityGraph<X>
- Specified by:
addSubgraph
in interfaceSubgraph<X>
-
addSubgraph
- Specified by:
addSubgraph
in interfaceEntityGraph<X>
- Specified by:
addSubgraph
in interfaceSubgraph<X>
-
addSubgraph
- Specified by:
addSubgraph
in interfaceEntityGraph<X>
- Specified by:
addSubgraph
in interfaceSubgraph<X>
-
addSubgraph
- Specified by:
addSubgraph
in interfaceEntityGraph<X>
- Specified by:
addSubgraph
in interfaceSubgraph<X>
-
addKeySubgraph
- Specified by:
addKeySubgraph
in interfaceEntityGraph<X>
- Specified by:
addKeySubgraph
in interfaceSubgraph<X>
-
addKeySubgraph
- Specified by:
addKeySubgraph
in interfaceEntityGraph<X>
- Specified by:
addKeySubgraph
in interfaceSubgraph<X>
-
addKeySubgraph
- Specified by:
addKeySubgraph
in interfaceEntityGraph<X>
- Specified by:
addKeySubgraph
in interfaceSubgraph<X>
-
addKeySubgraph
- Specified by:
addKeySubgraph
in interfaceEntityGraph<X>
- Specified by:
addKeySubgraph
in interfaceSubgraph<X>
-
addSubclassSubgraph
- Specified by:
addSubclassSubgraph
in interfaceEntityGraph<X>
-
getAttributeNodes
- Specified by:
getAttributeNodes
in interfaceEntityGraph<X>
- Specified by:
getAttributeNodes
in interfaceSubgraph<X>
-
getClassType
- Specified by:
getClassType
in interfaceSubgraph<X>
-
getAttributeGroup
- Returns:
- the attributeGroup
-
getAttributeName
- Specified by:
getAttributeName
in interfaceAttributeNode<X>
- Overrides:
getAttributeName
in classAttributeNodeImpl<X>
-
buildAttributeNodes
protected void buildAttributeNodes()
-