Annotation Interface User
The annotated element must be the specified user or member. This constraint will use the
TypeAdapters
to determine the user or member.- See Also:
-
Required Element Summary
-
Optional Element Summary
-
Element Details
-
value
String valueReturns the user or member the element must be equals to.- Returns:
- the user or member the element must be equals to
-
message
String messageReturns the error message that will be displayed if the constraint fails.- Returns:
- the error message
- Default:
"The given Member or User is invalid as a parameter"
-