Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


oracle.jbo.server
Class ProgrammaticViewRowImpl

java.lang.Object
  extended by oracle.jbo.server.RowImpl
      extended by oracle.jbo.server.ViewRowImpl
          extended by oracle.jbo.server.ProgrammaticViewRowImpl

All Implemented Interfaces:
AttributeList, InternalViewRowInterface, XmlSerializable, ConsistentRow, JIReservedVarNames, ExprScriptSupplier, ExprValueSupplier, ExprValueTypeSupplier, ExprWrappable, JboReservedVarNames, Row, RowExprScriptSupplier, ExprScriptRunner, VariableManagerOwnerBase, XMLInterface
Direct Known Subclasses:
DCDataRow

public class ProgrammaticViewRowImpl
extends ViewRowImpl

Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.jbo.server.ViewRowImpl
ViewRowImpl.PostState, ViewRowImpl.RowState

 

Field Summary
protected  java.lang.Object mDataProvider
           
protected  int mSetAttrIndex
           
protected  java.lang.Object mSetAttrVal
           

 

Fields inherited from class oracle.jbo.server.ViewRowImpl
CURRENT_VERSION, ORIGINAL_VERSION, XML_POSTSTATE_REMOVE, XML_POSTSTATE_TAG

 

Fields inherited from class oracle.jbo.server.RowImpl
PROPERTY_SERVICE_RESOURCE_CONTAINER_PATH

 

Fields inherited from interface oracle.jbo.JboReservedVarNames
RESERVED_VAR_AGG_AVG, RESERVED_VAR_AGG_COUNT, RESERVED_VAR_AGG_MAX, RESERVED_VAR_AGG_MIN, RESERVED_VAR_AGG_SUM, RESERVED_VAR_AGGVAL_PREFIX, RESERVED_VAR_STRUCTURE_DEF

 

Fields inherited from interface oracle.jbo.expr.JIReservedVarNames
RESERVED_VAR_VALUE

 

Fields inherited from interface oracle.jbo.Row
EFFDT_ADJUST_EFFECTIVE_END_DATE_MODE, EFFDT_ADJUST_EFFECTIVE_START_DATE_MODE, EFFDT_DELETE_FUTURE_CHANGE_MODE, EFFDT_DELETE_MODE, EFFDT_DELETE_NEXT_CHANGE_MODE, EFFDT_DELETE_THIS_CHANGE_MODE, EFFDT_DELETE_ZAP_MODE, EFFDT_EXPERT_MODE, EFFDT_NONE_MODE, EFFDT_UPDATE_CHANGE_INSERT_MODE, EFFDT_UPDATE_CORRECTION, EFFDT_UPDATE_INSERT_MODE, EFFDT_UPDATE_MODE, EFFDT_UPDATE_NEW_EARLIEST_CHANGE_MODE, EFFDT_UPDATE_OVERRIDE_MODE, REFRESH_CONTAINEES, REFRESH_FORGET_NEW_ROWS, REFRESH_REMOVE_NEW_ROWS, REFRESH_UNDO_CHANGES, REFRESH_WITH_DB_FORGET_CHANGES, REFRESH_WITH_DB_ONLY_IF_UNCHANGED, STATUS_INITIALIZED

 

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

 

Constructor Summary
ProgrammaticViewRowImpl()
           

 

Method Summary
protected  void copyFrom(ViewRowImpl other)
          For subclasses to implement copy of transient members in the subclass This method is invoked when a new row is created with attributes copied from the other row for move into a new collection in makeRowCopy.
 void dump()
           
 boolean equals(java.lang.Object other)
          Tests if the specified value is equal to this ViewRowImpl object.
protected  java.lang.Object getAttributeInternal(int index)
          Gets the value of the attribute by index.
protected  java.lang.Object getAttributeInternalDelegation(int index)
           
 java.lang.Object getDataProvider()
           
protected  void initDataProvider(java.lang.Object bean)
           
protected  boolean isAttributeRSI(ViewAttributeDefImpl vad)
           
protected  java.lang.StringBuffer logCustomRowState()
          Override this method to log custom information of the ProgrammaticViewRowImpl, before f/w dump the row's dataProvider and corresponding detail collection info.
 void setAttribute(int index, java.lang.Object val)
          Sets an attribute.
