-
Optional Element Summary
Optional Elements
boolean
The validator will not interfere if bypass is true
boolean
Tells the validator to simply ignore the property on failure.
The expected property is a number.
The expected property is a string
Returns an array containing validators for a specific property
-
Element Details
-
bypass
boolean bypass
The validator will not interfere if bypass is true
- Default:
false
-
ignoreOnFailure
boolean ignoreOnFailure
Tells the validator to simply ignore the property on failure.
Default is to throw a validation failed exception
- Default:
false
-
type
The expected Supertype
- Default:
java.lang.Object.class
-
string
The expected property is a string
- Default:
@net.datenwerke.dtoservices.dtogenerator.annotations.StringValidator(bypass=true)
-
number
The expected property is a number.
- Default:
@net.datenwerke.dtoservices.dtogenerator.annotations.NumberValidator(bypass=true)
-
validators
Returns an array containing validators for a specific property
- Default:
{}