Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


oracle.jbo.server
Class EntityRowSetImpl

java.lang.Object
  |
  +--oracle.jbo.common.PropertiesHelper
        |
        +--oracle.jbo.common.RowSetHelper
              |
              +--oracle.jbo.server.RowSetImpl
                    |
                    +--oracle.jbo.server.ViewRowSetImpl
                          |
                          +--oracle.jbo.server.EntityRowSetImpl
All Implemented Interfaces:
java.util.Collection, NavigatableRowIterator, Properties, RowIterator, RowSet, RowSetIterator, java.util.Set, WSDetailQuery, XMLInterface

public class EntityRowSetImpl
extends ViewRowSetImpl
implements java.util.Set

EntityRowSetImpl represents the ResultSet of an association.

Version:
PUBLIC

Field Summary
static byte ENTITYROWSET_INCONSISTENT
           
static byte ENTITYROWSET_NEW_AND_MODIFIED
           
static byte ENTITYROWSET_UNINITIALIZED
           
static byte mDefaultMode
           

 

Fields inherited from class oracle.jbo.server.ViewRowSetImpl
mDefaultView, mDefaultViewLinkMode, mMasterViews, mParamValues, mQRef, mUserParams, mViews, VIEWLINK_MODE_CONSISTENT, VIEWLINK_MODE_DEFAULT, VIEWLINK_MODE_INCONSISTENT, VIEWLINK_MODE_UNINITIALIZED

 

Fields inherited from class oracle.jbo.common.RowSetHelper
listeners, mMgmtListeners, mName

 

Fields inherited from class oracle.jbo.common.PropertiesHelper
mProperties

 

Fields inherited from interface oracle.jbo.RowSet
FORWARD_ONLY, RANGE_PAGING, RANGE_PAGING_AUTO_POST, SCROLLABLE

 

Fields inherited from interface oracle.jbo.RowIterator
ITER_MODE_LAST_PAGE_FULL, ITER_MODE_LAST_PAGE_PARTIAL, SLOT_BEFORE_FIRST, SLOT_BEYOND_LAST, SLOT_DELETED, SLOT_VALID

 

Fields inherited from interface oracle.jbo.XMLInterface
XML_IGNORE_DEPTH_COUNT, XML_OPT_ALL_ROWS, XML_OPT_ASSOC_CONSISTENT, XML_OPT_CHANGES_ONLY, XML_OPT_LIMIT_RANGE

 

Method Summary
 boolean add(java.lang.Object o)
           
 boolean addAll(java.util.Collection c)
           
 void clear()
           
 boolean contains(java.lang.Object o)
           
 boolean containsAll(java.util.Collection c)
           
 Row createRow()
          Creates a new view row.
 java.util.Hashtable getProperties()
          Returns all Properties
 boolean isAssociationConsistent()
          Returns the association-consistent flag for this row set.
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection c)
           
 boolean retainAll(java.util.Collection c)
           
 void setAssociationConsistent(boolean isConsistent)
          Sets the association-consistent flag for this row set.
 int size()
           
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(java.lang.Object[] a)
           

 

Methods inherited from class oracle.jbo.server.ViewRowSetImpl
addListener, addManagementListener, close, closeRowSet, closeRowSetIterator, createAndInitRow, createDetailRowSet, createKey, createRowSetIterator, dumpViewRowCache, enumerateRowsInRange, execute, execute, executeDetailQuery, executeQuery, findByEntity, findByKey, findRowSetIterator, first, getAccessMode, getAllRowsInRange, getApplicationModule, getCollMgmtInfo, getCurrentRow, getCurrentRowIndex, getCurrentRowSlot, getDefaultRowSetIterator, getDetailRowSets, getEstimatedRangePageCount, getEstimatedRowCount, getFetchedRowCount, getIterMode, getMasterRowSetIterators, getMasterViewRowSetIterators, getMasterViewRowSetIteratorsList, getNextRangeSet, getParameters, getParameters, getParametersAsStorageTypes, getParametersAsStorageTypes, getPreviousRangeSet, getQueryCollection, getRangeIndexOf, getRangeSize, getRangeStart, getRow, getRow, getRowAtRangeIndex, getRowCount, getRowCountInRange, getRowFromHandle, getRows, getRowSet, getRowSetIterator, getRowSetIterators, getSyncLock, getViewLinkMode, getViewObject, getWhereClauseParams, hasDefaultRowSetIterator, hasNext, hasPrevious, insertRow, insertRowAt, insertRowAtRangeIndex, isDefaultRS, isDirty, isExecuted, isFetchComplete, isForwardOnly, isMaxFetchSizeExceeded, isNameGenerated, isNotifiedRefresh, isPassivationEnabled, isRangeAtBottom, isRangeAtTop, last, makeRowCopy, next, previous, printActiveObjsTab, printColl, printRUChain, readXML, readXML, removeCurrentRow, removeCurrentRowFromCollection, removeListener, removeManagementListener, removeMasterRowSetIterator, removeRowAt, removeRowFromCollectionAt, removeRowHandle, reset, scrollRange, scrollRangeTo, scrollToRangePage, setAccessMode, setCurrentRow, setCurrentRowAtRangeIndex, setForwardOnly, setIterMode, setMasterRowSetIterator, setPassivationEnabled, setRangeSize, setRangeStart, setRowValidation, setViewLinkMode, setWhereClauseParam, setWhereClauseParams, writeXML, writeXML, writeXML, writeXML

 

