public interface ValidationManager
Modifier and Type | Method and Description |
---|---|
void |
addValidator(BaseValidator validator)
Adds this attribute object to this object.
|
void |
addValidator(BaseValidator validator,
int index)
Adds this attribute object to this object at the specified index.
|
boolean |
canAcceptValidators() |
java.lang.String |
getFullName()
Retrieves the fully-qualified name of this object.
|
java.lang.String |
getName() |
BaseValidator |
getValidator(int index)
Retrieves the validator of the specified index.
|
BaseValidator[] |
getValidators()
Retrieves an array containing all the validators for this object.
|
int |
getValidatorsCount() |
java.util.ArrayList |
getValidatorsList()
Retrieves the ArrayList object containing all the validators for this object.
|
void |
removeValidator(BaseValidator val)
Removes the given validator if found
|
void |
removeValidatorAt(int index)
Removes a validator at the given index.
|
void |
replaceValidator(BaseValidator oldVal,
BaseValidator newVal)
Replaces an old validator with a new one.
|
void |
setValidatorsList(java.util.ArrayList validatorList)
Allows the batch setting of the mValidators for the object.
|
java.lang.String getName()
java.lang.String getFullName()
boolean canAcceptValidators()
int getValidatorsCount()
void setValidatorsList(java.util.ArrayList validatorList)
java.util.ArrayList getValidatorsList()
BaseValidator getValidator(int index)
BaseValidator[] getValidators()
void addValidator(BaseValidator validator)
void addValidator(BaseValidator validator, int index)
void replaceValidator(BaseValidator oldVal, BaseValidator newVal)
void removeValidatorAt(int index)
void removeValidator(BaseValidator val)