|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.common.NamedObjectImpl
oracle.jbo.rules.AbstractValidator
oracle.jbo.server.rules.JboBaseValidator
oracle.jbo.server.rules.JboCompareValidator
oracle.jbo.server.rules.JboAttrCompareValidator
public class JboAttrCompareValidator
A validator that tests literal values by comparing them to a database value, using a pre-defined relation.
The value to be validated is designated as the left-hand operand of a relation operation. The validator provides the relation operator and the attribute that accesses the right-hand operand.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.jbo.rules.ValidatorConstants |
---|
ValidatorConstants.MessageFlavor |
Field Summary |
---|
Fields inherited from class oracle.jbo.server.rules.JboCompareValidator |
---|
EQUALTO, GREATERTHAN, GREATERTHANEQUALTO, LESSTHAN, LESSTHANEQUALTO, mOperType, mRValue |
Fields inherited from class oracle.jbo.server.rules.JboBaseValidator |
---|
mBindingStyle, mValidatingAttr, mValidatingAttrName |
Fields inherited from class oracle.jbo.rules.AbstractValidator |
---|
mbInverse, mDescription, mErrorMessageClass, mMsgExpr, mMsgId, mMsgIds, mResourceBundleId, mTriggeringAttributeNames, mTriggeringAttributes |
Fields inherited from class oracle.jbo.common.NamedObjectImpl |
---|
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX |
Constructor Summary | |
---|---|
|
JboAttrCompareValidator()
Creates an uninitialized compare validator. |
protected |
JboAttrCompareValidator(boolean inverse,
int operType)
Creates an partially-initialized compare validator. |
|
JboAttrCompareValidator(boolean inverse,
int operType,
java.lang.Object rValue)
Creates an initialized compare validator. |
Method Summary | |
---|---|
java.lang.Object |
getRhsValue()
Gets the right-side operand of this validator's expression. |
void |
setRhsValue(java.lang.Object rhsAttrName)
Sets the right-side operand of this validator's expression. |
java.lang.String |
toString()
Internal: For debugging purposes only. |
Methods inherited from class oracle.jbo.server.rules.JboCompareValidator |
---|
convertOperType, getOperatorTypeString, getType, initialize, loadXMLContents, setNewValue, setType, validateValue |
Methods inherited from class oracle.jbo.server.rules.JboBaseValidator |
---|
extractValueToValidate, getBindingStyle, raiseException, resolve, setBindingStyle, setValidatingAttribute, setValidatingAttribute, vetoableChange |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.jbo.server.rules.JbiValidator |
---|
getDescription, setDescription |
Methods inherited from interface oracle.jbo.server.util.VetoableChangeListener |
---|
vetoableChange |
Constructor Detail |
---|
public JboAttrCompareValidator()
The methods setType()
and setRhsValue()
must be invoked before validation can be performed.
protected JboAttrCompareValidator(boolean inverse, int operType)
The method setRhsValue()
must be invoked before validation can be performed.
inverse
- if true
the sense of this validator's
comparison relation is inverted.operType
- this validator's comparison operator;
one of the comparison operator constants defined in this class.public JboAttrCompareValidator(boolean inverse, int operType, java.lang.Object rValue)
inverse
- if true
the sense of this validator's
comparison relation is inverted.operType
- this validator's comparison operator;
one of the comparison operator constants defined in this class.rValue
- this validator's right-hand operand;
a entity attribute.Method Detail |
---|
public void setRhsValue(java.lang.Object rhsAttrName)
setRhsValue
in class JboCompareValidator
rhsAttrName
- a entity attribute.public java.lang.Object getRhsValue()
getRhsValue
in class JboCompareValidator
public java.lang.String toString()
toString
in class JboCompareValidator
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |