-
@Retention(value=RUNTIME)
@Target(value=PARAMETER)
@Documented
public @interface DefaultValue
Annotation that can be used to specify the default value when binding to an immutable
property. This annotation can also be used with nested properties to indicate that a
value should always be bound (rather than binding null
).
- Since:
- 2.2.0
- Author:
- Madhura Bhave
-
-
Optional Element Summary
Optional Elements
Modifier and Type |
Optional Element and Description |
String[] |
value
The default value of the property.
|
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.