| 
 | Business Components | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--oracle.jbo.ViewCriteriaRow
An array containing criteria for the individual attributes of a View Object's WHERE clause.
 For an example of a program that uses ViewCriteriaRow methods, see
 ViewCriteria.
| Constructor Summary | |
| ViewCriteriaRow(ViewCriteria viewCriteria,
                java.lang.Object[] data)Creates a new view criteria row. | |
| Method Summary | |
|  java.lang.Object | getAttribute(int index)Gets the criterion for a given column. | 
|  java.lang.Object | getAttribute(java.lang.String name)Gets the criterion for a given column. | 
|  int | getAttributeCount()Counts the attributes in the row. | 
|  int | getAttributeIndexOf(java.lang.String name)Gets the column index associated with a given attribute name. | 
|  void | setAttribute(int index,
             java.lang.Object value)Sets the criterion for a given column. | 
|  void | setAttribute(java.lang.String name,
             java.lang.Object value)Sets the criterion for a given column. | 
| Methods inherited from class java.lang.Object | 
| clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait | 
| Constructor Detail | 
public ViewCriteriaRow(ViewCriteria viewCriteria,
                       java.lang.Object[] data)
viewCriteria - the ViewCriteria that is to contain the
 ViewCriteriaRowdata - an array of objects to be interpreted as statements in QBE logic.| Method Detail | 
public java.lang.Object getAttribute(int index)
index - the column's index.public final java.lang.Object getAttribute(java.lang.String name)
name - the column's name.oracle.jbo.CSException, - a runtime exception,
 if the name is not recognized.
public void setAttribute(int index,
                         java.lang.Object value)
name - the column's index.value - a new value for the column.oracle.jbo.CSException, - a runtime exception,
 if the index is out of range.
public final void setAttribute(java.lang.String name,
                               java.lang.Object value)
name - the column's name.value - a value for the column,
 to be interpreted as a statement in QBE logic..oracle.jbo.CSException, - a runtime exception,
 if the name is not recognized.public int getAttributeCount()
public int getAttributeIndexOf(java.lang.String name)
name - the column name.| 
 | Business Components | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||