public abstract class AbstractGraphNode<T> extends Object implements GraphNodeImplementor, HibernateEntityManagerFactoryAware
Modifier | Constructor and Description |
---|---|
protected |
AbstractGraphNode(AbstractGraphNode<T> original,
boolean mutable) |
protected |
AbstractGraphNode(EntityManagerFactoryImpl entityManagerFactory,
boolean mutable) |
protected AbstractGraphNode(EntityManagerFactoryImpl entityManagerFactory, boolean mutable)
protected AbstractGraphNode(AbstractGraphNode<T> original, boolean mutable)
public EntityManagerFactoryImpl getFactory()
HibernateEntityManagerFactoryAware
getFactory
in interface HibernateEntityManagerFactoryAware
public List<AttributeNodeImplementor<?>> attributeImplementorNodes()
attributeImplementorNodes
in interface GraphNodeImplementor
public List<AttributeNode<?>> attributeNodes()
attributeNodes
in interface GraphNodeImplementor
public void addAttributeNodes(String... attributeNames)
public AttributeNodeImpl addAttribute(String attributeName)
protected <X> AttributeNodeImpl<X> buildAttributeNode(Attribute<T,X> attribute)
protected AttributeNodeImpl addAttributeNode(AttributeNodeImpl attributeNode)
protected AttributeNodeImpl addAttribute(Attribute attribute)
public <X> SubgraphImpl<X> addSubgraph(Attribute<T,X> attribute)
public <X> SubgraphImpl<? extends X> addSubgraph(Attribute<T,X> attribute, Class<? extends X> type)
public <X> SubgraphImpl<X> addSubgraph(String attributeName)
public <X> SubgraphImpl<X> addSubgraph(String attributeName, Class<X> type)
public <X> SubgraphImpl<X> addKeySubgraph(Attribute<T,X> attribute)
public <X> SubgraphImpl<? extends X> addKeySubgraph(Attribute<T,X> attribute, Class<? extends X> type)
public <X> SubgraphImpl<X> addKeySubgraph(String attributeName)
public <X> SubgraphImpl<X> addKeySubgraph(String attributeName, Class<X> type)
public boolean containsAttribute(String name)
containsAttribute
in interface GraphNodeImplementor
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.