Annotation Type XmlNamedObjectGraph


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface XmlNamedObjectGraph
    Purpose: Used to define the boundaries for a marshal or unmarhsal operation.
    Author:
    mmacivor
    Since:
    EclipseLink 2.5
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      XmlNamedAttributeNode[] attributeNodes
      The list of properties to be marshalled/unmarshalled for this graph.
      java.lang.String name
      The name of this object graph.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      XmlNamedSubgraph[] subclassSubgraphs
      Optional: a list of named subgraphs for any subclasses of this class.
      XmlNamedSubgraph[] subgraphs
      Optional: a list of named subgraphs that are referenced from the property entries.
    • Element Detail

      • name

        java.lang.String name
        The name of this object graph. Defaults to the name of the class
      • attributeNodes

        XmlNamedAttributeNode[] attributeNodes
        The list of properties to be marshalled/unmarshalled for this graph.
      • subgraphs

        XmlNamedSubgraph[] subgraphs
        Optional: a list of named subgraphs that are referenced from the property entries.
        Default:
        {}
      • subclassSubgraphs

        XmlNamedSubgraph[] subclassSubgraphs
        Optional: a list of named subgraphs for any subclasses of this class.
        Default:
        {}