Methods inherited from class oracle.jbo.common.RowSetHelper
fireMgmtIteratorClosed, fireMgmtIteratorReset, fireNavigationEvent, fireRangeRefreshed, fireRangeScrolled, fireRowDeleted, fireRowInserted, fireRowUpdated, getListeners, getListenersList, getManagementListenersList, getName, hasListeners, hasManagementListeners, setName

 

Methods inherited from class oracle.jbo.common.PropertiesHelper
getProperty, refreshProperty, setProperty

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface java.util.Set
equals, hashCode

 

Methods inherited from interface oracle.jbo.RowSet
getName

 

Methods inherited from interface oracle.jbo.Properties
getProperty, refreshProperty

 

Methods inherited from interface oracle.jbo.XMLInterface
readXML, readXML, writeXML, writeXML, writeXML, writeXML

 

Field Detail

ENTITYROWSET_UNINITIALIZED

public static final byte ENTITYROWSET_UNINITIALIZED
See Also:
Constant Field Values

ENTITYROWSET_INCONSISTENT

public static final byte ENTITYROWSET_INCONSISTENT
See Also:
Constant Field Values

ENTITYROWSET_NEW_AND_MODIFIED

public static final byte ENTITYROWSET_NEW_AND_MODIFIED
See Also:
Constant Field Values

mDefaultMode

public static byte mDefaultMode
Method Detail

createRow

public Row createRow()
Description copied from class: ViewRowSetImpl
Creates a new view row.

See ViewObjectImpl.createRow for details.

Specified by:
createRow in interface RowIterator
Overrides:
createRow in class ViewRowSetImpl
Returns:
the new view row.
See Also:
ViewObjectImpl.createRow()

getProperties

public java.util.Hashtable getProperties()
Returns all Properties
Specified by:
getProperties in interface Properties
Overrides:
getProperties in class ViewRowSetImpl
Returns:
hash table (name-value pairs) of all properties.

setAssociationConsistent

public void setAssociationConsistent(boolean isConsistent)
Description copied from class: ViewRowSetImpl
Sets the association-consistent flag for this row set.

See ViewObjectImpl.setAssociationConsistent for details.

Specified by:
setAssociationConsistent in interface RowSet
Overrides:
setAssociationConsistent in class ViewRowSetImpl
Parameters:
isConsistent - indicates whether association-consistency should be on or not.
See Also:
ViewObjectImpl.setAssociationConsistent(boolean)

isAssociationConsistent

public boolean isAssociationConsistent()
Description copied from class: ViewRowSetImpl
Returns the association-consistent flag for this row set.

See ViewObjectImpl.isAssociationConsistent for details.

Specified by:
isAssociationConsistent in interface RowSet
Overrides:
isAssociationConsistent in class ViewRowSetImpl
Returns:
the association-consistent flag for this row set.
See Also:
ViewObjectImpl.isAssociationConsistent()

size

public int size()
Specified by:
size in interface java.util.Set

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Set

contains

public boolean contains(java.lang.Object o)
Specified by:
contains in interface java.util.Set

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.util.Set

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.Set

toArray

public java.lang.Object[] toArray(java.lang.Object[] a)
Specified by:
toArray in interface java.util.Set

add

public boolean add(java.lang.Object o)
Specified by:
add in interface java.util.Set

remove

public boolean remove(java.lang.Object o)
Specified by:
remove in interface java.util.Set

containsAll

public boolean containsAll(java.util.Collection c)
Specified by:
containsAll in interface java.util.Set

addAll

public boolean addAll(java.util.Collection c)
Specified by:
addAll in interface java.util.Set

retainAll

public boolean retainAll(java.util.Collection c)
Specified by:
retainAll in interface java.util.Set

removeAll

public boolean removeAll(java.util.Collection c)
Specified by:
removeAll in interface java.util.Set

clear

public void clear()
Specified by:
clear in interface java.util.Set

Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


 

Copyright © 1997, 2003, Oracle. All rights reserved.