public interface Subgraph extends AttributeNode
Modifier and Type | Method and Description |
---|---|
void |
addAttributeNodes(String... attributeName)
Add an AttributeNode attribute to the entity graph.
|
Subgraph |
addSubgraph(String attribute)
Used to add a node of the graph that corresponds to a managed type.
|
Subgraph |
addSubgraph(String attribute,
Class type)
Used to add a node of the graph that corresponds to a managed type with
inheritance.
|
List<AttributeNode> |
getAttributeNodes()
returns the attributes of this managed type that are included in the
sub-graph
|
Class |
getClassType()
returns the type of this sub-graph if it was used to extend a superclass
sub-graph definition.
|
getAttributeName
void addAttributeNodes(String... attributeName)
IllegalArgumentException
- if the attribute is not an attribute of
this managed type.IllegalStateException
- if this EntityGraph has been statically definedSubgraph addSubgraph(String attribute)
IllegalArgumentException
- if the attribute is not an attribute of
this managed type.IllegalArgumentException
- if the attribute's target type is not a managed typeIllegalStateException
- if this EntityGraph has been statically definedSubgraph addSubgraph(String attribute, Class type)
IllegalArgumentException
- if the attribute is not an attribute of
this managed type.IllegalArgumentException
- if the attribute's target type is not a managed typeIllegalStateException
- if this EntityGraph has been statically definedList<AttributeNode> getAttributeNodes()
Class getClassType()
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.