Package | Description |
---|---|
org.javalite.activejdbc |
ActiveJDBC - the agile Java ORM.
|
org.javalite.validation |
Data validation , see
Validations.
|
Modifier and Type | Method and Description |
---|---|
static ValidationBuilder |
Model.addValidator(Validator validator)
Adds a validator to the model.
|
static ValidationBuilder |
ModelDelegate.validateEmailOf(Class<? extends Model> clazz,
String attributeName) |
protected static ValidationBuilder |
Model.validateEmailOf(String attributeName)
Validates email format.
|
static ValidationBuilder |
ModelDelegate.validatePresenceOf(Class<? extends Model> clazz,
String... attributeNames) |
protected static ValidationBuilder |
Model.validatePresenceOf(String... attributeNames)
The validation will not pass if the value is either an empty string "", or null.
|
static ValidationBuilder |
ModelDelegate.validateRange(Class<? extends Model> clazz,
String attributeName,
Number min,
Number max) |
protected static ValidationBuilder |
Model.validateRange(String attributeName,
Number min,
Number max)
Validates range.
|
static ValidationBuilder |
ModelDelegate.validateRegexpOf(Class<? extends Model> clazz,
String attributeName,
String pattern) |
protected static ValidationBuilder |
Model.validateRegexpOf(String attributeName,
String pattern)
Validates an attribite format with a ree hand regular expression.
|
static ValidationBuilder |
ModelDelegate.validateWith(Class<? extends Model> clazz,
Validator validator) |
protected static ValidationBuilder |
Model.validateWith(Validator validator)
Add a custom validator to the model.
|
Modifier and Type | Class and Description |
---|---|
class |
NumericValidationBuilder |
Modifier and Type | Method and Description |
---|---|
ValidationBuilder |
ValidationSupport.validatePresenceOf(String... attributes) |
ValidationBuilder |
ValidationSupport.validateWith(List<Validator> list) |
ValidationBuilder |
ValidationSupport.validateWith(Validator validator) |
Copyright © 2020 JavaLite. All rights reserved.