Module org.eclipse.persistence.core
Annotation Type XmlNamedSubgraph
-
@Target(TYPE) @Retention(RUNTIME) public @interface XmlNamedSubgraph
AXmlNamedSubgraphis a member element of aXmlNamedObjectGraph. TheXmlNamedSubgraphis only referenced from within an XmlNamedObjectGraph and can not be referenced independently. It is referenced by itsnamefrom anXmlNamedAttributeNodeelement of theXmlNamedObjectGraph.- Since:
- EclipseLink 2.5
- See Also:
XmlNamedObjectGraph,XmlNamedAttributeNode
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description XmlNamedAttributeNode[]attributeNodesThe list of properties to include in this graphStringnamerequired: the name of the subgraph
-
-
-
Element Detail
-
name
String name
required: the name of the subgraph
-
-
-
attributeNodes
XmlNamedAttributeNode[] attributeNodes
The list of properties to include in this graph
-
-
-
type
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
-
-