public class EntityGraphImpl<T> extends AbstractGraphNode<T> implements javax.persistence.EntityGraph<T>, GraphNodeImplementor
| Constructor and Description |
|---|
EntityGraphImpl(String name,
javax.persistence.metamodel.EntityType<T> entityType,
EntityManagerFactoryImpl entityManagerFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeNodes(javax.persistence.metamodel.Attribute<T,?>... attributes) |
void |
addAttributeNodes(String... attributeNames) |
<X> SubgraphImpl<X> |
addKeySubgraph(javax.persistence.metamodel.Attribute<T,X> attribute) |
<X> SubgraphImpl<? extends X> |
addKeySubgraph(javax.persistence.metamodel.Attribute<T,X> attribute,
Class<? extends X> type) |
<X> SubgraphImpl<X> |
addKeySubgraph(String attributeName) |
<X> SubgraphImpl<X> |
addKeySubgraph(String attributeName,
Class<X> type) |
<T1> javax.persistence.Subgraph<? extends T1> |
addSubclassSubgraph(Class<? extends T1> type) |
<X> SubgraphImpl<X> |
addSubgraph(javax.persistence.metamodel.Attribute<T,X> attribute) |
<X> SubgraphImpl<? extends X> |
addSubgraph(javax.persistence.metamodel.Attribute<T,X> attribute,
Class<? extends X> type) |
<X> SubgraphImpl<X> |
addSubgraph(String attributeName) |
<X> SubgraphImpl<X> |
addSubgraph(String attributeName,
Class<X> type) |
boolean |
appliesTo(javax.persistence.metamodel.EntityType<? super T> entityType) |
boolean |
appliesTo(String entityName) |
List<javax.persistence.AttributeNode<?>> |
getAttributeNodes() |
javax.persistence.metamodel.EntityType<T> |
getEntityType() |
String |
getName() |
EntityGraphImpl<T> |
makeImmutableCopy(String name) |
EntityGraphImpl<T> |
makeMutableCopy() |
protected javax.persistence.metamodel.Attribute<T,?> |
resolveAttribute(String attributeName) |
addAttribute, addAttribute, addAttributeNode, attributeImplementorNodes, attributeNodes, buildAttributeNode, containsAttribute, getFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattributeImplementorNodes, attributeNodes, containsAttributepublic EntityGraphImpl(String name, javax.persistence.metamodel.EntityType<T> entityType, EntityManagerFactoryImpl entityManagerFactory)
public EntityGraphImpl<T> makeImmutableCopy(String name)
public EntityGraphImpl<T> makeMutableCopy()
public javax.persistence.metamodel.EntityType<T> getEntityType()
public void addAttributeNodes(String... attributeNames)
addAttributeNodes in interface javax.persistence.EntityGraph<T>addAttributeNodes in class AbstractGraphNode<T>public void addAttributeNodes(javax.persistence.metamodel.Attribute<T,?>... attributes)
addAttributeNodes in interface javax.persistence.EntityGraph<T>addAttributeNodes in class AbstractGraphNode<T>public <X> SubgraphImpl<X> addSubgraph(javax.persistence.metamodel.Attribute<T,X> attribute)
addSubgraph in interface javax.persistence.EntityGraph<T>addSubgraph in class AbstractGraphNode<T>public <X> SubgraphImpl<? extends X> addSubgraph(javax.persistence.metamodel.Attribute<T,X> attribute, Class<? extends X> type)
addSubgraph in interface javax.persistence.EntityGraph<T>addSubgraph in class AbstractGraphNode<T>public <X> SubgraphImpl<X> addSubgraph(String attributeName)
addSubgraph in interface javax.persistence.EntityGraph<T>addSubgraph in class AbstractGraphNode<T>public <X> SubgraphImpl<X> addSubgraph(String attributeName, Class<X> type)
addSubgraph in interface javax.persistence.EntityGraph<T>addSubgraph in class AbstractGraphNode<T>public <X> SubgraphImpl<X> addKeySubgraph(javax.persistence.metamodel.Attribute<T,X> attribute)
addKeySubgraph in interface javax.persistence.EntityGraph<T>addKeySubgraph in class AbstractGraphNode<T>public <X> SubgraphImpl<? extends X> addKeySubgraph(javax.persistence.metamodel.Attribute<T,X> attribute, Class<? extends X> type)
addKeySubgraph in interface javax.persistence.EntityGraph<T>addKeySubgraph in class AbstractGraphNode<T>public <X> SubgraphImpl<X> addKeySubgraph(String attributeName)
addKeySubgraph in interface javax.persistence.EntityGraph<T>addKeySubgraph in class AbstractGraphNode<T>public <X> SubgraphImpl<X> addKeySubgraph(String attributeName, Class<X> type)
addKeySubgraph in interface javax.persistence.EntityGraph<T>addKeySubgraph in class AbstractGraphNode<T>public <T1> javax.persistence.Subgraph<? extends T1> addSubclassSubgraph(Class<? extends T1> type)
addSubclassSubgraph in interface javax.persistence.EntityGraph<T>public List<javax.persistence.AttributeNode<?>> getAttributeNodes()
getAttributeNodes in interface javax.persistence.EntityGraph<T>protected javax.persistence.metamodel.Attribute<T,?> resolveAttribute(String attributeName)
resolveAttribute in class AbstractGraphNode<T>public boolean appliesTo(String entityName)
public boolean appliesTo(javax.persistence.metamodel.EntityType<? super T> entityType)
Copyright © 2016. All rights reserved.