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.
    See Also:
    XmlNamedObjectGraph, XmlNamedAttributeNode
    Since:
    EclipseLink 2.5
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      XmlNamedAttributeNode[] attributeNodes
      The list of properties to include in this graph
      java.lang.String name
      required: the name of the subgraph
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      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

        java.lang.String name
        required: the name of the subgraph
      • type

        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