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

oracle.jbo.rules
Interface JboValidatorInterface

All Known Subinterfaces:
GenericValidator
All Known Implementing Classes:
JboCompareValidator, JboGenericValidator, JboListValidator, JboMethodValidator, JboNonNullValidator, JboPrecisionScaleValidator, JboRangeValidator

public interface JboValidatorInterface

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.
 void validate(JboValidatorContext ctx)
          Tests the validity of an attribute value.
 

Method Detail

validate

public void validate(JboValidatorContext ctx)
Tests the validity of an attribute 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.