Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Business Components
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.jbo.server.rules
Interface JbiValidator

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

Method Summary
`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.

Methods inherited from interface oracle.jbo.server.util.VetoableChangeListener
`vetoableChange`

Method Detail

### 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Business Components
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD