Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.jbo.server
Class EntityRowSetImpl

java.lang.Object
  extended by oracle.jbo.common.PropertiesHelper
      extended by oracle.jbo.common.RowSetHelper
          extended by oracle.jbo.server.ViewRowSetImpl
              extended by oracle.jbo.server.EntityRowSetImpl
All Implemented Interfaces:
Iterable, Collection, Set, Formattable, NavigatableRowIterator, Properties, RowIterator, RowSet, RowSetIterator, VariableManagerOwner, VariableManagerOwnerBase

public class EntityRowSetImpl
extends ViewRowSetImpl
implements Set


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
CLASS_INSTANCE, mDefaultView, mDefaultViewLinkMode, mMasterViews, mParamValues, mQRef, mUserParams, mViewMap, mViews, mWhereParams, VIEWLINK_MODE_CONSISTENT, VIEWLINK_MODE_DEFAULT, VIEWLINK_MODE_INCONSISTENT, VIEWLINK_MODE_UNINITIALIZED
 
Fields inherited from class oracle.jbo.common.RowSetHelper
listeners, mMgmtListeners
 
Fields inherited from class oracle.jbo.common.PropertiesHelper
mProperties
 
Fields inherited from interface oracle.jbo.RowSet
COPY_OPT_ALL_ROWS, COPY_OPT_LIMIT_RANGE, FORWARD_ONLY, RANGE_PAGING, RANGE_PAGING_AUTO_POST, RANGE_PAGING_INCR, 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
 
Constructor Summary
  EntityRowSetImpl()
           
protected EntityRowSetImpl(ViewObjectImpl vo, AssociationDefImpl assocDesc, java.lang.Object[] paramValues)
          Constructs a EntityRowSetImpl for a ViewRowSetImpl.
 
Method Summary
 boolean add(java.lang.Object o)
          Adds the specified object to this Set.
 boolean addAll(Collection c)
          Adds the objects in the specified Collection which do not exist in this Set.
 void clear()
          Removes all elements from this Set, leaving it empty.
 boolean contains(java.lang.Object o)
          Searches this Set for the specified object.
 boolean containsAll(Collection c)
          Searches this Set for all objects in the specified Collection.
 java.util.Enumeration getElements()
           
 java.lang.String getElementTagName()
           
 boolean isEmpty()
          Answers if this Set has no elements, a size of zero.
 Iterator iterator()
          Answers an Iterator on the elements of this Set.
 boolean remove(java.lang.Object key)
          Removes any occurrence of the specified object from this Set.
 boolean removeAll(Collection c)
          Removes all objects in the specified Collection from this Set.
 boolean retainAll(Collection c)
          Removes all objects from this Set that are not contained in the specified Collection.
 int size()
          Answers the number of elements in this Set.
 java.lang.Object[] toArray()
          Answers an array containing all elements contained in this Set.
 java.lang.Object[] toArray(java.lang.Object[] arr)
          Answers an array containing all elements contained in this Set.
 
