Business Components

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

public class EntityRowSetImpl
extends ViewRowSetImpl
implements java.util.Set

EntityRowSetImpl represents the ResultSet of an association.

Version:
PUBLIC

Field Summary
TypeField
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_INCONSISTENT, VIEWLINK_MODE_UNINITIALIZED
 
Fields inherited from class oracle.jbo.common.RowSetHelper
listeners, mMgmtListeners, mName
 
Fields inherited from class oracle.jbo.common.PropertiesHelper
mProperties, timer
 
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
TypeMethod
 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, executeQuery, findByEntity, findByKey, findRowSetIterator, first, getAllRowsInRange, getApplicationModule, getCollMgmtInfo, getCurrentRow, getCurrentRowIndex, getCurrentRowSlot, getDefaultRowSetIterator, getDetailRowSets, getEstimatedRowCount, getFetchedRowCount, getIterMode, getMasterRowSetIterators, getMasterViewRowSetIterators, getMasterViewRowSetIteratorsList, getNextRangeSet, getParameters, getParametersAsStorageTypes, getPreviousRangeSet, getQueryCollection, getRangeIndexOf, getRangeSize, getRangeStart, getRow, getRow, getRowAtRangeIndex, getRowCount, getRowCountInRange, getRowFromHandle, getRows, getRowSet, getRowSetIterator, getRowSetIterators, getSyncLock, getViewObject, getWhereClauseParams, hasNext, hasPrevious, insertRow, insertRowAt, insertRowAtRangeIndex, isDefaultRS, isDirty, isExecuted, isFetchComplete, isForwardOnly, isMaxFetchSizeExceeded, isNameGenerated, isNotifiedRefresh, isRangeAtBottom, isRangeAtTop, last, makeRowCopy, next, previous, printActiveObjsTab, printColl, printRUChain, readXML, readXML, removeCurrentRow, removeListener, removeManagementListener, removeMasterRowSetIterator, removeRowAt, removeRowHandle, reset, scrollRange, scrollRangeTo, setCurrentRow, setCurrentRowAtRangeIndex, setForwardOnly, setIterMode, setMasterRowSetIterator, setRangeSize, setRangeStart, setRowValidation, 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

ENTITYROWSET_INCONSISTENT

public static final byte ENTITYROWSET_INCONSISTENT

ENTITYROWSET_NEW_AND_MODIFIED

public static final byte ENTITYROWSET_NEW_AND_MODIFIED

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.

Overrides:
createRow in class ViewRowSetImpl
Following copied from class: oracle.jbo.server.ViewRowSetImpl
Returns:
the new view row.
See Also:
ViewObjectImpl.createRow()

getProperties

public java.util.Hashtable getProperties()
Returns all Properties
Overrides:
getProperties in class ViewRowSetImpl
Following copied from class: oracle.jbo.server.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.

Overrides:
setAssociationConsistent in class ViewRowSetImpl
Following copied from class: oracle.jbo.server.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.

Overrides:
isAssociationConsistent in class ViewRowSetImpl
Following copied from class: oracle.jbo.server.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

Business Components