Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.server.rules
Interface JbiValidator

All Superinterfaces:
java.util.EventListener, VetoableChangeListener
All Known Subinterfaces:
GenericValidator
All Known Implementing Classes:
JboCompareValidator, JboGenericValidator, JboListValidator, 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.

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

Copyright © 1997, 2004, Oracle. All rights reserved.