Annotation Interface Case


@Documented @Retention(RUNTIME) @Target({}) public @interface Case
The annotation that conditional mapping definition for TypeDiscriminator.
Author:
Clinton Begin
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Return the object type that create a object using this mapping.
    Return the condition value to apply this mapping.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Arg[]
    Return mapping definitions for constructor.
    Return mapping definitions for property.
  • Element Details

    • value

      String value
      Return the condition value to apply this mapping.
      Returns:
      the condition value
    • type

      Class<?> type
      Return the object type that create a object using this mapping.
      Returns:
      the object type
    • results

      Result[] results
      Return mapping definitions for property.
      Returns:
      mapping definitions for property
      Default:
      {}
    • constructArgs

      Arg[] constructArgs
      Return mapping definitions for constructor.
      Returns:
      mapping definitions for constructor
      Default:
      {}