Annotation that can be used to specify the name when binding to a property. This annotation may be required when binding to names that clash with reserved language keywords.

When naming a JavaBean-based property, annotate the field. When naming a constructor-bound property, annotate the constructor parameter or record component.

从以下版本开始:
2.4.0
作者:
Phillip Webb, Lasse Wulff
  • 必需元素概要

    所需元素
    修饰符和类型
    必需的元素
    说明
    The name of the property to use for binding.
  • 元素详细资料

    • value

      String value
      The name of the property to use for binding.
      返回:
      the property name