oracle.jbo.rules
Class JboCustomValidator
java.lang.Object
oracle.jbo.rules.AbstractValidator
oracle.jbo.rules.JboCustomValidator
- All Implemented Interfaces:
- JboValidatorInterface
- public class JboCustomValidator
- extends AbstractValidator
- implements JboValidatorInterface
| Methods inherited from class java.lang.Object |
clone, 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)
getName
public java.lang.String getName()
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 an attribute value.
-
- 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 interface:
JboValidatorInterface
- Gets the text 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 interface:
JboValidatorInterface
- Sets the text description of this validator.
-
- Specified by:
setDescription in interface JboValidatorInterface
- Overrides:
setDescription in class AbstractValidator
-
- Parameters:
description - a documentation string.
Copyright © 1997, 2005, Oracle. All rights reserved.