|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jbo.server.rules.JboBaseValidator | +--oracle.jbo.server.rules.JboListValidator | +--oracle.jbo.server.rules.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.
Field Summary |
Fields inherited from class oracle.jbo.server.rules.JboBaseValidator |
mLValue, MSG_BUNDLE_SUFFIX |
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() 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 |
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.server.rules.JboListValidator |
convertToVector, setList, validateValue |
Methods inherited from class oracle.jbo.server.rules.JboBaseValidator |
getDescription, getErrorMsgId, getInverse, initialize, raiseException, setDescription, setErrorMsgId, setInverse, setNewValue, setValidatingAttribute, setValidatingAttribute, setValidatingAttributeName, vetoableChange |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.jbo.server.rules.JbiValidator |
getDescription, setDescription |
Methods inherited from interface oracle.jbo.server.util.VetoableChangeListener |
vetoableChange |
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)
Method Detail |
public java.util.Vector getList()
This method executes the View Object's query and extracts the second column of the result.
getList
in class JboListValidator
public java.lang.String getVOName()
JboQOListValidator#setQueryAttrName
public java.lang.String getVOAttrName()
JboQOListValidator#setQueryAttrName
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
|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.