T - public abstract class AbstractGenericChainedValidator<T> extends AbstractGenericValidator<T> implements ChainedValidator
| Constructor and Description |
|---|
AbstractGenericChainedValidator(String validatorName) |
| Modifier and Type | Method and Description |
|---|---|
ChainedValidator |
and(ChainedValidator next) |
boolean |
hasNext() |
ChainedValidator |
next() |
boolean |
supports(Object subject)
Indicates if this validator supports the provided subject.
|
doSupports, doValidation, getName, validatepublic AbstractGenericChainedValidator(String validatorName)
validatorName - public ChainedValidator and(ChainedValidator next)
and in interface ChainedValidatorpublic final boolean supports(Object subject)
Validatorsupports in interface Validatorsupports in class AbstractGenericValidator<T>subject - the subject of the validationtrue if this validator supports the subject otherwise falsepublic boolean hasNext()
hasNext in interface ChainedValidatorpublic ChainedValidator next()
next in interface ChainedValidatorCopyright © 2018 Latitude Srls. All rights reserved.