public class EntityGraphImpl<T> extends GraphNode<T> implements EntityGraph<T>
| Constructor and Description |
|---|
EntityGraphImpl(String name,
EntityType<T> entityType,
HibernateEntityManagerFactory entityManagerFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeNodes(Attribute<T,?>... attributes) |
void |
addAttributeNodes(String... attributeNames) |
<X> Subgraph<X> |
addKeySubgraph(Attribute<T,X> attribute) |
<X> Subgraph<? extends X> |
addKeySubgraph(Attribute<T,X> attribute,
Class<? extends X> type) |
<X> Subgraph<X> |
addKeySubgraph(String attributeName) |
<X> Subgraph<X> |
addKeySubgraph(String attributeName,
Class<X> type) |
<T1> Subgraph<? extends T1> |
addSubclassSubgraph(Class<? extends T1> type) |
<X> Subgraph<X> |
addSubgraph(Attribute<T,X> attribute) |
<X> Subgraph<? extends X> |
addSubgraph(Attribute<T,X> attribute,
Class<? extends X> type) |
<X> Subgraph<X> |
addSubgraph(String attributeName) |
<X> Subgraph<X> |
addSubgraph(String attributeName,
Class<X> type) |
boolean |
appliesTo(EntityType<? super T> entityType) |
List<AttributeNode<?>> |
getAttributeNodes() |
String |
getName() |
EntityGraphImpl<T> |
makeImmutableCopy(String name) |
EntityGraphImpl<T> |
makeMutableCopy() |
protected Attribute<T,?> |
resolveAttribute(String attributeName) |
addAttribute, addAttribute, addAttributeNode, attributeNodes, buildAttributeNode, entityManagerFactorypublic EntityGraphImpl(String name, EntityType<T> entityType, HibernateEntityManagerFactory entityManagerFactory)
public EntityGraphImpl<T> makeImmutableCopy(String name)
public EntityGraphImpl<T> makeMutableCopy()
public String getName()
getName in interface EntityGraph<T>public void addAttributeNodes(String... attributeNames)
addAttributeNodes in interface EntityGraph<T>addAttributeNodes in class GraphNode<T>public void addAttributeNodes(Attribute<T,?>... attributes)
addAttributeNodes in interface EntityGraph<T>addAttributeNodes in class GraphNode<T>public <X> Subgraph<X> addSubgraph(Attribute<T,X> attribute)
addSubgraph in interface EntityGraph<T>addSubgraph in class GraphNode<T>public <X> Subgraph<? extends X> addSubgraph(Attribute<T,X> attribute, Class<? extends X> type)
addSubgraph in interface EntityGraph<T>addSubgraph in class GraphNode<T>public <X> Subgraph<X> addSubgraph(String attributeName)
addSubgraph in interface EntityGraph<T>addSubgraph in class GraphNode<T>public <X> Subgraph<X> addSubgraph(String attributeName, Class<X> type)
addSubgraph in interface EntityGraph<T>addSubgraph in class GraphNode<T>public <X> Subgraph<X> addKeySubgraph(Attribute<T,X> attribute)
addKeySubgraph in interface EntityGraph<T>addKeySubgraph in class GraphNode<T>public <X> Subgraph<? extends X> addKeySubgraph(Attribute<T,X> attribute, Class<? extends X> type)
addKeySubgraph in interface EntityGraph<T>addKeySubgraph in class GraphNode<T>public <X> Subgraph<X> addKeySubgraph(String attributeName)
addKeySubgraph in interface EntityGraph<T>addKeySubgraph in class GraphNode<T>public <X> Subgraph<X> addKeySubgraph(String attributeName, Class<X> type)
addKeySubgraph in interface EntityGraph<T>addKeySubgraph in class GraphNode<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 GraphNode<T>public boolean appliesTo(EntityType<? super T> entityType)
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.