protected  void setAttributeInternal(int index, java.lang.Object val)
          This is an "inner" accessor for an attribute and does not call out to the getXXX() method.
 void setTransientAttributeValue(ViewAttributeDefImpl vad, java.lang.Object val)
          Deprecated.  
protected  void setTransientAttributeValueInternal(ViewAttributeDefImpl vad, java.lang.Object val)
           

 

Methods inherited from class oracle.jbo.server.ViewRowImpl
_internal_dbg_debug_data, appendXMLElementNodes, appendXMLElementNodes, checkConsistency, checkForOuterJoins, clearAttributeException, clearAttributeException, create, createEntities, createListBinding, createMissingEntitiesFromViewDef, createViewAccessorRS, createViewAccessorRS, createViewRowAttrHints, doAllowsOperation, doAutoClearAttribute, doEffectiveDateRangeOperation, entityCacheAdd, findAssociatedObjects, findAttributeDef, findListBindingName, findListBindingRSI, findOrCreateLocalViewObject, findOrCreateViewAccessorRS, findOrCreateViewAccessorRS, findOrCreateViewLinkAccessorRS, findRowSetForRow, findViewAccessorDef, getApplicationModule, getApplicationModuleForViewAccessor, getAttribute, getAttribute, getAttributeCount, getAttributeHints, getAttributeHints, getAttributeIndexOf, getAttributeInternal, getAttributeNames, getAttributeValues, getAttrInvokeAccessor, getClientChangeIndicator, getCtrlHints, getDBTransaction, getEffectiveDate, getElementTagName, getEntities, getEntity, getEntityAttrForAttribute, getEntityCount, getEntityForAttribute, getEntityForListBinding, getExprVarVal, getHandle, getKey, getListBindingCount, getListBindingRSI, getListBindings, getLookupDescription, getNewRowState, getOriginalAttributeValue, getOwningAccessorName, getParentVariableManager, getPreferredListBindingRSI, getPrimaryEntityReference, getPrimaryPostState, getPrimaryRowState, getQueryCollection, getRowOperationsScript, getRowSet, getRowStorageInternal, getSelectedListDisplayValue, getSelectedListDisplayValues, getStructureDef, getViewDef, getViewLogicGroupDef, getViewObject, getXMLElementTag, handleListBindingMismatch, hasAttributeException, hasDeferredExceptions, hasExtendedViewDef, hashCode, hasListBindings, initDefaults, internalGetCachedCalcAttributeValue, isAttributeChanged, isAttributeUpdateable, isDead, isRefreshRequired, isSubclassRow, isViewAccessorAttribute, lock, lookupAttributeDef, markViewAccessorsDirty, populate, populateAttribute, populateAttributeAsChanged, readAttributeFromXMLElement, readXML, refresh, refreshViewAccessor, registerAttributeException, remove, removeAndRetain, removeFromCollection, renderAttributeInXMLElement, renderAttributeInXMLElement, revert, revertRow, revertRowAndContainees, setAttribute, setAttributeValues, setAttrInvokeAccessor, setEffectiveDateMode, setEffectiveDateOnEntities, setEntities, setEntity, setNewRowState, setStateOnEntity, shouldAddViewAccessorRSToRow, throwOnListBindingMismatch, toString, validate, writeAsXml, writeAsXml, writeXML

 

Methods inherited from class oracle.jbo.server.RowImpl
addListBindingsForAttribute, clearAllExceptions, clearRowExceptions, createXMLDefinition, ensureVariableManager, findAttrAndGetIndex, forceFilterListExecute, getAllExceptions, getAttributeInternal, getAttributeSecurityHints, getAttributeSecurityHints, getCombinedAttrNames, getEffectiveDateMode, getExprMethodVal, getExprVarValType, getGlobalScript, getHints, getMessageBundleClass, getMethodKind, getResourceBundleDef, getRowExceptions, getSecurityHints, getVariableManager, getViewAccessorResultIndex, hasAttributeException, hasVariables, invokeMethod, isRefreshRequired, isRefreshRequired, lookupListBinding, printXMLDefinition, readXML, refreshViewAccessor, refreshViewAccessor, registerRowException, setAttributeInternal, setExprVarVal, setInMultiSetter, skipFilterListOnKeyAttributes, variablesAdded, writeXML, writeXML, writeXML

 

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

 

