Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.1.0)

E17483-02

oracle.jbo.server.rules
Interface JbiValidator

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

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

java.lang.String getDescription()
Gets the text description of this validator.

Returns:
a textual description.

setDescription

void setDescription(java.lang.String description)
Sets the text description of this validator.

Parameters:
description - a textual description.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.1.0)

E17483-02

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