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) |
Modifier and Type | Method and Description |
---|---|
protected AttributeNodeImpl |
addAttribute(javax.persistence.metamodel.Attribute attribute) |
AttributeNodeImpl |
addAttribute(String attributeName) |
protected AttributeNodeImpl |
addAttributeNode(AttributeNodeImpl attributeNode) |
protected 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) |
<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) |
List<AttributeNodeImplementor<?>> |
attributeImplementorNodes() |
List<javax.persistence.AttributeNode<?>> |
attributeNodes() |
protected <X> AttributeNodeImpl<X> |
buildAttributeNode(javax.persistence.metamodel.Attribute<T,X> attribute) |
boolean |
containsAttribute(String name) |
EntityManagerFactoryImpl |
getFactory()
Get access to the Hibernate extended EMF contract.
|
protected abstract javax.persistence.metamodel.Attribute<T,?> |
resolveAttribute(String attributeName) |
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<javax.persistence.AttributeNode<?>> attributeNodes()
attributeNodes
in interface GraphNodeImplementor
public void addAttributeNodes(String... attributeNames)
public AttributeNodeImpl addAttribute(String attributeName)
protected abstract javax.persistence.metamodel.Attribute<T,?> resolveAttribute(String attributeName)
protected <X> AttributeNodeImpl<X> buildAttributeNode(javax.persistence.metamodel.Attribute<T,X> attribute)
protected AttributeNodeImpl addAttributeNode(AttributeNodeImpl attributeNode)
protected void addAttributeNodes(javax.persistence.metamodel.Attribute<T,?>... attributes)
protected AttributeNodeImpl addAttribute(javax.persistence.metamodel.Attribute attribute)
public <X> SubgraphImpl<X> addSubgraph(javax.persistence.metamodel.Attribute<T,X> attribute)
public <X> SubgraphImpl<? extends X> addSubgraph(javax.persistence.metamodel.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(javax.persistence.metamodel.Attribute<T,X> attribute)
public <X> SubgraphImpl<? extends X> addKeySubgraph(javax.persistence.metamodel.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 © 2024. All rights reserved.