EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference

org.eclipse.persistence.oxm.annotations
Annotation Type XmlNamedObjectGraph


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface XmlNamedObjectGraph

Purpose: Used to define the boundaries for a marshal or unmarhsal operation.

Author:
mmacivor
Since:
EclipseLink 2.5

Required Element Summary
 XmlNamedAttributeNode[] attributeNodes
          The list of properties to be marshalled/unmarshalled for this graph.
 java.lang.String name
          The name of this object graph.
 
Optional Element Summary
 XmlNamedSubgraph[] subclassSubgraphs
          Optional: a list of named subgraphs for any subclasses of this class.
 XmlNamedSubgraph[] subgraphs
          Optional: a list of named subgraphs that are referenced from the property entries.
 

Element Detail

name

public abstract java.lang.String name
The name of this object graph. Defaults to the name of the class


attributeNodes

public abstract XmlNamedAttributeNode[] attributeNodes
The list of properties to be marshalled/unmarshalled for this graph.

subgraphs

public abstract XmlNamedSubgraph[] subgraphs
Optional: a list of named subgraphs that are referenced from the property entries.

Default:
{}

subclassSubgraphs

public abstract XmlNamedSubgraph[] subclassSubgraphs
Optional: a list of named subgraphs for any subclasses of this class.

Default:
{}

EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference