Annotation Type Case


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

    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 Link icon

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

    • value Link icon

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

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

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

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