注释类型 ViewGenNameMapper


  • @Target(TYPE)
    @Retention(SOURCE)
    @Inherited
    public @interface ViewGenNameMapper
    The mapper of original class name to generated class name.
    For example:
    @ViewGenNameMapper("${name}Dto")
    means the class Bean will generate class BeanDto, the class Apple will generate class AppleDto.
    @ViewGenNameMapper("${config%Configure}Dto") means the config class BeanConfigure will generate class BeanDto, the config class AppleConfigure will generate class AppleDto.
    The expression in '${}' works like shell variable. Support ${VarName#ShortFrontToRemove}, ${VarName##LongFrontToRemove}, ${VarName%ShortFrontToRemove}, ${VarName%%LongFrontToRemove}.
    'VarName' can be 'name' (the original class simple name), 'config' (the config class simple name).
    • 必需元素概要

      所需元素 
      修饰符和类型 必需的元素 说明
      String value  
    • 元素详细资料