|
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.rules.JboAbstractValidator
oracle.jbo.rules.JboExpressionValidator
public class JboExpressionValidator
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.jbo.rules.ValidatorConstants |
---|
ValidatorConstants.MessageFlavor |
Field Summary |
---|
Fields inherited from class oracle.jbo.rules.JboAbstractValidator |
---|
mValidatingAttr |
Fields inherited from class oracle.jbo.rules.AbstractValidator |
---|
mbInverse, mDescription, mErrorMessageClass, mMsgExpr, mMsgId, mMsgIds, mResourceBundleId, mTriggeringAttributeNames, mTriggeringAttributes, mValidatingAttrName |
Fields inherited from class oracle.jbo.common.NamedObjectImpl |
---|
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX |
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable |
---|
XML_STATEMENT |
Constructor Summary | |
---|---|
JboExpressionValidator()
|
|
JboExpressionValidator(boolean inverse,
java.lang.String expr)
|
Method Summary | |
---|---|
java.lang.String |
getDefXMLElementTag()
|
java.lang.String |
getExpression()
|
boolean |
getExpressionHasReturn()
|
ExprEval.Privilege |
getExpressionPrivilege()
|
ExprEval.TrustMode |
getExpressionTrustMode()
Deprecated. |
java.lang.String |
getOwnerName()
Deprecated. |
void |
initValidatorProperties(java.util.HashMap props)
|
void |
loadXMLContents(DefElement elem)
|
void |
setExpression(java.lang.String expr)
|
void |
setExpressionHasReturn(boolean ret)
|
void |
setExpressionPrivilege(ExprEval.Privilege pr)
|
void |
setExpressionTrustMode(ExprEval.TrustMode trusted)
Deprecated. |
void |
setTriggerType(TriggerType type)
Deprecated. |
void |
validate(JboValidatorContext evObj)
Tests the validity of the object/value as described in the validator context. |
boolean |
validateValue(java.lang.Object value)
Validates a value. |
boolean |
validateValueWithContext(JboValidatorContext evObj,
java.lang.Object value)
Called internally by the framework with validation OnCondition is true or there is no validation OnCondition. |
void |
writeChildren(DefWriter jos)
Writes the Object's children to the Persistent storage |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.rules.JboValidatorHints |
---|
getTriggeringAttributeNames, isTransactionLevel |
Methods inherited from interface oracle.jbo.rules.JboValidatorInterface |
---|
getDescription, setDescription |
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable |
---|
isDirty, isNew, setDirty, setNew |
Constructor Detail |
---|
public JboExpressionValidator()
public JboExpressionValidator(boolean inverse, java.lang.String expr)
Method Detail |
---|
public java.lang.String getExpression()
public void setExpression(java.lang.String expr)
public ExprEval.Privilege getExpressionPrivilege()
public void setExpressionPrivilege(ExprEval.Privilege pr)
public ExprEval.TrustMode getExpressionTrustMode()
public void setExpressionTrustMode(ExprEval.TrustMode trusted)
public boolean getExpressionHasReturn()
public void setExpressionHasReturn(boolean ret)
public boolean validateValue(java.lang.Object value)
JboAbstractValidator
Subclasses must implement this method.
validateValue
in class JboAbstractValidator
value
- the object to be validated.
true
if the object is valid.public boolean validateValueWithContext(JboValidatorContext evObj, java.lang.Object value)
JboAbstractValidator
validateValueWithContext
in class JboAbstractValidator
public void setTriggerType(TriggerType type)
public java.lang.String getOwnerName()
public void validate(JboValidatorContext evObj)
JboValidatorInterface
validate
in interface JboValidatorInterface
validate
in class JboAbstractValidator
evObj
- the validator contextpublic void initValidatorProperties(java.util.HashMap props)
initValidatorProperties
in interface JboValidatorHints
initValidatorProperties
in class AbstractValidator
public void loadXMLContents(DefElement elem)
loadXMLContents
in class JboAbstractValidator
public java.lang.String getDefXMLElementTag()
getDefXMLElementTag
in interface PersistentDefinition
getDefXMLElementTag
in class JboAbstractValidator
public void writeChildren(DefWriter jos)
PersistentDefinition
writeChildren
in interface PersistentDefinition
writeChildren
in class AbstractValidator
jos
- the Output storage for persistence
|
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 |