Annotation Type Stringify


@Retention(RUNTIME)
@Target(FIELD)
public @interface Stringify

This annotation establishes a Stringifier for a field. This is used for embedded Map structures that require something other than a String key; for example, you may want to have a Map. A Stringifier can convert the Long to the required String key type.

Author:
Jeff Schnitzer
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Stringifier>
    An instance of this class will be instantiated and used to convert objects to and from String.
  • Element Details

    • value

      Class<? extends Stringifier> value
      An instance of this class will be instantiated and used to convert objects to and from String.