public class EntityRowSetImpl extends ViewRowSetImpl implements java.util.Set
| Modifier and Type | Field and Description | 
|---|---|
| static byte | ENTITYROWSET_INCONSISTENT | 
| static byte | ENTITYROWSET_NEW_AND_MODIFIED | 
| static byte | ENTITYROWSET_UNINITIALIZED | 
| static byte | mDefaultMode | 
FINDER_RANGE_SIZE_DEFAULT, FINDER_RANGE_SIZE_MAX, FINDER_RANGE_SIZE_SKIP, FINDER_RANGE_SIZE_UNINITIALIZED, mDefaultFinderRangeSize, mDefaultView, mDefaultViewLinkMode, mMasterViews, mParamValues, mQRef, mUserParams, mViewMap, mViews, mWhereParams, VIEWLINK_MODE_CONSISTENT, VIEWLINK_MODE_DEFAULT, VIEWLINK_MODE_INCONSISTENT, VIEWLINK_MODE_UNINITIALIZEDlisteners, mMgmtListeners, mNamemPropertiesCOPY_OPT_ALL_ROWS, COPY_OPT_LIMIT_RANGE, FORWARD_ONLY, RANGE_PAGING, RANGE_PAGING_AUTO_POST, RANGE_PAGING_INCR, SCROLLABLEITER_MODE_LAST_PAGE_FULL, ITER_MODE_LAST_PAGE_PARTIAL, SLOT_BEFORE_FIRST, SLOT_BEYOND_LAST, SLOT_DELETED, SLOT_VALIDXML_IGNORE_DEPTH_COUNT, XML_OPT_ALL_ROWS, XML_OPT_ASSOC_CONSISTENT, XML_OPT_CHANGES_ONLY, XML_OPT_LIMIT_RANGE, XML_PASSIVATION_USE| Modifier | Constructor and Description | 
|---|---|
| protected  | EntityRowSetImpl(ViewObjectImpl vo,
                java.lang.String name,
                AssociationDefImpl assocDesc,
                java.lang.Object[] paramValues)Constructs a EntityRowSetImpl for a ViewRowSetImpl. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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[] | findByEntity(int eRowHandle,
            int maxNumOfRows)Finds and returns View rows that use the Entity row, identified by
 the Entity row handle,  eRowHandle. | 
| Row[] | findByKey(Key key,
         int maxNumOfRows)Finds and returns View rows that match the specified key. | 
| Row[] | findByKey(Key key,
         int maxNumOfRows,
         boolean skipWhere) | 
| Row[] | findInCacheByKey(Key key,
                int maxNumOfRows) | 
| java.lang.String | getElementTagName() | 
| java.lang.String | getFullName() | 
| java.util.Hashtable | getProperties()Returns all Properties | 
| boolean | isAssociationConsistent()Returns the association-consistent flag for this row set. | 
| boolean | isEmpty() | 
| java.util.Iterator | iterator() | 
| void | readXML(Element elem,
       int depthCount) | 
| void | readXML(Element elem,
       int depthCount,
       XSLStylesheet xslt) | 
| 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) | 
| void | writeAsXml(XmlOutput out,
          Node node,
          Criteria rules) | 
| Node | writeXML(int depthCount,
        long options)Renders data in a canonical XML-format. | 
| Node | writeXML(int depthCount,
        long options,
        XSLStylesheet xslt) | 
| Node | writeXML(long options,
        java.util.HashMap voAttrRules)Renders data in a canonical XML-format. | 
| Node | writeXML(long options,
        java.util.HashMap map,
        XSLStylesheet xslt) | 
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, findByViewCriteria, findByViewCriteriaWithBindVars, findDateEffectiveRowByKey, findInCacheByAltKey, findRowSetIterator, findRowsMatchingCriteria, first, forceExecuteQueryOfSharedVO, 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, getProperty, getQueryCollection, getRangeIndexOf, getRangePagingCacheFactor, getRangeSize, getRangeStart, getResourceBundleDef, getRow, getRow, getRowAtRangeIndex, getRowCount, getRowCountInRange, getRowFilterValues, getRowFromHandle, getRows, getRowSet, getRowSetIterator, getRowSetIterators, getSyncLock, getVariableManager, getVariableValue, getViewLinkMode, getViewObject, getWhereClauseParams, hasDefaultRowSetIterator, hasNext, hasPrevious, hasVariables, initQueryCollection, insertRow, insertRowAt, insertRowAtRangeIndex, isAllRowsFetched, isDefaultRowSet, isDefaultRS, isDirty, isExecuted, isExecutedEmpty, isExecutedInternal, isExecutedNotEmpty, 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, resetExecuted, scrollRange, scrollRangeTo, scrollToRangePage, setAccessMode, setCollectionForRowFilter, setCurrentRow, setCurrentRowAtRangeIndex, setExecuteParameters, setForwardOnly, setIterMode, setMasterRowSetIterator, setNamedWhereClauseParam, setNamedWhereClauseParams, setOwnedByQC, setPassivationEnabled, setPassivationEnabledInternal, setRangePagingCacheFactor, setRangeSize, setRangeStart, setReceiveAllInsertEvents, setRowFilterValues, setRowValidation, setViewLinkMode, setWhereClauseParam, setWhereClauseParams, skipNamedWhereClauseParamfireMgmtIteratorClosed, fireMgmtIteratorReset, fireNavigationEvent, fireRangeRefreshed, fireRangeScrolled, fireRowDeleted, fireRowInserted, fireRowUpdated, getListeners, getListenersList, getManagementListenersList, getName, hasListeners, hasManagementListeners, setName, updateNamedWhereParamValuescloseObject, getImageLoc, getProperty, isReadOnly, refreshProperties, refreshProperty, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperty, refreshPropertypublic static final byte ENTITYROWSET_UNINITIALIZED
public static final byte ENTITYROWSET_INCONSISTENT
public static final byte ENTITYROWSET_NEW_AND_MODIFIED
public static byte mDefaultMode
protected EntityRowSetImpl(ViewObjectImpl vo, java.lang.String name, AssociationDefImpl assocDesc, java.lang.Object[] paramValues)
vo - the ViewObjectImplassocDesc - the associationparamValues - parameterspublic java.util.Hashtable getProperties()
getProperties in interface PropertiesgetProperties in class ViewRowSetImplpublic void setAssociationConsistent(boolean isConsistent)
ViewRowSetImpl
 See ViewObjectImpl.setAssociationConsistent for details.
