Skip navigation links
oracle.jbo.rules
Class JboCustomValidator
java.lang.Object
oracle.jbo.common.NamedObjectImpl
oracle.jbo.rules.AbstractValidator
oracle.jbo.rules.JboCustomValidator
- All Implemented Interfaces:
- DiffMergeable, JboValidatorInterface, ValidatorConstants, VariableManagerOwner, VariableManagerOwnerBase
-
public class JboCustomValidator
- extends AbstractValidator
- implements JboValidatorInterface
Fields inherited from interface oracle.jbo.rules.ValidatorConstants |
ATTR, ATTR_STR, BETWEEN, EO, EO_STR, EQUALTO, EXPR, EXPR_STR, GREATERTHAN, GREATERTHANEQUALTO, JBO, JBO_STR, LESSTHAN, LESSTHANEQUALTO, LITERAL, LITERAL_STR, MANDATORY_STR, mCompOperTypeVals, mRhsTypeVals, mSeverityVals, NOTEQUALTO, PNAME_CompareLength, PNAME_CompareType, PNAME_CompareValue, PNAME_DataType, PNAME_Description, PNAME_ErrorMessageExpressions, PNAME_ErrorMessageId, PNAME_ErrorMessageIds, PNAME_Exposed, PNAME_ExprValueSupplier, PNAME_ForPersonalization, PNAME_Inverse, PNAME_MessageFlavor, PNAME_Name, PNAME_OnAttribute, PNAME_OnAttributes, PNAME_OnCondition, PNAME_OperandType, PNAME_Severity, PNAME_Subtype, PNAME_TransactionLevel, PNAME_TransientExpression, PNAME_Trigger, PNAME_ValidationBeanClass, PNAME_ValName, PNAME_xmlns, PRECISION_SCALE_STR, SEVERITY_ERROR, SEVERITY_RECOVERABLE_ERROR_INDEX, SEVERITY_VETOABLE_WARNING, SEVERITY_WARNING, SQL, SQL_STR, VALIDATION_XMLNS, VALIDATOR_MSG_ID_PREFIX, VO, VO_STR, VO_USAGE, VO_USAGE_STR |
Methods inherited from class oracle.jbo.rules.AbstractValidator |
applyDiffChildren, applyDiffContents, applyValidatorPersonalization, clone, convertToJava, copyErrorMsgInfo, createAttributeException, createException, createExprValueSupplier, createRowException, diffChildren, diffContents, diffObjects, ensureDifferDetails, ensureVariableManager, getErrorMessageClass, getErrorMsgExpressions, getErrorMsgId, getErrorMsgIds, getExprValueSupplierType, getFullName, getInverse, getMessageBundleClass, getOnCondition, getOwner, getResourceBundleDef, getResourceBundleId, getSeverity, getTriggeringAttributeDefs, getTriggeringAttributeNames, getValidatingAttributeName, getValidatorSubType, getVariableManager, hasErrorMsg, hasValidationCondition, hasVariables, initErrMsgParms, initTriggeringAttributeDefs, initValidatorProperties, isDirty, isMovedToAttrLevel, isNew, isTransactionLevel, isTransactionLevel, isValidatable, loadVariables, loadXMLContents, parseSeverityStr, prepareException, raiseException, raiseException, readStringArrayList, readTransientExpression, readTransientExpression, readUserObject, readUserObject, readUserObjectTrim, readUserObjectTrim, readUserStringElementsMap, resolve, setDefaultDescription, setDirty, setErrorMessageClass, setErrorMsgExpressions, setErrorMsgId, setErrorMsgIds, setExprValueSupplierType, setInverse, setNew, setOnCondition, setResourceBundleDef, setResourceBundleId, setSeverity, setTransactionLevel, setTriggeringAttributeNames, setValidatingAttributeName, setValidatorSubType, writeChildren, writeContents |
Methods inherited from class oracle.jbo.common.NamedObjectImpl |
allocatePropertyMap, getAllProperties, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getPropertyMap, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, isPropertyExpression, mergePropertyMap, refreshProperty, removeProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, resolvePropertyRaw, setFullName, setParent, setPropertiesMap, setPropertiesMap2, setProperty, setProperty, setPropertyExpression, setPropertyMap |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mName
protected java.lang.String mName
mBeanClass
protected java.lang.String mBeanClass
mVal
protected JboValidatorInterface mVal
JboCustomValidator
public JboCustomValidator(java.lang.String name,
java.lang.String beanClass,
JboValidatorInterface val)
setName
public void setName(java.lang.String name)
- Description copied from class:
NamedObjectImpl
- Name this object.
-
- Overrides:
setName
in class NamedObjectImpl
-
- Parameters:
name
- the name to be given to this object.
getName
public java.lang.String getName()
- Description copied from class:
NamedObjectImpl
- Get the name of this object.
-
- Specified by:
getName
in interface DiffMergeable
- Specified by:
getName
in interface VariableManagerOwner
- Overrides:
getName
in class AbstractValidator
-
- Returns:
- the name given to this object.
setBeanClass
public void setBeanClass(java.lang.String beanClass)
getBeanClass
public java.lang.String getBeanClass()
setBeanInstance
public void setBeanInstance(JboValidatorInterface val)
getBeanInstance
public JboValidatorInterface getBeanInstance()
validate
public void validate(JboValidatorContext ctx)
- Description copied from interface:
JboValidatorInterface
- Tests the validity of the object/value as described in the validator context.
-
- Specified by:
validate
in interface JboValidatorInterface
-
- Parameters:
ctx
- the validator context
validateValue
public boolean validateValue(java.lang.Object val)
getDescription
public java.lang.String getDescription()
- Description copied from class:
AbstractValidator
- Gets the textul description of this validator.
-
- Specified by:
getDescription
in interface JboValidatorInterface
- Overrides:
getDescription
in class AbstractValidator
-
- Returns:
- a documentation string.
setDescription
public void setDescription(java.lang.String description)
- Description copied from class:
AbstractValidator
- Sets the textul description of this validator using a specified string.
-
- Specified by:
setDescription
in interface JboValidatorInterface
- Overrides:
setDescription
in class AbstractValidator
-
- Parameters:
description
- a documentation string.
getDefXMLElementTag
public java.lang.String getDefXMLElementTag()
-
- Overrides:
getDefXMLElementTag
in class AbstractValidator
Skip navigation links
Copyright © 1997, 2015, Oracle. All rights reserved.