VALUE
- is the generic type of the value to validate.public interface UiFeatureValidation<VALUE> extends ValidatableObject<VALUE>
features
of an object that can be validated. It allows to
add validators
and perform a
validation
of the current
value
.Modifier and Type | Method and Description |
---|---|
void |
addValidatorMandatory()
This is a convenience method for adding the most common validator
ValidatorMandatory . |
boolean |
isMandatory()
This method determines if
ValidatorMandatory (or a sub-class) has
been added to this object. |
addValidator, removeValidator
getValue
validate
void addValidatorMandatory()
ValidatorMandatory
.boolean isMandatory()
ValidatorMandatory
(or a sub-class) has
been added
to this object.true
if this the value
of this object is mandatory.Copyright © 2001–2016 mmm-Team. All rights reserved.