public interface NuitonValidator<O>
NuitonValidatorFactory api.NuitonValidatorFactory| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getEffectiveFields()
Obtains the set of effective fields for the validator : means the very
fields validated by the validator.
|
Set<String> |
getEffectiveFields(NuitonValidatorScope scope)
Obtains the set of effective fields for the validator for the given scope
: means the very fields validated by the validator.
|
Set<NuitonValidatorScope> |
getEffectiveScopes()
Obtains the set of effective scopes for the validator : means the very
scopes that the validator is dealing with.
|
NuitonValidatorModel<O> |
getModel()
Obtains the model of the validator.
|
NuitonValidatorResult |
validate(O object)
Validates the given object and returns the result of validation.
|
NuitonValidatorResult validate(O object) throws NullPointerException
object - the object to validateNullPointerException - if object is null.NuitonValidatorModel<O> getModel()
Set<NuitonValidatorScope> getEffectiveScopes()
Set<String> getEffectiveFields()
Set<String> getEffectiveFields(NuitonValidatorScope scope)
scope - given scope to useCopyright © 2013–2014 CodeLutin. All rights reserved.