Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.0.0)

E10653-01

oracle.jbo.rules
Interface JboValidatorHints

All Superinterfaces:
DefPersistable, JboValidatorInterface, PersistentDefinition, ValidatorConstants
All Known Implementing Classes:
JboAbstractValidator, JboCollectionValidator, JboCompareValidator, JboEOExistsValidator, JboExistsValidator, JboExprCollectionValidator, JboExprCompareValidator, JboExpressionValidator, JboLengthValidator, JboListValidator, JboMandatoryAttributesValidator, JboMandatoryAttrValHelper, JboMethodValidator, JboNonNullValidator, JboPrecisionScaleValidator, JboRangeValidator, JboRegExpValidator, JboRequiredValidator, JboSQLCollectionValidator, JboSQLCompareValidator, JboSQLListValidator, JboValidationBean, JboVCItemRequiredValidator, JboVOCollectionValidator, JboVOCompareValidator, JboVOExistsValidator, JboVOListValidator, JboVOUsageCollectionValidator, JboVOUsageCompareValidator, JboVOUsageExistsValidator, JboVOUsageListValidator

public interface JboValidatorHints
extends JboValidatorInterface, DefPersistable

The principal interface for validator classes.

Validators are subscribers to events related to adding, deleting, or changing attribute values.

Since:
JDeveloper 3.0

Field Summary
 
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
 
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable
XML_STATEMENT
 
Method Summary
 JboValidatorHints applyValidatorPersonalization(JboValidatorHints orgVal)
           
 java.lang.String getName()
           
 AttributeDef[] getTriggeringAttributeDefs()
          Returns an array of attribute defs for those attributes whose change in value, should trigger this validation rule to execute.
 java.lang.String[] getTriggeringAttributeNames()
          Returns an array of names for those attributes whose change in value, should trigger this validation rule to execute.
 void initValidatorProperties(java.util.HashMap props)
           
 boolean isForPersonalization()
           
 boolean isTransactionLevel()
           
 void resolve(ValidationManager owner, StructureDef structDef, PersistableDefObject defObj)
           
 void setForPersonalization(boolean b)
           
 void setName(java.lang.String name)
           
 
Methods inherited from interface oracle.jbo.rules.JboValidatorInterface
getDescription, setDescription, validate
 
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable
getFullName, isDirty, isNew, setDirty, setNew
 
Methods inherited from interface oracle.jbo.mom.xml.PersistentDefinition
getDefXMLElementTag, getDefXMLNameSpace, getXMLElementTag, writeChildren, writeContents, writeObject
 

Method Detail

getTriggeringAttributeDefs

AttributeDef[] getTriggeringAttributeDefs()
Returns an array of attribute defs for those attributes whose change in value, should trigger this validation rule to execute.


getTriggeringAttributeNames

java.lang.String[] getTriggeringAttributeNames()
Returns an array of names for those attributes whose change in value, should trigger this validation rule to execute.


isForPersonalization

boolean isForPersonalization()

setForPersonalization

void setForPersonalization(boolean b)

applyValidatorPersonalization

JboValidatorHints applyValidatorPersonalization(JboValidatorHints orgVal)

initValidatorProperties

void initValidatorProperties(java.util.HashMap props)

isTransactionLevel

boolean isTransactionLevel()

getName

java.lang.String getName()

setName

void setName(java.lang.String name)

resolve

void resolve(ValidationManager owner,
             StructureDef structDef,
             PersistableDefObject defObj)

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.0.0)

E10653-01

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