public interface JbiValidator extends VetoableChangeListener
Validators are subscribers to events related to adding, deleting, or changing attribute values.
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getDescription()Gets the text description of this validator. | 
| void | setDescription(java.lang.String description)Sets the text description of this validator. | 
| boolean | validateValue(java.lang.Object value)Tests the validity of an attribute value. | 
vetoableChangeboolean validateValue(java.lang.Object value)
value - a value.true if the value is valid.java.lang.String getDescription()
void setDescription(java.lang.String description)
description - a textual description.