public class EntityGraphImpl<T> extends AbstractGraphNode<T> implements EntityGraph<T>, GraphNodeImplementor
Constructor and Description |
---|
EntityGraphImpl(String name,
EntityType<T> entityType,
EntityManagerFactoryImpl entityManagerFactory) |
addAttribute, addAttribute, addAttributeNode, attributeImplementorNodes, attributeNodes, buildAttributeNode, containsAttribute, getFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
attributeImplementorNodes, attributeNodes, containsAttribute
public EntityGraphImpl(String name, EntityType<T> entityType, EntityManagerFactoryImpl entityManagerFactory)
public EntityGraphImpl<T> makeImmutableCopy(String name)
public EntityGraphImpl<T> makeMutableCopy()
public EntityType<T> getEntityType()
public String getName()
getName
in interface EntityGraph<T>
public void addAttributeNodes(String... attributeNames)
addAttributeNodes
in interface EntityGraph<T>
addAttributeNodes
in class AbstractGraphNode<T>
public void addAttributeNodes(Attribute<T,?>... attributes)
addAttributeNodes
in interface EntityGraph<T>
addAttributeNodes
in class AbstractGraphNode<T>
public <X> SubgraphImpl<X> addSubgraph(Attribute<T,X> attribute)
addSubgraph
in interface EntityGraph<T>
addSubgraph
in class AbstractGraphNode<T>
public <X> SubgraphImpl<? extends X> addSubgraph(Attribute<T,X> attribute, Class<? extends X> type)
addSubgraph
in interface EntityGraph<T>
addSubgraph
in class AbstractGraphNode<T>
public <X> SubgraphImpl<X> addSubgraph(String attributeName)
addSubgraph
in interface EntityGraph<T>
addSubgraph
in class AbstractGraphNode<T>
public <X> SubgraphImpl<X> addSubgraph(String attributeName, Class<X> type)
addSubgraph
in interface EntityGraph<T>
addSubgraph
in class AbstractGraphNode<T>
public <X> SubgraphImpl<X> addKeySubgraph(Attribute<T,X> attribute)
addKeySubgraph
in interface EntityGraph<T>
addKeySubgraph
in class AbstractGraphNode<T>
public <X> SubgraphImpl<? extends X> addKeySubgraph(Attribute<T,X> attribute, Class<? extends X> type)
addKeySubgraph
in interface EntityGraph<T>
addKeySubgraph
in class AbstractGraphNode<T>
public <X> SubgraphImpl<X> addKeySubgraph(String attributeName)
addKeySubgraph
in interface EntityGraph<T>
addKeySubgraph
in class AbstractGraphNode<T>
public <X> SubgraphImpl<X> addKeySubgraph(String attributeName, Class<X> type)
addKeySubgraph
in interface EntityGraph<T>
addKeySubgraph
in class AbstractGraphNode<T>
public <T1> Subgraph<? extends T1> addSubclassSubgraph(Class<? extends T1> type)
addSubclassSubgraph
in interface EntityGraph<T>
public List<AttributeNode<?>> getAttributeNodes()
getAttributeNodes
in interface EntityGraph<T>
protected Attribute<T,?> resolveAttribute(String attributeName)
resolveAttribute
in class AbstractGraphNode<T>
public boolean appliesTo(String entityName)
public boolean appliesTo(EntityType<? super T> entityType)
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.