批注接口 Name
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
-
必需元素概要
所需元素
-
元素详细资料
-
value
String valueThe name of the property to use for binding.- 返回:
- the property name
-