Field Detail

mDataProvider

protected java.lang.Object mDataProvider

mSetAttrVal

protected transient java.lang.Object mSetAttrVal

mSetAttrIndex

protected transient int mSetAttrIndex

Constructor Detail

ProgrammaticViewRowImpl

public ProgrammaticViewRowImpl()

Method Detail

initDataProvider

protected void initDataProvider(java.lang.Object bean)
For internal use only. Application developers should not use this
*** For internal framework use only ***

getDataProvider

public final java.lang.Object getDataProvider()

dump

public final void dump()
For internal use only. Application developers should not use this
*** For internal framework use only ***

logCustomRowState

protected java.lang.StringBuffer logCustomRowState()
Override this method to log custom information of the ProgrammaticViewRowImpl, before f/w dump the row's dataProvider and corresponding detail collection info. oracle.adf.model.log.ProgrammaticViewObject logger will log the StringBuffer at FINEST level.
Returns:
StringBuffer of the custom row state info

isAttributeRSI

protected boolean isAttributeRSI(ViewAttributeDefImpl vad)
For internal use only. Application developers should not use this
*** For internal framework use only ***

setAttribute

public void setAttribute(int index,
                         java.lang.Object val)
Description copied from class: ViewRowImpl
Sets an attribute.

This method performs a type-check on the value, so that it matches the Java type of the attribute.

Specified by:
setAttribute in interface AttributeList
Overrides:
setAttribute in class ViewRowImpl
Parameters:
index - the index of the attribute.
val - the new value.

setAttributeInternal

protected void setAttributeInternal(int index,
                                    java.lang.Object val)
Description copied from class: ViewRowImpl
This is an "inner" accessor for an attribute and does not call out to the getXXX() method. This method sets the value to the mapping entity attribute or stores the value in ViewRow cache for the given attribute.

This method also does not perform any type-check for the value's java type and assumes that the value-type is same as the java-type for this attribute.

Overrides:
setAttributeInternal in class ViewRowImpl
Parameters:
index - The index of the attribute.
val - The value.

getAttributeInternal

protected java.lang.Object getAttributeInternal(int index)
Description copied from class: ViewRowImpl
Gets the value of the attribute by index. If the attribute is mapped to an entity-attribute, invoke that entity.getAttribute() with the mapped index. For all other attributes, return the value from the ViewRow's storage.

Note that this is an "inner" accessor for an attribute and does not callout to the generated getXXX() method on a subclass of a ViewRowImpl. getAttribute() methods are the "outer" methods that callout to a subclass's getXXX() method where XXX is the name of the attribute.

Overrides:
getAttributeInternal in class ViewRowImpl
Parameters:
index - the index of the attribute.
Returns:
the value of the column at the index.

getAttributeInternalDelegation

protected java.lang.Object getAttributeInternalDelegation(int index)
For internal use only. Application developers should not use this
*** For internal framework use only ***

equals

public boolean equals(java.lang.Object other)
Description copied from class: ViewRowImpl
Tests if the specified value is equal to this ViewRowImpl object.
Overrides:
equals in class ViewRowImpl
Parameters:
other - the object to which the ViewRowImpl should be compared.
Returns:
true if the specified object is equal to the this ViewRowImpl.

setTransientAttributeValueInternal

protected void setTransientAttributeValueInternal(ViewAttributeDefImpl vad,
                                                  java.lang.Object val)
For internal use only. Application developers should not use this
*** For internal framework use only ***

setTransientAttributeValue

public void setTransientAttributeValue(ViewAttributeDefImpl vad,
                                       java.lang.Object val)
Deprecated. 
Overrides:
setTransientAttributeValue in class ViewRowImpl
For internal use only. Application developers should not use this
*** For internal framework use only ***

copyFrom

protected void copyFrom(ViewRowImpl other)
Description copied from class: ViewRowImpl
For subclasses to implement copy of transient members in the subclass This method is invoked when a new row is created with attributes copied from the other row for move into a new collection in makeRowCopy.
Overrides:
copyFrom in class ViewRowImpl

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


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