Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


oracle.jbo.server
Class EntityRowSetImpl

java.lang.Object
  extended byoracle.jbo.common.PropertiesHelper
      extended byoracle.jbo.common.RowSetHelper
          extended byoracle.jbo.server.RowSetImpl
              extended byoracle.jbo.server.ViewRowSetImpl
                  extended byoracle.jbo.server.EntityRowSetImpl

All Implemented Interfaces:
java.util.Collection, NavigatableRowIterator, Properties, RowIterator, RowSet, RowSetIterator, java.util.Set, WSRowSetIteratorMarshaller, WSRowSetMarshaller, XMLInterface, oracle.jbo.common.xml.XmlSerializable
Direct Known Subclasses:
CmrAccessorEntRowSet

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, mViewMap, 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

Constructor Summary
protected EntityRowSetImpl(ViewObjectImpl vo, AssociationDefImpl assocDesc, java.lang.Object[] paramValues)
Constructs a EntityRowSetImpl for a ViewRowSetImpl.

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)
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, addRowSetManagementListener, close, closeRowSet, closeRowSetIterator, createAndInitRow, createDetailRowSet, createKey, createRow, createRowSetIterator, doesRowFilterMatch, dumpViewRowCache, enumerateRowsInRange, execute, execute, executeDetailQuery, executeEmptyRowSet, executeQuery, findAndSetCurrentRowByKey, findByEntity, findByKey, findByKey, findRowSetIterator, first, getAccessMode, getAllRowsInRange, getApplicationModule, getCliIteratorState, getCollMgmtInfo, getCurrentRow, getCurrentRowIndex, getCurrentRowSlot, getDefaultRowSetIterator, getDetailEstimatedRowCount, getDetailRowSets, getElementTagName, getEstimatedRangePageCount, getEstimatedRowCount, getFetchedRowCount, getFilteredRows, getFilteredRows, getFilteredRowsInRange, getFilteredRowsInRange, getIterMode, getMasterRowSetIterators, getMasterViewRowSetIterators, getMasterViewRowSetIteratorsList, getNextRangeSet, getParameters, getParameters, getParametersAsStorageTypes, getParametersAsStorageTypes, getPreviousRangeSet, getQueryCollection, getRangeIndexOf, getRangeSize, getRangeStart, getRow, getRow, getRowAtRangeIndex, getRowCount, getRowCountInRange, getRowFilterValues, getRowFromHandle, getRows, getRowSet, getRowSetForFilter, getRowSetIterator, getRowSetIterators, getSyncLock, getViewLinkMode, getViewObject, getWhereClauseParams, hasDefaultRowSetIterator, hasNext, hasPrevious, initQueryCollection, insertRow, insertRowAt, insertRowAtRangeIndex, isDefaultRS, isDirty, isExecuted, isFetchComplete, isForwardOnly, isMaxFetchSizeExceeded, isNameGenerated, isNotifiedRefresh, isPassivationEnabled, isRangeAtBottom, isRangeAtTop, isRowValidation, last, makeRowCopy, next, prepareForBatchMode, previous, printActiveObjsTab, printColl, printRUChain, readXML, readXML, refreshCollection, removeCurrentRow, removeCurrentRowAndRetain, removeCurrentRowFromCollection, removeListener, removeManagementListener, removeMasterRowSetIterator, removeRowAndRetainAt, removeRowAt, removeRowFromCollectionAt, removeRowHandle, removeRowSetManagementListener, reset, scrollRange, scrollRangeTo, scrollToRangePage, setAccessMode, setCurrentRow, setCurrentRowAtRangeIndex, setExecuteParameters, setForwardOnly, setIterMode, setMasterRowSetIterator, setPassivationEnabled, setPassivationEnabledInternal, setRangeSize, setRangeStart, setReceiveAllInsertEvents, setRowFilterValues, setRowValidation, setViewLinkMode, setWhereClauseParam, setWhereClauseParams, writeAsXml, 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

Constructor Detail

EntityRowSetImpl

protected EntityRowSetImpl(ViewObjectImpl vo,
                           AssociationDefImpl assocDesc,
                           java.lang.Object[] paramValues)
Constructs a EntityRowSetImpl for a ViewRowSetImpl.

Method Detail

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

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


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