public class ProgrammaticViewRowImpl extends ViewRowImpl
ViewRowImpl.PostState, ViewRowImpl.RowState| Modifier and Type | Field and Description | 
|---|---|
protected java.lang.Object | 
mDataProvider  | 
protected int | 
mSetAttrIndex  | 
protected java.lang.Object | 
mSetAttrVal  | 
CURRENT_VERSION, ORIGINAL_VERSION, XML_POSTSTATE_REMOVE, XML_POSTSTATE_TAGPROPERTY_SERVICE_RESOURCE_CONTAINER_PATHRESERVED_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_DEFRESERVED_VAR_VALUEPNAME_CONTEXTUAL_HINT_SUFFIX, PNAME_DYNACC_FLAG_FOR_LOV, PNAME_DYNACC_FLAG_SELF_LINK, PNAME_DYNACC_FLAGS, PNAME_DYNACC_STRUCTURE_DEF_NAMEEFFDT_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_INITIALIZEDXML_IGNORE_DEPTH_COUNT, XML_OPT_ALL_ROWS, XML_OPT_ASSOC_CONSISTENT, XML_OPT_CHANGES_ONLY, XML_OPT_LIMIT_RANGE, XML_PASSIVATION_USE| Constructor and Description | 
|---|
ProgrammaticViewRowImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected java.lang.Object | 
convertToAttributeType(AttributeDefImpl attrDef,
                      java.lang.Class javaTypeClass,
                      java.lang.Object val)
User should override this API to provide custom implementation for conversion of value from sourceType to JavaType 
 | 
protected java.lang.Object | 
convertToSourceType(ViewAttributeDefImpl vad,
                   java.lang.String sourceType,
                   java.lang.Object val)
User should override this API to provide custom implementation for conversion of value from JavaType to sourceType 
 | 
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. 
 | 
protected void | 
create(AttributeList nvp)
Initialization method to be over-ridden in generated code
 for custom defaulting. 
 | 
protected java.lang.Object | 
createRowData(java.util.HashMap attrNameValueMap)
User should override this API to initializing the dataProvider for newly created row. 
 | 
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)  | 
protected boolean | 
updateDataProvider(java.lang.Object rowDataProvider,
                  ViewAttributeDefImpl attrDef,
                  java.lang.Object newValue)  | 
_internal_dbg_debug_data, appendXMLElementNodes, appendXMLElementNodes, checkConsistency, checkForOuterJoins, clearAttributeException, clearAttributeException, clearViewAccessorResultsRecursively, createEntities, createListBinding, createMissingEntitiesFromViewDef, createViewAccessorRS, createViewAccessorRS, createViewRowAttrHints, doAllowsOperation, doAutoClearAttribute, doEffectiveDateRangeOperation, entityCacheAdd, evaluateLovFinderExpressionInternal, findAssociatedObjects, findAttributeDef, findListBindingName, findListBindingRSI, findOrCreateLocalViewObject, findOrCreateViewAccessorRS, findOrCreateViewAccessorRS, findOrCreateViewLinkAccessorRS, findRowSetForRow, findViewAccessorDef, getAccessorStructureDefName, getApplicationModule, getApplicationModuleForViewAccessor, getAttribute, getAttribute, getAttributeCount, getAttributeHints, getAttributeHints, getAttributeIndexOf, getAttributeInternal, getAttributeNames, getAttributeValues, getAttrInvokeAccessor, getClientChangeIndicator, getCtrlHints, getDBTransaction, getEffectiveDate, getElementTagName, getEntities, getEntitiesInternal, getEntity, getEntityAttrForAttribute, getEntityCount, getEntityForAttribute, getEntityForListBinding, getExprVarVal, getHandle, getKey, getKeyForLogger, getListBindingCount, getListBindingRSI, getListBindings, getLookupDescription, getNewRowState, getOriginalAttributeValue, getOwningAccessorName, getParentVariableManager, getPostState, getPreferredListBindingRSI, getPrimaryEntityReference, getPrimaryPostState, getPrimaryRowState, getQueryCollection, getRowForBindVarExprEvalInternal, getRowHintsAttributeDef, getRowSet, getRowStorageInternal, getScriptOperations, getScriptRowOperations, getSelectedListDisplayValue, getSelectedListDisplayValues, getStringForLogger, getStructureDef, getViewAccessorDefsInternal, getViewDef, getViewLogicGroupDef, getViewObject, getXMLElementTag, handleListBindingMismatch, hasAttributeException, hasDeferredExceptions, hasExprVarVal, hasExtendedViewDef, hashCode, hasListBindings, initDefaults, internalGetCachedCalcAttributeValue, invokeRowFunction, invokeRowFunction, isAttributeChanged, isAttributeUpdateable, isDead, isOperationAllowed, isRefreshRequired, isSubclassRow, isViewAccessorAttribute, lock, lookupAttributeDef, markViewAccessorsDirty, matchesHierarchyDef, populate, populateAttribute, populateAttributeAsChanged, readAttributeFromXMLElement, readXML, refresh, refreshViewAccessor, registerAttributeException, remove, removeAndRetain, removeFromCollection, renderAttributeInXMLElement, renderAttributeInXMLElement, resetAttributeException, resetForwardAttributes, resetHintsSuffix, revert, revertRow, revertRowAndContainees, setAttribute, setAttributeValues, setAttributeValuesInternal, setAttrInvokeAccessor, setEffectiveDateMode, setEffectiveDateOnEntities, setEntities, setEntity, setNewRowState, setStateOnEntity, setThrowOnListBindingMismatch, shouldAddViewAccessorRSToRow, skipFilterListOnKeyAttributes, throwListBindingMismatchException, throwOnListBindingMismatch, toString, validate, writeAsXml, writeAsXml, writeXMLaddListBindingsForAttribute, clearAllExceptions, clearRowExceptions, createXMLDefinition, ensureVariableManager, findAttrAndGetIndex, forceFilterListExecute, getAllExceptions, getAttributeInternal, getAttributeSecurityHints, getAttributeSecurityHints, getCombinedAttrNames, getEffectiveDateMode, getExprMethodVal, getExprVarValType, getGlobalOperations, getHints, getMessageBundleClass, getMethodKind, getResourceBundleDef, getRowExceptions, getSecurityHints, getVariableManager, getViewAccessorResultIndex, hasAttributeException, hasVariables, invokeMethod, isRefreshRequired, isRefreshRequired, lookupListBinding, printXMLDefinition, readXML, refreshViewAccessor, refreshViewAccessor, registerRowException, setAttributeInternal, setExprVarVal, setInMultiSetter, variablesAdded, writeXML, writeXML, writeXMLclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetGlobalOperationsprotected java.lang.Object mDataProvider
protected transient java.lang.Object mSetAttrVal
protected transient int mSetAttrIndex
protected java.lang.Object createRowData(java.util.HashMap attrNameValueMap)
attrValues - - Name-Value Map of attributes whose values will be set on newly created row. This map also include
 the default values specified on ViewAttributesprotected java.lang.Object convertToSourceType(ViewAttributeDefImpl vad, java.lang.String sourceType, java.lang.Object val)
