public class Validation extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Validation.ValidationType |
Constructor and Description |
---|
Validation() |
Modifier and Type | Method and Description |
---|---|
List<Model> |
getValidatedModels() |
List<Validator.ResultItem> |
getValidationResult() |
static void |
stop() |
void |
validate(Model model,
Validation.ValidationType type)
Validates the model.
|
public void validate(Model model, Validation.ValidationType type)
model
- Contains the model for which validation has to be provided.type
- Type of validation: complete or partial.public List<Validator.ResultItem> getValidationResult()
public static void stop()