@Documented @Constraint(validatedBy=SizeWithoutSeparatorsValidator.class) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) public @interface SizeWithoutSeparators
null elements
are considered valid.| Modifier and Type | Optional Element and Description |
|---|---|
Class<?>[] |
groups
groups to use.
|
boolean |
ignoreMinus
true if minus should be ignored.
|
boolean |
ignoreSlashes
true if slashes should be ignored.
|
boolean |
ignoreWhiteSpaces
true if whitespaces should be ignored.
|
int |
max
size the element must be lower or equal to.
|
String |
message
localized message.
|
int |
min
size the element must be higher or equal to.
|
Class<? extends javax.validation.Payload>[] |
payload
payload whatever.
|
public abstract String message
public abstract Class<?>[] groups
public abstract Class<? extends javax.validation.Payload>[] payload
Copyright © 2015–2016. All rights reserved.