JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Index
Help
Summary:
Field
Required
Optional
Detail:
Field
Element
Summary:
Field |
Required |
Optional
Detail:
Field |
Element
SEARCH:
Package
net.binis.codegen.validation.annotation
Annotation Interface ValidateLength
@Target
({
METHOD
,
TYPE_USE
})
@Retention
(
RUNTIME
)
public @interface
ValidateLength
Optional Element Summary
Optional Elements
Modifier and Type
Optional Element
Description
int
max
String
maxMessage
int
min
String
minMessage
int
value
Element Details
min
int
min
Default:
-1
max
int
max
Default:
255
value
int
value
Default:
255
minMessage
String
minMessage
Default:
"Value ({value}) for field \'{field}\' is shorter than {min}!"
maxMessage
String
maxMessage
Default:
"Value ({value}) for field \'{field}\' is longer than {max}!"