Methods inherited from class oracle.jbo.server.ViewRowSetImpl
addListener, addManagementListener, addRowSetManagementListener, cancelQuery, close, closeRowSet, closeRowSetIterator, createAndInitRow, createDetailRowSet, createKey, createRow, createRowSetIterator, deepCopy, defineNamedWhereClauseParam, doesRowFilterMatch, dumpViewRowCache, ensureVariableManager, enumerateRowsInRange, execute, execute, executeDetailQuery, executeEmptyRowSet, executeQuery, findAndSetCurrentRowByKey, findByAltKey, findByEntity, findByKey, findByKey, findByViewCriteria, findByViewCriteriaWithBindVars, findInCacheByAltKey, findInCacheByKey, findRowSetIterator, first, formatForOutput, getAccessMode, getAllRowsInRange, getApplicationModule, getCappedRowCount, getCliIteratorState, getCollMgmtInfo, getCurrentRow, getCurrentRowIndex, getCurrentRowSlot, getDefaultRowSetIterator, getDeferredEstimatedRowCount, getDetailEstimatedRowCount, getDetailRowSets, getEstimatedRangePageCount, getEstimatedRowCount, getFetchedRowCount, getFilteredRows, getFilteredRows, getFilteredRowsInRange, getFilteredRowsInRange, getIterMode, getMasterRowSetIterators, getMasterViewRowSetIterators, getMasterViewRowSetIteratorsList, getMessageBundleClass, getNamedWhereClauseParam, getNamedWhereClauseParams, getNextRangeSet, getParameters, getParameters, getParametersAsStorageTypes, getParametersAsStorageTypes, getPreviousRangeSet, getProperties, getProperty, getQueryCollection, getRangeIndexOf, getRangePagingCacheFactor, getRangeSize, getRangeStart, getResourceBundleDef, getRow, getRow, getRowAtRangeIndex, getRowCount, getRowCountInRange, getRowFilterValues, getRowFromHandle, getRows, getRowSet, getRowSetIterator, getRowSetIterators, getSyncLock, getVariableManager, getViewLinkMode, getViewObject, getWhereClauseParams, hasDefaultRowSetIterator, hasNext, hasPrevious, hasVariables, initQueryCollection, insertRow, insertRowAt, insertRowAtRangeIndex, isAssociationConsistent, isDefaultRS, isDirty, isExecuted, isFetchComplete, isForwardOnly, isMaxFetchSizeExceeded, isNameGenerated, isNotifiedRefresh, isPassivationEnabled, isRangeAtBottom, isRangeAtTop, isRangePaging, isRowValidation, isScrollable, last, makeRowCopy, needsRefresh, next, preFetchRowsByKeys, preFetchRowsByKeys, prepareForBatchMode, previous, printActiveObjsTab, printColl, printRUChain, reduceUserParamsToSize, refreshCache, refreshCollection, refreshWhereClauseParams, removeCurrentRow, removeCurrentRowAndRetain, removeCurrentRowFromCollection, removeListener, removeManagementListener, removeMasterRowSetIterator, removeNamedWhereClauseParam, removeRowAndRetainAt, removeRowAt, removeRowFromCollectionAt, removeRowHandle, removeRowSetManagementListener, reset, scrollRange, scrollRangeTo, scrollToRangePage, setAccessMode, setAssociationConsistent, setCollectionForRowFilter, setCurrentRow, setCurrentRowAtRangeIndex, setExecuteParameters, setForwardOnly, setIterMode, setMasterRowSetIterator, setNamedWhereClauseParam, setNamedWhereClauseParams, setOwnedByQC, setPassivationEnabled, setPassivationEnabledInternal, setRangePagingCacheFactor, setRangeSize, setRangeStart, setReceiveAllInsertEvents, setRowFilterValues, setRowValidation, setViewLinkMode, setWhereClauseParam, setWhereClauseParams, skipNamedWhereClauseParam, toString
 
Methods inherited from class oracle.jbo.common.RowSetHelper
fireMgmtIteratorClosed, fireMgmtIteratorReset, fireNavigationEvent, fireRangeRefreshed, fireRangeScrolled, fireRowDeleted, fireRowInserted, fireRowUpdate, fireRowUpdated, getListenersList, getName, hasListeners, hasManagementListeners, setName
 
Methods inherited from class oracle.jbo.common.PropertiesHelper
closeObject, getImageLoc, getProperty, isReadOnly, refreshProperties, refreshProperty, setProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.adfnmc.java.util.Set
equals, hashCode
 
Methods inherited from interface oracle.jbo.RowSet
getName
 
Methods inherited from interface oracle.jbo.Properties
getProperty, refreshProperty
 

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

public EntityRowSetImpl()

EntityRowSetImpl

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

Parameters:
vo - the ViewObjectImpl
assocDesc - the association
paramValues - parameters
Method Detail

add

