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
      java.lang.Class<?> value
      The type to map with FieldMapper.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String prefix
      Column name prefix for the mapped type.
    • Element Detail

      • value

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

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