oracle.clex.persistence.bc4j
Class BC4JUtil
java.lang.Object
|
+--oracle.clex.persistence.bc4j.BC4JUtil
- public class BC4JUtil
- extends java.lang.Object
This is a utility class for working with BC4J RowInterators. BC4J creates
a "collection" of rows that either must be interated through to create
a vector or to get the first row. The methods in this class accepts
a RowIterator and produces either a Row or a Vector of Rows.
Method Summary |
oracle.jbo.ViewObject |
cloneViewObject(oracle.jbo.ViewObject view)
Return a "clone" of the specified view object so that we don't have to
reset the query parameters in it after using it. |
java.util.Vector |
getAllRows(oracle.jbo.RowIterator rowIterator)
A Convenience method for helping BC4J handlers get all the
Rows from a RowIterator (i.e. |
oracle.jbo.Row |
getRow(oracle.jbo.RowIterator rowIterator)
This method takes a BC4J RowIterator and produces the first Row. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BC4JUtil
public BC4JUtil()
getRow
public oracle.jbo.Row getRow(oracle.jbo.RowIterator rowIterator)
- This method takes a BC4J RowIterator and produces the first Row. If the
iterator is empty, null will be returned
getAllRows
public java.util.Vector getAllRows(oracle.jbo.RowIterator rowIterator)
- A Convenience method for helping BC4J handlers get all the
Rows from a RowIterator (i.e. ViewObject)
cloneViewObject
public oracle.jbo.ViewObject cloneViewObject(oracle.jbo.ViewObject view)
throws java.lang.Exception
- Return a "clone" of the specified view object so that we don't have to
reset the query parameters in it after using it.
Copyright © 2003 ORACLE Corp. All Rights Reserved.