public boolean add(java.lang.Object o)
Description copied from interface: Set
Adds the specified object to this Set. The Set is not modified if it already contains the object.

Specified by:
add in interface Collection
Specified by:
add in interface Set
Parameters:
o - the object to add
Returns:
true if this Set is modified, false otherwise

contains

public boolean contains(java.lang.Object o)
Description copied from interface: Set
Searches this Set for the specified object.

Specified by:
contains in interface Collection
Specified by:
contains in interface Set
Parameters:
o - the object to search for
Returns:
true if object is an element of this Set, false otherwise

getElements

public java.util.Enumeration getElements()

remove

public boolean remove(java.lang.Object key)
Description copied from interface: Set
Removes any occurrence of the specified object from this Set.

Specified by:
remove in interface Collection
Specified by:
remove in interface Set
Parameters:
key - the object to remove
Returns:
true if this Set is modified, false otherwise

size

public int size()
Description copied from interface: Set
Answers the number of elements in this Set.

Specified by:
size in interface Collection
Specified by:
size in interface Set
Returns:
the number of elements in this Set

toArray

public java.lang.Object[] toArray()
Description copied from interface: Set
Answers an array containing all elements contained in this Set.

Specified by:
toArray in interface Collection
Specified by:
toArray in interface Set
Returns:
an array of the elements from this Set

toArray

public java.lang.Object[] toArray(java.lang.Object[] arr)
Description copied from interface: Set
Answers an array containing all elements contained in this Set. If the specified array is large enough to hold the elements, the specified array is used, otherwise an array of the same type is created. If the specified array is used and is larger than this Set, the array element following the collection elements is set to null.

Specified by:
toArray in interface Collection
Specified by:
toArray in interface Set
Parameters:
arr - the array
Returns:
an array of the elements from this Set

isEmpty

public boolean isEmpty()
Description copied from interface: Set
Answers if this Set has no elements, a size of zero.

Specified by:
isEmpty in interface Collection
Specified by:
isEmpty in interface Set
Returns:
true if this Set has no elements, false otherwise
See Also:
Set.size()

addAll

public boolean addAll(Collection c)
Description copied from interface: Set
Adds the objects in the specified Collection which do not exist in this Set.

Specified by:
addAll in interface Collection
Specified by:
addAll in interface Set
Parameters:
c - the Collection of objects
Returns:
true if this Set is modified, false otherwise

clear

public void clear()
Description copied from interface: Set
Removes all elements from this Set, leaving it empty.

Specified by:
clear in interface Collection
Specified by:
clear in interface Set
See Also:
Set.isEmpty(), Set.size()

containsAll

public boolean containsAll(Collection c)
Description copied from interface: Set
Searches this Set for all objects in the specified Collection.

Specified by:
containsAll in interface Collection
Specified by:
containsAll in interface Set
Parameters:
c - the Collection of objects
Returns:
true if all objects in the specified Collection are elements of this Set, false otherwise

iterator

public Iterator iterator()
Description copied from interface: Set
Answers an Iterator on the elements of this Set.

Specified by:
iterator in interface Iterable
Specified by:
iterator in interface Collection
Specified by:
iterator in interface Set
Returns:
an Iterator on the elements of this Set
See Also:
Iterator

removeAll

public boolean removeAll(Collection c)
Description copied from interface: Set
Removes all objects in the specified Collection from this Set.

Specified by:
removeAll in interface Collection
Specified by:
removeAll in interface Set
Parameters:
c - the Collection of objects to remove
Returns:
true if this Set is modified, false otherwise

retainAll

public boolean retainAll(Collection c)
Description copied from interface: Set
Removes all objects from this Set that are not contained in the specified Collection.

Specified by:
retainAll in interface Collection
Specified by:
retainAll in interface Set
Parameters:
c - the Collection of objects to retain
Returns:
true if this Set is modified, false otherwise

getElementTagName

public java.lang.String getElementTagName()

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.