|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
| 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.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 |
|---|
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 | |
|---|---|
JboMandatoryAttrValHelper()
Creates a default validator. |
|
| Method Summary | |
|---|---|
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.jbo.rules.JboValidatorInterface |
|---|
validate |
| Methods inherited from interface oracle.jbo.rules.JboValidatorHints |
|---|
getTriggeringAttributeNames, initValidatorProperties, isTransactionLevel |
| Methods inherited from interface oracle.jbo.mom.xml.DefPersistable |
|---|
isDirty, isNew, setDirty, setNew |
| Methods inherited from interface oracle.jbo.mom.xml.PersistentDefinition |
|---|
writeChildren |
| Constructor Detail |
|---|
public JboMandatoryAttrValHelper()
| Method Detail |
|---|
protected void initialize(JboValidatorContext evObj)
initialize in class JboAbstractValidator
public boolean validateValueWithContext(JboValidatorContext evObj,
java.lang.Object value)
JboAbstractValidator
validateValueWithContext in class JboAbstractValidatorpublic boolean validateValue(java.lang.Object value)
JboAbstractValidatorSubclasses must implement this method.
validateValue in class JboAbstractValidatorvalue - 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.Objectpublic java.lang.String getDescription()
getDescription in interface JboValidatorInterfacegetDescription in class AbstractValidatorpublic void setDescription(java.lang.String description)
setDescription in interface JboValidatorInterfacesetDescription in class AbstractValidatordescription - a documentation string.public java.lang.String getDefXMLElementTag()
getDefXMLElementTag in interface PersistentDefinitiongetDefXMLElementTag in class JboAbstractValidator
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||