Annotation Interface MapKey
@Documented
@Target({ANNOTATION_TYPE,FIELD,METHOD,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Constraint(validatedBy={})
@Pattern(regexp="^((?![$&]).)*$",
message="must not contain the characters '$' or '&'")
public @interface MapKey
The annotated String must not contain the characters
$ or &.-
Optional Element Summary
Optional Elements