Business Components

oracle.jbo
Class ViewCriteria

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--oracle.jbo.ViewCriteria

public class ViewCriteria
extends java.util.Vector

A list of row criteria for a View Object's WHERE clause.

The lengths of the ViewCriteriaRows in the list must all match the number of attributes in the View Object.

Since:
JDeveloper 3.0
See Also:
Serialized Form

Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ViewCriteria(ViewObject viewObject)
          Creates an empty view criteria object.
 
Method Summary
 ViewCriteriaRow createViewCriteriaRow()
          Creates a new criteria row.
 int getAttributeIndexOf(java.lang.String name)
          Finds the column associated with an attribute name.
 ViewObject getViewObject()
          Gets the View Object that owns the view criteria.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewCriteria

public ViewCriteria(ViewObject viewObject)
Creates an empty view criteria object.
Parameters:
viewObject - the owner of the ViewCriteria.
Method Detail

getViewObject

public ViewObject getViewObject()
Gets the View Object that owns the view criteria.
Returns:
the ViewObject that contains the ViewCriteria.

getAttributeIndexOf

public int getAttributeIndexOf(java.lang.String name)
Finds the column associated with an attribute name.
Parameters:
name - the column name.
Returns:
a column index.

createViewCriteriaRow

public ViewCriteriaRow createViewCriteriaRow()
Creates a new criteria row.
Returns:
a ViewCriteriaRow, an array for WHERE clause criteria.

Business Components