Annotation Interface Dump


@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface Dump
This is used to annotate a method for which we should generate dump output.
Author:
Mike Douglass
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    For a collection, if this is not defaulted, each element of the collection will be wrapped in this extra tag
    boolean
    If true this element is treated as a compound type - we don't give it an outer element and we dump all the values
    Name of element to use in xml dump
    If non empty these are the first fields to dump
    If being dumped as a reference these are the fields to dump
  • Element Details

    • elementName

      String elementName
      Name of element to use in xml dump
      Default:
      ""
    • collectionElementName

      String collectionElementName
      For a collection, if this is not defaulted, each element of the collection will be wrapped in this extra tag
      Default:
      ""
    • compound

      boolean compound
      If true this element is treated as a compound type - we don't give it an outer element and we dump all the values
      Default:
      false
    • keyFields

      String[] keyFields
      If being dumped as a reference these are the fields to dump
      Default:
      {}
    • firstFields

      String[] firstFields
      If non empty these are the first fields to dump
      Default:
      {}