public class SubgraphImpl<T> extends AbstractGraphNode<T> implements Subgraph<T>, GraphNodeImplementor
| Constructor and Description |
|---|
SubgraphImpl(HibernateEntityManagerFactory entityManagerFactory,
ManagedType managedType,
Class<T> subclass) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeNodes(Attribute<T,?>... attributes) |
void |
addAttributeNodes(String... attributeNames) |
<X> SubgraphImpl<X> |
addKeySubgraph(Attribute<T,X> attribute) |
<X> SubgraphImpl<? extends X> |
addKeySubgraph(Attribute<T,X> attribute,
Class<? extends X> type) |
<X> SubgraphImpl<X> |
addKeySubgraph(String attributeName) |
<X> SubgraphImpl<X> |
addKeySubgraph(String attributeName,
Class<X> type) |
<X> SubgraphImpl<X> |
addSubgraph(Attribute<T,X> attribute) |
<X> SubgraphImpl<? extends X> |
addSubgraph(Attribute<T,X> attribute,
Class<? extends X> type) |
<X> SubgraphImpl<X> |
addSubgraph(String attributeName) |
<X> SubgraphImpl<X> |
addSubgraph(String attributeName,
Class<X> type) |
List<AttributeNode<?>> |
getAttributeNodes() |
Class<T> |
getClassType() |
SubgraphImpl<T> |
makeImmutableCopy() |
protected 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 SubgraphImpl(HibernateEntityManagerFactory entityManagerFactory, ManagedType managedType, Class<T> subclass)
public SubgraphImpl<T> makeImmutableCopy()
public void addAttributeNodes(String... attributeNames)
addAttributeNodes in interface Subgraph<T>addAttributeNodes in class AbstractGraphNode<T>public void addAttributeNodes(Attribute<T,?>... attributes)
addAttributeNodes in interface Subgraph<T>addAttributeNodes in class AbstractGraphNode<T>public <X> SubgraphImpl<X> addSubgraph(Attribute<T,X> attribute)
addSubgraph in interface Subgraph<T>addSubgraph in class AbstractGraphNode<T>public <X> SubgraphImpl<? extends X> addSubgraph(Attribute<T,X> attribute, Class<? extends X> type)
addSubgraph in interface Subgraph<T>addSubgraph in class AbstractGraphNode<T>public <X> SubgraphImpl<X> addSubgraph(String attributeName)
addSubgraph in interface Subgraph<T>addSubgraph in class AbstractGraphNode<T>public <X> SubgraphImpl<X> addSubgraph(String attributeName, Class<X> type)
addSubgraph in interface Subgraph<T>addSubgraph in class AbstractGraphNode<T>public <X> SubgraphImpl<X> addKeySubgraph(Attribute<T,X> attribute)
addKeySubgraph in interface Subgraph<T>addKeySubgraph in class AbstractGraphNode<T>public <X> SubgraphImpl<? extends X> addKeySubgraph(Attribute<T,X> attribute, Class<? extends X> type)
addKeySubgraph in interface Subgraph<T>addKeySubgraph in class AbstractGraphNode<T>public <X> SubgraphImpl<X> addKeySubgraph(String attributeName)
addKeySubgraph in interface Subgraph<T>addKeySubgraph in class AbstractGraphNode<T>public <X> SubgraphImpl<X> addKeySubgraph(String attributeName, Class<X> type)
addKeySubgraph in interface Subgraph<T>addKeySubgraph in class AbstractGraphNode<T>public Class<T> getClassType()
getClassType in interface Subgraph<T>public List<AttributeNode<?>> getAttributeNodes()
getAttributeNodes in interface Subgraph<T>protected Attribute<T,?> resolveAttribute(String attributeName)
resolveAttribute in class AbstractGraphNode<T>Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.