public interface ValidatorDescriptor extends Serializable
Validators descriptor.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ValidatorDescriptor.Builder
Builder to create
ValidatorDescriptor instances. |
| Modifier and Type | Method and Description |
|---|---|
static ValidatorDescriptor.Builder |
builder()
Get a builder to create a
ValidatorDescriptor. |
Integer |
getFractionDigits()
Get the fractional digits count.
|
Set<?> |
getIn()
Get the admitted values
|
Integer |
getIntegerDigits()
Get the integer digits count.
|
Number |
getMax()
Get the maximum value.
|
Number |
getMin()
Get the minimum value.
|
Set<?> |
getNotIn()
Get the not admitted values
|
String |
getPattern()
Get the value regexp pattern.
|
boolean |
isEmail()
Get whether the value is of email type.
|
boolean |
isExclusiveMax()
Get whether the maximum value is exclusive.
|
boolean |
isExclusiveMin()
Get whether the minimum value is exclusive.
|
boolean |
isFuture()
Get whether the value must be in the future.
|
boolean |
isPast()
Get whether the value must be in the past.
|
boolean |
isRequired()
Get whether the value is required.
|
boolean isRequired()
boolean isEmail()
boolean isPast()
boolean isFuture()
Number getMin()
Number getMax()
boolean isExclusiveMin()
boolean isExclusiveMax()
String getPattern()
Integer getIntegerDigits()
Integer getFractionDigits()
Set<?> getIn()
Set<?> getNotIn()
static ValidatorDescriptor.Builder builder()
ValidatorDescriptor.Copyright © 2019 The Holon Platform. All rights reserved.