|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.rules.AbstractValidator
oracle.jbo.rules.JboAbstractValidator
oracle.jbo.rules.JboMandatoryAttrValHelper
public class JboMandatoryAttrValHelper
Implements a stub validator for holding custom error messages for the predefined mandatory attribute validators.
Field Summary |
---|
Fields inherited from class oracle.jbo.rules.JboAbstractValidator |
---|
CLASS_INSTANCE, mValidatingAttr |
Fields inherited from class oracle.jbo.rules.AbstractValidator |
---|
m_children, m_props, mbInverse, mDescription, mErrorMessageClass, mMsgExpr, mMsgId, mMsgIds, mResourceBundleId, mTriggeringAttributeNames, mTriggeringAttributes, mValidatingAttrName |
Constructor Summary | |
---|---|
JboMandatoryAttrValHelper()
Creates a default validator. |
Method Summary | |
---|---|
void |
endInit()
|
java.lang.String |
getDefXMLElementTag()
|
java.lang.String |
getDescription()
Gets the description of this validator. |
protected void |
initialize(JboValidatorContext evObj)
|
void |
setDescription(java.lang.String description)
Sets the description of this validator. |
java.lang.String |
toString()
Internal: Applications should not use this method. |
boolean |
validateValue(java.lang.Object value)
Validates a value. |
static boolean |
validateValue(java.lang.Object value,
int prec,
int scale)
|
boolean |
validateValueWithContext(JboValidatorContext evObj,
java.lang.Object value)
Called internally by the framework with validation OnCondition is true or there is no validation OnCondition. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.jbo.rules.JboValidatorInterface |
---|
validate |
Methods inherited from interface oracle.jbo.rules.JboValidatorHints |
---|
initValidatorProperties, isTransactionLevel |
Constructor Detail |
---|
public JboMandatoryAttrValHelper()
Method Detail |
---|
protected void initialize(JboValidatorContext evObj)
initialize
in class JboAbstractValidator
public void endInit()
endInit
in class JboAbstractValidator
public boolean validateValueWithContext(JboValidatorContext evObj, java.lang.Object value)
JboAbstractValidator
validateValueWithContext
in class JboAbstractValidator
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 static boolean validateValue(java.lang.Object value, int prec, int scale)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getDescription()
getDescription
in interface JboValidatorInterface
getDescription
in class AbstractValidator
public void setDescription(java.lang.String description)
setDescription
in interface JboValidatorInterface
setDescription
in class AbstractValidator
description
- a documentation string.public java.lang.String getDefXMLElementTag()
getDefXMLElementTag
in class JboAbstractValidator
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |