|
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.JboRequiredValidator
public class JboRequiredValidator
A validator that tests whether the value entered is null or not null
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 | |
---|---|
JboRequiredValidator()
Creates a required validator. |
|
JboRequiredValidator(boolean inverse)
Creates a required validator. |
Method Summary | |
---|---|
void |
endInit()
|
java.lang.String |
getDefXMLElementTag()
|
boolean |
validateValue(java.lang.Object value)
Validate an object by checking whether its value is equal to Null This method is called by AbstractValidator#vetoableChange() . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.rules.JboValidatorHints |
---|
initValidatorProperties, isTransactionLevel |
Methods inherited from interface oracle.jbo.rules.JboValidatorInterface |
---|
getDescription, setDescription |
Constructor Detail |
---|
public JboRequiredValidator()
public JboRequiredValidator(boolean inverse)
Method Detail |
---|
public void endInit()
endInit
in class JboAbstractValidator
public boolean validateValue(java.lang.Object value)
AbstractValidator#vetoableChange()
.
validateValue
in class JboAbstractValidator
value
- the object to be validated.
true
if the relation holds, or
false
if the relation does not hold orpublic 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 |