def - - AttributeDef whose value we are trying to convertcolumnType - - COLUMNTYPE for this attributevalue - - Value that we are trying to convertprotected java.lang.Object convertToAttributeType(AttributeDefImpl attrDef, java.lang.Class javaTypeClass, java.lang.Object val)
def - - AttributeDef whose value we are trying to convertjavaTypeClass - - javaType classvalue - - Value that we are trying to convert@Restricted protected void initDataProvider(java.lang.Object bean)
protected void create(AttributeList nvp)
ViewRowImpl
 This method invokes create(AttributeList) on each of the "new" entities
 that make up this View Row.
 
The attribute list nvp is simply passed to the new entity rows that make up this View Row.
Note: the names in the attribute list are not transformed into entity-relative names hoping that the caller has done so already. If not, the entity's create() method might fail.
create in class ViewRowImplnvp - the list of attributtes.public java.lang.Object getDataProvider()
@Concealed public final void dump()
protected java.lang.StringBuffer logCustomRowState()
@Concealed protected boolean isAttributeRSI(ViewAttributeDefImpl vad)
public void setAttribute(int index,
                         java.lang.Object val)
ViewRowImplThis method performs a type-check on the value, so that it matches the Java type of the attribute.
setAttribute in interface AttributeListsetAttribute in class ViewRowImplindex - the index of the attribute.val - the new value.protected void setAttributeInternal(int index,
                                    java.lang.Object val)
ViewRowImplThis 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.
setAttributeInternal in class ViewRowImplindex - The index of the attribute.val - The value.protected boolean updateDataProvider(java.lang.Object rowDataProvider,
                                     ViewAttributeDefImpl attrDef,
                                     java.lang.Object newValue)
rowDataProvider - - Object which represents this Row's dataattrDef - - AttributeDef whose value is going to updatenewValue - - NewValue for attrDefprotected java.lang.Object getAttributeInternal(int index)
ViewRowImpl
 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.
getAttributeInternal in class ViewRowImplindex - the index of the attribute.@Concealed protected java.lang.Object getAttributeInternalDelegation(int index)
public boolean equals(java.lang.Object other)
ViewRowImplequals in class ViewRowImplother - the object to which the ViewRowImpl should be compared.@Concealed protected void setTransientAttributeValueInternal(ViewAttributeDefImpl vad, java.lang.Object val)
@Concealed public void setTransientAttributeValue(ViewAttributeDefImpl vad, java.lang.Object val)
setTransientAttributeValue in class ViewRowImplprotected void copyFrom(ViewRowImpl other)
ViewRowImplcopyFrom in class ViewRowImpl