|
EclipseLink 2.5.0, build 'v20130312-9664d23' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - the Class type of the AttributeNode.public interface SubGraph<T>
This type represents a AttributeNode of an EntityGraph that corresponds to a Managed Type. Using this class an entity graph can be embedded within an EntityGraph.
| Method Summary | ||
|---|---|---|
|
addAttributeNodes(java.lang.String... attributeName)
Add an AttributeNode attribute to the entity graph. |
|
|
addSubGraph(java.lang.String attribute)
Used to add a node of the graph that corresponds to a managed type. |
|
|
addSubGraph(java.lang.String attribute,
java.lang.Class<X> type)
Used to add a node of the graph that corresponds to a managed type with inheritance. |
|
java.util.List<AttributeNode<?>> |
getAttributeNodes()
returns the attributes of this managed type that are included in the sub-graph |
|
|
getClassType()
returns the attribute that references this sub-graph |
|
| Methods inherited from interface org.eclipse.persistence.jaxb.AttributeNode |
|---|
getAttributeName |
| Method Detail |
|---|
<X> void addAttributeNodes(java.lang.String... attributeName)
java.lang.IllegalArgumentException - if the attribute is not an attribute of
this managed type.
java.lang.IllegalStateException - if this EntityGraph has been statically defined<X> SubGraph<X> addSubGraph(java.lang.String attribute)
java.lang.IllegalArgumentException - if the attribute is not an attribute of
this managed type.
java.lang.IllegalArgumentException - if the attribute's target type is not a managed type
java.lang.IllegalStateException - if this EntityGraph has been statically defined
<X> SubGraph<X> addSubGraph(java.lang.String attribute,
java.lang.Class<X> type)
java.lang.IllegalArgumentException - if the attribute is not an attribute of
this managed type.
java.lang.IllegalArgumentException - if the attribute's target type is not a managed type
java.lang.IllegalStateException - if this EntityGraph has been statically definedjava.util.List<AttributeNode<?>> getAttributeNodes()
<X> java.lang.Class<X> getClassType()
|
EclipseLink 2.5.0, build 'v20130312-9664d23' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||