Annotation Type RegisterFieldMapper


@Retention(RUNTIME) @Target({TYPE,METHOD}) @Repeatable(RegisterFieldMappers.class) public @interface RegisterFieldMapper
Register types to reflectively assign fields with FieldMapper.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The type to map with FieldMapper.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Column name prefix for the mapped type.
  • Element Details

    • value

      Class<?> value
      The type to map with FieldMapper.
      Returns:
      the mapped type.
    • prefix

      String prefix
      Column name prefix for the mapped type. If omitted, defaults to no prefix.
      Returns:
      Column name prefix for the mapped type.
      Default:
      ""