Annotation Interface Parameter
This annotation is used to mark a parameter that should be provided by the persisted data.
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueThe key to use for the parameter in the persisted data. If the value is not set, the parameter name will be used for searching the persisted data.- Returns:
- The key to use for the parameter in the persisted data.
- See Also:
- Default:
""
-
required
boolean requiredWhether the parameter is required to be present in the persisted data. If the value is `true` and the parameter is not present in the persisted data, the method will throw an exception.- Returns:
- Whether the parameter is required to be present in the persisted data.
- Default:
false
-