Module eclipselink
Annotation Interface XmlNamedObjectGraph
@Target(TYPE)
@Retention(RUNTIME)
@Repeatable(XmlNamedObjectGraphs.class)
public @interface XmlNamedObjectGraph
Defines the boundaries for a marshal or unmarshal operation.
- Author:
- mmacivor
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe list of properties to be marshalled/unmarshalled for this graph.The name of this object graph. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionA list of named subgraphs for any subclasses of this class.A list of named subgraphs that are referenced from the property entries.
-
Element Details
-
name
String nameThe name of this object graph. Defaults to the name of the class. -
attributeNodes
XmlNamedAttributeNode[] attributeNodesThe list of properties to be marshalled/unmarshalled for this graph. -
subgraphs
XmlNamedSubgraph[] subgraphsA list of named subgraphs that are referenced from the property entries.- Default:
{}
-
subclassSubgraphs
XmlNamedSubgraph[] subclassSubgraphsA list of named subgraphs for any subclasses of this class.- Default:
{}
-