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

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


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

A XmlNamedSubgraph is a member element of a XmlNamedObjectGraph. The XmlNamedSubgraph is only referenced from within an XmlNamedObjectGraph and can not be referenced independently. It is referenced by its name from an XmlNamedAttributeNode element of the XmlNamedObjectGraph.

See Also:
XmlNamedObjectGraph, XmlNamedAttributeNode
Since:
EclipseLink 2.5

Required Element Summary
 XmlNamedAttributeNode[] attributeNodes
          The list of properties to include in this graph
 java.lang.String name
          required: the name of the subgraph
 
Optional Element Summary
 java.lang.Class type
          optional: only required for inheritance or with ChoiceMappings to specify which of the possible targets this subgraph is to be applied to.
 

Element Detail

name

public abstract java.lang.String name
required: the name of the subgraph


attributeNodes

public abstract XmlNamedAttributeNode[] attributeNodes
The list of properties to include in this graph

type

public abstract java.lang.Class type
optional: only required for inheritance or with ChoiceMappings to specify which of the possible targets this subgraph is to be applied to.

Default:
java.lang.Object.class

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