setAssociationConsistent in interface RowSetsetAssociationConsistent in class ViewRowSetImplisConsistent - indicates whether association-consistency
                           should be on or not.ViewObjectImpl.setAssociationConsistent(boolean)public boolean isAssociationConsistent()
ViewRowSetImpl
 See ViewObjectImpl.isAssociationConsistent for details.
isAssociationConsistent in interface RowSetisAssociationConsistent in class ViewRowSetImplViewObjectImpl.isAssociationConsistent()public int size()
size in interface java.util.Collectionsize in interface java.util.Setpublic boolean isEmpty()
isEmpty in interface java.util.CollectionisEmpty in interface java.util.Setpublic boolean contains(java.lang.Object o)
contains in interface java.util.Collectioncontains in interface java.util.Setpublic java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in interface java.util.Collectioniterator in interface java.util.Setpublic java.lang.Object[] toArray()
toArray in interface java.util.CollectiontoArray in interface java.util.Setpublic java.lang.Object[] toArray(java.lang.Object[] a)
toArray in interface java.util.CollectiontoArray in interface java.util.Setpublic boolean add(java.lang.Object o)
add in interface java.util.Collectionadd in interface java.util.Setpublic boolean remove(java.lang.Object o)
remove in interface java.util.Collectionremove in interface java.util.Setpublic boolean containsAll(java.util.Collection c)
containsAll in interface java.util.CollectioncontainsAll in interface java.util.Setpublic boolean addAll(java.util.Collection c)
addAll in interface java.util.CollectionaddAll in interface java.util.Setpublic boolean retainAll(java.util.Collection c)
retainAll in interface java.util.CollectionretainAll in interface java.util.Setpublic boolean removeAll(java.util.Collection c)
removeAll in interface java.util.CollectionremoveAll in interface java.util.Setpublic void clear()
clear in interface java.util.Collectionclear in interface java.util.Setpublic Row[] findInCacheByKey(Key key, int maxNumOfRows)
findInCacheByKey in class ViewRowSetImplpublic Row[] findByKey(Key key, int maxNumOfRows)
ViewRowSetImpl
 See RowIterator.findByKey(oracle.jbo.Key, int)
findByKey in interface RowIteratorfindByKey in class ViewRowSetImplkey - the key to match.maxNumOfRows - the maximum size of the array to return,
                        or -1 to return all rows.public Row[] findByKey(Key key, int maxNumOfRows, boolean skipWhere)
findByKey in class ViewRowSetImplpublic Row[] findByEntity(int eRowHandle, int maxNumOfRows)
RowIteratoreRowHandle.
 findByEntity in interface RowIteratorfindByEntity in class ViewRowSetImpleRowHandle - the Entity row handle.maxNumOfRows - the maximum size of the row array to return,
                        or -1 to return all rows.public java.lang.String getFullName()
public final Node writeXML(long options, java.util.HashMap voAttrRules)
XMLInterfaceViewObjectImpl and
 ViewRowImpl implement this method to render
 data in XML.
 Use this method whenever data is required in XML format, either to present a UI (after converting XML data into some HTTP format using a stylesheet) or to pass the data as payload for messages via JMS.
The options parameter represents a set of bit flags that will control the writeXML behavior. The following bit flags have been defined:
EntityImpl. The voAttrMap parameter represents in a hashmap, the mapping between a given ViewObject's definition type and the corresponding Attributes/accessors to render. A null entry in the hashmap means, render all attributes and accessors of that viewobject type.
writeXML in interface XMLInterfaceoptions - a set of bit flags that will control the writeXMLvoAttrRules - HashMap containing Definition names of ViewObjects and an
 array of AttributeDef to render for a ViewObject of that definition type.public Node writeXML(int depthCount, long options)
XMLInterfaceViewObjectImpl and
 ViewRowImpl implement this method to render
 data in XML.
 Use this method whenever data is required in XML format, either to present a UI (after converting XML data into some HTTP format using a stylesheet) or to pass the data as payload for messages via JMS.
The depthcount parameter represents to what level the rendering should recurse. A depthcount of zero (0) means do not traverse any View Links while rendering. One (1) means traverse the View Links on this object but no View Links thereafter, and so on.
The options parameter represents a set of bit flags that will control the writeXML behavior. The following bit flags have been defined:
EntityImpl. writeXML in interface XMLInterfacedepthCount - represents to what level the rendering should recurse.options - a set of bit flags that will control the writeXML
 behavior.public Node writeXML(long options, java.util.HashMap map, XSLStylesheet xslt)
writeXML in interface XMLInterfacepublic Node writeXML(int depthCount, long options, XSLStylesheet xslt)
writeXML in interface XMLInterfacepublic void readXML(Element elem, int depthCount, XSLStylesheet xslt)
readXML in interface XMLInterfacepublic java.lang.String getElementTagName()
getElementTagName in interface XmlSerializablepublic void writeAsXml(XmlOutput out, Node node, Criteria rules)
writeAsXml in interface XmlSerializablepublic void readXML(Element elem, int depthCount)
readXML in interface XMLInterface