@Retention(value=RUNTIME) public @interface ValueConstraint
| Modifier and Type | Optional Element and Description |
|---|---|
String |
fractionDigits
Specifies the maximum number of decimal places allowed.
|
String |
maxExclusive
Specifies the upper bounds for numeric values (the value must be less than this value).
|
String |
maxInclusive
Specifies the upper bounds for numeric values (the value must be less than or equal to this value).
|
String |
maxLength
Specifies the maximum number of characters or list items allowed.
|
String |
minExclusive
Specifies the lower bounds for numeric values (the value must be greater than this value).
|
String |
minInclusive
Specifies the lower bounds for numeric values (the value must be greater than or equal to this value).
|
String |
minLength
Specifies the minimum number of characters or list items allowed.
|
String |
pattern
The Property value must match the specified regular expression.
|
String |
totalDigits
Specifies the exact number of digits allowed.
|
public abstract String minInclusive
public abstract String maxInclusive
public abstract String minLength
public abstract String maxLength
public abstract String totalDigits
public abstract String fractionDigits
public abstract String pattern
public abstract String minExclusive
public abstract String maxExclusive
Copyright © 2017. All rights reserved.