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>,Graph<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 TypeMethodDescription<Y> AttributeNode<Y> addAttributeNode(Attribute<? super X, Y> attribute) <Y> AttributeNode<Y> addAttributeNode(String attributeName) protected voidaddAttributeNodeImpl(AttributeNodeImpl<?> attributeNode) final voidaddAttributeNodes(Attribute<? super X, ?>... attributes) voidaddAttributeNodes(String... attributeNames) <E> Subgraph<E> addElementSubgraph(PluralAttribute<? super X, ?, E> attribute) <X1> Subgraph<X1> addElementSubgraph(String attributeName) <X1> Subgraph<X1> addElementSubgraph(String attributeName, Class<X1> type) <T> Subgraph<T> addKeySubgraph(Attribute<? super X, T> attribute) <T> Subgraph<? extends T> addKeySubgraph(Attribute<? super X, T> attribute, Class<? extends T> type) <T> Subgraph<T> addKeySubgraph(String attributeName) <T> Subgraph<T> addKeySubgraph(String attributeName, Class<T> type) <K> Subgraph<K> addMapKeySubgraph(MapAttribute<? super X, K, ?> attribute) <T> Subgraph<? extends T> addSubclassSubgraph(Class<? extends T> type) <T> Subgraph<T> addSubgraph(Attribute<? super X, T> attribute) <T> Subgraph<? extends T> addSubgraph(Attribute<? super X, T> attribute, Class<? extends T> type) <T> Subgraph<T> addSubgraph(String attributeName) <T> Subgraph<T> addSubgraph(String attributeName, Class<T> type) <E> Subgraph<E> addTreatedElementSubgraph(PluralAttribute<? super X, ?, ? super E> attribute, Class<E> type) <K> Subgraph<K> addTreatedMapKeySubgraph(MapAttribute<? super X, ? super K, ?> attribute, Class<K> type) <Y> Subgraph<Y> addTreatedSubgraph(Attribute<? super X, ? super Y> attribute, Class<Y> type) addTreatedSubgraph(Class<S> type) protected void<Y> AttributeNode<Y> getAttributeNode(Attribute<? super X, Y> attribute) <Y> AttributeNode<Y> getAttributeNode(String attributeName) List<AttributeNode<?>> getName()booleanhasAttributeNode(Attribute<? super X, ?> attribute) booleanhasAttributeNode(String attributeName) voidremoveAttributeNode(Attribute<? super X, ?> attribute) voidremoveAttributeNode(String attributeName) voidMethods 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>
-
addAttributeNode
- Specified by:
addAttributeNodein interfaceGraph<X>
-
addAttributeNode
- Specified by:
addAttributeNodein interfaceGraph<X>
-
addAttributeNodes
- Specified by:
addAttributeNodesin interfaceGraph<X>
-
addAttributeNodes
- Specified by:
addAttributeNodesin interfaceGraph<X>
-
hasAttributeNode
- Specified by:
hasAttributeNodein interfaceGraph<X>
-
hasAttributeNode
- Specified by:
hasAttributeNodein interfaceGraph<X>
-
getAttributeNode
- Specified by:
getAttributeNodein interfaceGraph<X>
-
getAttributeNode
- Specified by:
getAttributeNodein interfaceGraph<X>
-
removeAttributeNode
- Specified by:
removeAttributeNodein interfaceGraph<X>
-
removeAttributeNode
- Specified by:
removeAttributeNodein interfaceGraph<X>
-
removeAttributeNodes
- Specified by:
removeAttributeNodesin interfaceGraph<X>
-
addAttributeNodeImpl
-
addSubgraph
- Specified by:
addSubgraphin interfaceGraph<X>
-
addTreatedSubgraph
- Specified by:
addTreatedSubgraphin interfaceEntityGraph<X>
-
addSubclassSubgraph
- Specified by:
addSubclassSubgraphin interfaceEntityGraph<X>
-
addTreatedSubgraph
- Specified by:
addTreatedSubgraphin interfaceGraph<X>
-
addSubgraph
public <T> Subgraph<? extends T> addSubgraph(Attribute<? super X, T> attribute, Class<? extends T> type) - Specified by:
addSubgraphin interfaceGraph<X>
-
addSubgraph
- Specified by:
addSubgraphin interfaceGraph<X>
-
addSubgraph
- Specified by:
addSubgraphin interfaceGraph<X>
-
addElementSubgraph
- Specified by:
addElementSubgraphin interfaceGraph<X>
-
addElementSubgraph
- Specified by:
addElementSubgraphin interfaceGraph<X>
-
addElementSubgraph
- Specified by:
addElementSubgraphin interfaceGraph<X>
-
addTreatedElementSubgraph
public <E> Subgraph<E> addTreatedElementSubgraph(PluralAttribute<? super X, ?, ? super E> attribute, Class<E> type) - Specified by:
addTreatedElementSubgraphin interfaceGraph<X>
-
addMapKeySubgraph
- Specified by:
addMapKeySubgraphin interfaceGraph<X>
-
addTreatedMapKeySubgraph
public <K> Subgraph<K> addTreatedMapKeySubgraph(MapAttribute<? super X, ? super K, ?> attribute, Class<K> type) - Specified by:
addTreatedMapKeySubgraphin interfaceGraph<X>
-
addKeySubgraph
- Specified by:
addKeySubgraphin interfaceGraph<X>
-
addKeySubgraph
public <T> Subgraph<? extends T> addKeySubgraph(Attribute<? super X, T> attribute, Class<? extends T> type) - Specified by:
addKeySubgraphin interfaceGraph<X>
-
addKeySubgraph
- Specified by:
addKeySubgraphin interfaceGraph<X>
-
addKeySubgraph
- Specified by:
addKeySubgraphin interfaceGraph<X>
-
getAttributeNodes
- Specified by:
getAttributeNodesin interfaceGraph<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()
-