|
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.JboListValidator
oracle.jbo.server.JboVOListValidator
public class JboVOListValidator
A validator that tests for the presence of a literal value in a list of database values. A View Object of at least two columns must be specified. The list of values is obtained by invoking the View Object's query, and taking the values from the second column of the result.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.jbo.rules.ValidatorConstants |
---|
ValidatorConstants.MessageFlavor |
Field Summary |
---|
Fields inherited from class oracle.jbo.rules.JboListValidator |
---|
mSource |
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 | |
---|---|
JboVOListValidator()
Creates an uninitialized list validator. |
|
JboVOListValidator(boolean bInverse,
java.lang.Object owner,
java.lang.String str)
Creates a list validator. |
Method Summary | |
---|---|
java.util.Vector |
getList(java.lang.Object source)
Gets this validator's list of values. |
java.lang.String |
getVOAttrName()
Gets this validator's attribute name. |
java.lang.String |
getVOName()
Gets the name of this validator's View Object. |
void |
loadXMLContents(DefElement elem)
|
void |
setVOAttrName(java.lang.String voname)
Sets this validator's View Object and attribute names. |
java.lang.String |
toString()
Internal: For debugging purposes only. |
Methods inherited from class oracle.jbo.rules.JboListValidator |
---|
convertToVector, doValidateValue, getDefXMLElementTag, getList, getValidatorSubType, initialize, initValidatorProperties, setList, validateValue, validateValueWithContext, writeChildren |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, 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 JboVOListValidator()
Invoke setList()
to provide a list of comparison values.
public JboVOListValidator(boolean bInverse, java.lang.Object owner, java.lang.String str)
bInverse
- if true
the logic of this validator's
test is inverted.Method Detail |
---|
public java.util.Vector getList(java.lang.Object source)
This method executes the View Object's query and extracts the second column of the result.
getList
in class JboListValidator
source
- the source row.
public java.lang.String getVOName()
setVOAttrName(java.lang.String)
public java.lang.String getVOAttrName()
setVOAttrName(java.lang.String)
public void setVOAttrName(java.lang.String voname)
voname
- the qualified name of the attribute, consisting of a series
of component names separated by "."
characters. The part
preceding the final dot becomes the View Object name, and the part
after the final dot becomes the attribute name.public java.lang.String toString()
toString
in class JboListValidator
public void loadXMLContents(DefElement elem)
loadXMLContents
in class JboListValidator
|
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 |