public interface NamedEntityGraph<T> extends Child<T>, OrmNamedEntityGraphCommType<T,NamedEntityGraph<T>,NamedAttributeNode<NamedEntityGraph<T>>,NamedSubgraph<NamedEntityGraph<T>>,NamedSubgraph<NamedEntityGraph<T>>>
named-entity-graph
xsd typeModifier and Type | Method and Description |
---|---|
NamedAttributeNode<NamedEntityGraph<T>> |
createNamedAttributeNode()
Creates a new
named-attribute-node element |
NamedSubgraph<NamedEntityGraph<T>> |
createSubclassSubgraph()
Creates a new
subclass-subgraph element |
NamedSubgraph<NamedEntityGraph<T>> |
createSubgraph()
Creates a new
subgraph element |
List<NamedAttributeNode<NamedEntityGraph<T>>> |
getAllNamedAttributeNode()
Returns all
named-attribute-node elements |
List<NamedSubgraph<NamedEntityGraph<T>>> |
getAllSubclassSubgraph()
Returns all
subclass-subgraph elements |
List<NamedSubgraph<NamedEntityGraph<T>>> |
getAllSubgraph()
Returns all
subgraph elements |
String |
getName()
Returns the
name attribute |
NamedAttributeNode<NamedEntityGraph<T>> |
getOrCreateNamedAttributeNode()
If not already created, a new
named-attribute-node element will be created and returned. |
NamedSubgraph<NamedEntityGraph<T>> |
getOrCreateSubclassSubgraph()
If not already created, a new
subclass-subgraph element will be created and returned. |
NamedSubgraph<NamedEntityGraph<T>> |
getOrCreateSubgraph()
If not already created, a new
subgraph element will be created and returned. |
NamedEntityGraph<T> |
includeAllAttributes(Boolean includeAllAttributes)
Sets the
include-all-attributes attribute |
Boolean |
isIncludeAllAttributes()
Returns the
include-all-attributes attribute |
NamedEntityGraph<T> |
name(String name)
Sets the
name attribute |
NamedEntityGraph<T> |
removeAllNamedAttributeNode()
Removes all
named-attribute-node elements |
NamedEntityGraph<T> |
removeAllSubclassSubgraph()
Removes all
subclass-subgraph elements |
NamedEntityGraph<T> |
removeAllSubgraph()
Removes all
subgraph elements |
NamedEntityGraph<T> |
removeIncludeAllAttributes()
Removes the
include-all-attributes attribute |
NamedEntityGraph<T> |
removeName()
Removes the
name attribute |
NamedAttributeNode<NamedEntityGraph<T>> getOrCreateNamedAttributeNode()
named-attribute-node
element will be created and returned.
Otherwise, the first existing named-attribute-node
element will be returned.named-attribute-node
NamedAttributeNode<NamedEntityGraph<T>> createNamedAttributeNode()
named-attribute-node
elementNamedAttributeNode>
List<NamedAttributeNode<NamedEntityGraph<T>>> getAllNamedAttributeNode()
named-attribute-node
elementsnamed-attribute-node
NamedEntityGraph<T> removeAllNamedAttributeNode()
named-attribute-node
elementsNamedAttributeNode>
NamedSubgraph<NamedEntityGraph<T>> getOrCreateSubgraph()
subgraph
element will be created and returned.
Otherwise, the first existing subgraph
element will be returned.subgraph
NamedSubgraph<NamedEntityGraph<T>> createSubgraph()
subgraph
elementNamedSubgraph>
List<NamedSubgraph<NamedEntityGraph<T>>> getAllSubgraph()
subgraph
elementssubgraph
NamedEntityGraph<T> removeAllSubgraph()
subgraph
elementsNamedSubgraph>
NamedSubgraph<NamedEntityGraph<T>> getOrCreateSubclassSubgraph()
subclass-subgraph
element will be created and returned.
Otherwise, the first existing subclass-subgraph
element will be returned.subclass-subgraph
NamedSubgraph<NamedEntityGraph<T>> createSubclassSubgraph()
subclass-subgraph
elementNamedSubgraph>
List<NamedSubgraph<NamedEntityGraph<T>>> getAllSubclassSubgraph()
subclass-subgraph
elementssubclass-subgraph
NamedEntityGraph<T> removeAllSubclassSubgraph()
subclass-subgraph
elementsNamedSubgraph>
NamedEntityGraph<T> name(String name)
name
attributename
- the value for the attribute name
NamedEntityGraph
String getName()
name
attributename
NamedEntityGraph<T> removeName()
name
attributeNamedEntityGraph
NamedEntityGraph<T> includeAllAttributes(Boolean includeAllAttributes)
include-all-attributes
attributeincludeAllAttributes
- the value for the attribute include-all-attributes
NamedEntityGraph
Boolean isIncludeAllAttributes()
include-all-attributes
attributeinclude-all-attributes
NamedEntityGraph<T> removeIncludeAllAttributes()
include-all-attributes
attributeNamedEntityGraph
Copyright © 2017 JBoss by Red Hat. All rights reserved.