Annotation Type AlphaNumeric
@Documented @Constraint(validatedBy=AlphaNumericConstraint.class) @Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Repeatable(List.class) public @interface AlphaNumeric
-
Required Element Summary
Required Elements Modifier and Type Required Element Description StringbusinessCodeStringmessage -
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanallowSpacesorg.springframework.http.HttpMethod[]excludesClass<?>[]groupsbooleanisNulleableintmaxintminClass<? extends javax.validation.Payload>[]payload
-
Element Details
-
message
String message -
businessCode
String businessCode
-
-
-
excludes
org.springframework.http.HttpMethod[] excludes- Default:
- {}
-
allowSpaces
boolean allowSpaces- Default:
- true
-
groups
Class<?>[] groups- Default:
- {}
-
max
int max- Default:
- 254
-
min
int min- Default:
- 0
-
payload
Class<? extends javax.validation.Payload>[] payload- Default:
- {}
-
isNulleable
boolean isNulleable- Default:
- false
-