Annotation Type XmlNamedSubgraph


@Target(TYPE) @Retention(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.
Since:
EclipseLink 2.5
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The list of properties to include in this graph
    required: the name of the subgraph
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    optional: only required for inheritance or with ChoiceMappings to specify which of the possible targets this subgraph is to be applied to.
  • Element Details

    • name

      String name
      required: the name of the subgraph
    • 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
    • attributeNodes

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