Top Description Methods
org.eclipse.persistence.oxm.annotations

public @Interface XmlNamedSubgraph

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target

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.
Since
EclipseLink 2.5
See Also
XmlNamedObjectGraph, XmlNamedAttributeNode

Method Summary

Modifier and TypeMethod and Description
public XmlNamedAttributeNode[]
attributeNodes()

The list of properties to include in this graph

public String
name()

required: the name of the subgraph

public Class<?>
type()

optional: only required for inheritance or with ChoiceMappings to specify which of the possible targets this subgraph is to be applied to.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

attributeNodesback to summary
public XmlNamedAttributeNode[] attributeNodes()

The list of properties to include in this graph

nameback to summary
public String name()

required: the name of the subgraph

typeback to summary
public Class<?> type()

optional: only required for inheritance or with ChoiceMappings to specify which of the possible targets this subgraph is to be applied to.