|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of the root entity.public interface ObjectGraph
This type represents the root of an object graph that will be used as a template to define the attribute nodes and boundaries of a graph of JAXB objects and relationships. The root must be an root-level JAXB type.
XmlNamedObjectGraph
Method Summary | |
---|---|
void |
addAttributeNodes(java.lang.String... attributeName)
|
Subgraph |
addSubgraph(java.lang.String attribute)
|
Subgraph |
addSubgraph(java.lang.String attribute,
java.lang.Class type)
Used to add a node of the graph that corresponds to a managed type with inheritance. |
java.util.List<AttributeNode> |
getAttributeNodes()
|
java.lang.String |
getName()
Returns the name of the static EntityGraph. |
Method Detail |
---|
java.lang.String getName()
void addAttributeNodes(java.lang.String... attributeName)
Subgraph addSubgraph(java.lang.String attribute)
Subgraph addSubgraph(java.lang.String attribute, java.lang.Class 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()
|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |