Annotation Type AccountId
@Documented
@Target({ANNOTATION_TYPE,FIELD,METHOD,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Constraint(validatedBy={})
@Pattern(regexp="[A-F\\d]{6}",
message="must be exactly 6 uppercase hexadecimal characters")
public @interface AccountId
The annotated String must be a valid account ID.
-
Optional Element Summary
Optional Elements