oracle.jbo.rules
Interface JboValidatorInterface
- All Superinterfaces:
- ValidatorConstants
- All Known Subinterfaces:
- GenericValidator, JboTransValidatorInterface, JboValidatorHints
- All Known Implementing Classes:
- JboAbstractValidator, JboCollectionValidator, JboCompareValidator, JboCustomValidator, JboEOExistsValidator, JboExistsValidator, JboExprCollectionValidator, JboExprCompareValidator, JboExpressionValidator, JboLengthValidator, JboListValidator, JboMandatoryAttributesValidator, JboMandatoryAttrValHelper, JboMethodValidator, JboNonNullValidator, JboPrecisionScaleValidator, JboRangeValidator, JboRegExpValidator, JboRequiredValidator, JboSQLCompareValidator, JboUniqueKeyValidator, JboVCItemRequiredValidator, JboVOCompareValidator, JboVOExistsValidator, JboVOUsageCompareValidator, JboVOUsageExistsValidator
public interface JboValidatorInterface
- extends ValidatorConstants
The principal interface for validator classes.
Validators are subscribers to events related to adding, deleting, or changing attribute values.
- Since:
- JDeveloper 3.0
Fields inherited from interface oracle.jbo.rules.ValidatorConstants |
ATTR, ATTR_STR, EO, EO_STR, EQUALTO, EXPR, EXPR_STR, GREATERTHAN, GREATERTHANEQUALTO, JBO, JBO_STR, LESSTHAN, LESSTHANEQUALTO, LITERAL, LITERAL_STR, MANDATORY_STR, mCompOperTypeVals, mRhsTypeVals, mSeverityVals, PNAME_CompareLength, PNAME_CompareType, PNAME_CompareValue, PNAME_DataType, PNAME_ErrorMessageExpressions, PNAME_ErrorMessageId, PNAME_ErrorMessageIds, PNAME_Exposed, PNAME_ForPersonalization, PNAME_Inverse, PNAME_Name, PNAME_OnAttribute, PNAME_OnAttributes, PNAME_OnCondition, PNAME_OperandType, PNAME_Severity, PNAME_Subtype, PNAME_TransactionLevel, PNAME_ValidationBeanClass, PNAME_ValName, PNAME_xmlns, PRECISION_SCALE_STR, SEVERITY_ERROR, SEVERITY_RECOVERABLE_ERROR, SEVERITY_VETOABLE_WARNING, SEVERITY_WARNING, SQL, SQL_STR, VALIDATION_XMLNS, VALIDATOR_MSG_ID_PREFIX, VO, VO_STR, VO_USAGE, VO_USAGE_STR |
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 the object/value as described in the validator context. |
validate
void validate(JboValidatorContext ctx)
- Tests the validity of the object/value as described in the validator context.
- Parameters:
ctx
- the validator context
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.
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.