public abstract class AbstractGraphNode<T> extends java.lang.Object implements GraphNodeImplementor, HibernateEntityManagerFactoryAware
Modifier | Constructor and Description |
---|---|
protected |
AbstractGraphNode(AbstractGraphNode<T> original,
boolean mutable) |
protected |
AbstractGraphNode(SessionFactoryImplementor sessionFactory,
boolean mutable) |
Modifier and Type | Method and Description |
---|---|
protected AttributeNodeImpl |
addAttribute(javax.persistence.metamodel.Attribute attribute) |
AttributeNodeImpl |
addAttribute(java.lang.String attributeName) |
protected AttributeNodeImpl |
addAttributeNode(AttributeNodeImpl attributeNode) |
protected void |
addAttributeNodes(javax.persistence.metamodel.Attribute<T,?>... attributes) |
void |
addAttributeNodes(java.lang.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,
java.lang.Class<? extends X> type) |
<X> SubgraphImpl<X> |
addKeySubgraph(java.lang.String attributeName) |
<X> SubgraphImpl<X> |
addKeySubgraph(java.lang.String attributeName,
java.lang.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,
java.lang.Class<? extends X> type) |
<X> SubgraphImpl<X> |
addSubgraph(java.lang.String attributeName) |
<X> SubgraphImpl<X> |
addSubgraph(java.lang.String attributeName,
java.lang.Class<X> type) |
java.util.List<AttributeNodeImplementor<?>> |
attributeImplementorNodes() |
java.util.List<javax.persistence.AttributeNode<?>> |
attributeNodes() |
protected <X> AttributeNodeImpl<X> |
buildAttributeNode(javax.persistence.metamodel.Attribute<T,X> attribute) |
boolean |
containsAttribute(java.lang.String name) |
SessionFactoryImplementor |
getFactory()
Get access to the Hibernate extended EMF contract.
|
protected abstract javax.persistence.metamodel.Attribute<T,?> |
resolveAttribute(java.lang.String attributeName) |
protected AbstractGraphNode(SessionFactoryImplementor sessionFactory, boolean mutable)
protected AbstractGraphNode(AbstractGraphNode<T> original, boolean mutable)
public SessionFactoryImplementor getFactory()
HibernateEntityManagerFactoryAware
getFactory
in interface HibernateEntityManagerFactoryAware
public java.util.List<AttributeNodeImplementor<?>> attributeImplementorNodes()
attributeImplementorNodes
in interface GraphNodeImplementor
public java.util.List<javax.persistence.AttributeNode<?>> attributeNodes()
attributeNodes
in interface GraphNodeImplementor
public void addAttributeNodes(java.lang.String... attributeNames)
public AttributeNodeImpl addAttribute(java.lang.String attributeName)
protected abstract javax.persistence.metamodel.Attribute<T,?> resolveAttribute(java.lang.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, java.lang.Class<? extends X> type)
public <X> SubgraphImpl<X> addSubgraph(java.lang.String attributeName)
public <X> SubgraphImpl<X> addSubgraph(java.lang.String attributeName, java.lang.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, java.lang.Class<? extends X> type)
public <X> SubgraphImpl<X> addKeySubgraph(java.lang.String attributeName)
public <X> SubgraphImpl<X> addKeySubgraph(java.lang.String attributeName, java.lang.Class<X> type)
public boolean containsAttribute(java.lang.String name)
containsAttribute
in interface GraphNodeImplementor
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.