Annotation Type DatabaseValue


@Retention(RUNTIME) @Target(FIELD) public @interface DatabaseValue
Map a value from the database column directly onto an enum value.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The database value that this annotation represents.
  • Element Details

    • value

      String value
      The database value that this annotation represents.
      Returns:
      the database value