oracle.jbo.server.rules
Interface JbiValidator
- All Superinterfaces:
- java.util.EventListener, VetoableChangeListener
- All Known Subinterfaces:
- GenericValidator
- All Known Implementing Classes:
- JboCompareValidator, JboListValidator, JboMandatoryAttributesValidator,
JboMethodValidator, JboPrecisionScaleValidator, JboRangeValidator
- public interface JbiValidator
- extends VetoableChangeListener
The principal interface for validator classes.
Validators are subscribers to events related to adding, deleting,
or changing attribute values.
- Since:
- JDeveloper 3.0
Type | Method |
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. |
validateValue
public boolean validateValue(java.lang.Object value)
- Tests the validity of an attribute value.
- Parameters:
value
- a value.- Returns:
true
if the value is valid.
getDescription
public java.lang.String getDescription()
- Gets the text description of this validator.
- Returns:
- a textual description.
setDescription
public void setDescription(java.lang.String description)
- Sets the text description of this validator.
- Parameters:
description
- a textual description.