public interface AttributeValidator
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefintion()
Returns the definition to evaluate whether the framework attempts to validate
the object during changes.
|
java.lang.String |
getDescription()
Returns the description of the object.
|
java.lang.String |
getErrorMessage()
Returns the error message to display to the user when validation fails.
|
java.lang.String |
getName()
Returns the name of the object.
|
void |
setDefintion(java.lang.String definition)
The definition to evaluate whether the framework attempts to validate
the object during changes.
|
void |
setDescription(java.lang.String text)
Sets the description of the object.
|
void |
setErrorMessage(java.lang.String errorMessage)
Register the error message to display to the user when validation fails.
|
void |
setName(java.lang.String name)
Sets the name of this validator.
|
void setName(java.lang.String name)
name - definition of this validatorjava.lang.String getName()
void setDescription(java.lang.String text)
text - description of the objectjava.lang.String getDescription()
void setDefintion(java.lang.String definition)
definition - definition of this validatorjava.lang.String getDefintion()
void setErrorMessage(java.lang.String errorMessage)
errorMessage - error messagejava.lang.String getErrorMessage()