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
FieldsModifier and TypeFieldDescriptionprotected AttributeGroupprotected Map<String, AttributeNodeImpl> protected ClassDescriptorprotected booleanFields inherited from class org.eclipse.persistence.internal.jpa.AttributeNodeImpl
currentAttribute, keySubgraphs, subgraphs -
Constructor Summary
ConstructorsModifierConstructorDescriptionEntityGraphImpl(AttributeGroup group) protectedEntityGraphImpl(AttributeGroup group, ClassDescriptor descriptor) protectedEntityGraphImpl(AttributeGroup group, ClassDescriptor descriptor, String attribute) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAttributeNodeImpl(AttributeNodeImpl attributeNode) voidaddAttributeNodes(Attribute<X, ?>... attribute) voidaddAttributeNodes(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 voidList<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:
getNamein interfaceEntityGraph<X>
-
addAttributeNodes
- Specified by:
addAttributeNodesin interfaceEntityGraph<X>- Specified by:
addAttributeNodesin interfaceSubgraph<X>
-
addAttributeNodeImpl
-
addAttributeNodes
- Specified by:
addAttributeNodesin interfaceEntityGraph<X>- Specified by:
addAttributeNodesin interfaceSubgraph<X>
-
addSubgraph
- Specified by:
addSubgraphin interfaceEntityGraph<X>- Specified by:
addSubgraphin interfaceSubgraph<X>
-
addSubgraph
- Specified by:
addSubgraphin interfaceEntityGraph<X>- Specified by:
addSubgraphin interfaceSubgraph<X>
-
addSubgraph
- Specified by:
addSubgraphin interfaceEntityGraph<X>- Specified by:
addSubgraphin interfaceSubgraph<X>
-
addSubgraph
- Specified by:
addSubgraphin interfaceEntityGraph<X>- Specified by:
addSubgraphin interfaceSubgraph<X>
-
addKeySubgraph
- Specified by:
addKeySubgraphin interfaceEntityGraph<X>- Specified by:
addKeySubgraphin interfaceSubgraph<X>
-
addKeySubgraph
- Specified by:
addKeySubgraphin interfaceEntityGraph<X>- Specified by:
addKeySubgraphin interfaceSubgraph<X>
-
addKeySubgraph
- Specified by:
addKeySubgraphin interfaceEntityGraph<X>- Specified by:
addKeySubgraphin interfaceSubgraph<X>
-
addKeySubgraph
- Specified by:
addKeySubgraphin interfaceEntityGraph<X>- Specified by:
addKeySubgraphin interfaceSubgraph<X>
-
addSubclassSubgraph
- Specified by:
addSubclassSubgraphin interfaceEntityGraph<X>
-
getAttributeNodes
- Specified by:
getAttributeNodesin interfaceEntityGraph<X>- Specified by:
getAttributeNodesin interfaceSubgraph<X>
-
getClassType
- Specified by:
getClassTypein interfaceSubgraph<X>
-
getAttributeGroup
- Returns:
- the attributeGroup
-
getAttributeName
- Specified by:
getAttributeNamein interfaceAttributeNode<X>- Overrides:
getAttributeNamein classAttributeNodeImpl<X>
-
buildAttributeNodes
protected void buildAttributeNodes()
-