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:
    XmlNamedObjectGraph, XmlNamedAttributeNode
    • Optional Element Summary

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

        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