Annotation Type RegisterBeanMapper


@Retention(RUNTIME) @Target({TYPE,METHOD}) @Repeatable(RegisterBeanMappers.class) public @interface RegisterBeanMapper
Registers a BeanMapper for a specific bean class
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The mapped bean class.
  • Optional Element Summary

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

    • value

      Class<?> value
      The mapped bean class.
      Returns:
      the mapped bean class.
    • prefix

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