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_TAG
PROPERTY_SERVICE_RESOURCE_CONTAINER_PATH
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
RESERVED_VAR_VALUE
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_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
XML_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 |
---|---|
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() |
void |
initDataProvider(java.lang.Object bean) |
protected boolean |
isAttributeRSI(ViewAttributeDefImpl vad) |
void |
populateAttribute(int index,
java.lang.Object val)
Populates the attribute at the given index with the given attribute value.
|
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) |
_internal_dbg_debug_data, appendXMLElementNodes, appendXMLElementNodes, checkConsistency, checkForOuterJoins, clearAttributeException, clearAttributeException, clearViewAccessorResultsRecursively, copyFrom, create, createEntities, createListBinding, createMissingEntitiesFromViewDef, createViewAccessorRS, createViewAccessorRS, createViewRowAttrHints, doAllowsOperation, doAutoClearAttribute, entityCacheAdd, evaluateLovFinderExpressionInternal, 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, getEntitiesInternal, getEntity, getEntityAttrForAttribute, getEntityCount, getEntityForAttribute, getEntityForListBinding, getExprVarVal, getHandle, getKey, getKeyForLogger, getListBindingCount, getListBindingRSI, getListBindings, getLookupDescription, getNewRowState, getOriginalAttributeValue, getOwningAccessorName, getParentVariableManager, getPostState, getPreferredListBindingRSI, getPrimaryEntityReference, getPrimaryPostState, getPrimaryRowState, getQueryCollection, getRowHintsAttributeDef, getRowOperationsScript, getRowSet, getRowStorageInternal, getSelectedListDisplayValue, getSelectedListDisplayValues, getStringForLogger, getStructureDef, getViewAccessorDefsInternal, getViewDef, getViewLogicGroupDef, getViewObject, getXMLElementTag, handleListBindingMismatch, hasAttributeException, hasDeferredExceptions, hasExtendedViewDef, hashCode, hasListBindings, initDefaults, internalGetCachedCalcAttributeValue, invokeMethod, isAttributeChanged, isAttributeUpdateable, isDead, isRefreshRequired, isSubclassRow, isViewAccessorAttribute, lock, lookupAttributeDef, markViewAccessorsDirty, populate, populateAttributeAsChanged, readAttributeFromXMLElement, readXML, refresh, refreshViewAccessor, registerAttributeException, remove, removeAndRetain, removeFromCollection, renderAttributeInXMLElement, renderAttributeInXMLElement, resetForwardAttributes, revert, revertRow, revertRowAndContainees, setAttribute, setAttributeValues, setAttrInvokeAccessor, setEffectiveDateMode, setEffectiveDateOnEntities, setEntities, setEntity, setNewRowState, setStateOnEntity, shouldAddViewAccessorRSToRow, throwOnListBindingMismatch, toString, validate, writeAsXml, writeAsXml, writeXML
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, isRefreshRequired, isRefreshRequired, lookupListBinding, printXMLDefinition, readXML, refreshViewAccessor, refreshViewAccessor, registerRowException, setAttributeInternal, setExprVarVal, setInMultiSetter, skipFilterListOnKeyAttributes, variablesAdded, writeXML, writeXML, writeXML
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getGlobalScript
protected java.lang.Object mDataProvider
protected transient java.lang.Object mSetAttrVal
protected transient int mSetAttrIndex
public void initDataProvider(java.lang.Object bean)
public java.lang.Object getDataProvider()
public void dump()
public void populateAttribute(int index, java.lang.Object val)
RowImpl
populateAttribute
in class ViewRowImpl
index
- an attribute position.val
- the value to be assigned to the attribute.protected boolean isAttributeRSI(ViewAttributeDefImpl vad)
public void setAttribute(int index, java.lang.Object val)
ViewRowImpl
This method performs a type-check on the value, so that it matches the Java type of the attribute.
setAttribute
in interface AttributeList
setAttribute
in class ViewRowImpl
index
- the index of the attribute.val
- the new value.protected void setAttributeInternal(int index, java.lang.Object val)
ViewRowImpl
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.
setAttributeInternal
in class ViewRowImpl
index
- The index of the attribute.val
- The value.protected 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 ViewRowImpl
index
- the index of the attribute.protected java.lang.Object getAttributeInternalDelegation(int index)
public boolean equals(java.lang.Object other)
ViewRowImpl
equals
in class ViewRowImpl
other
- the object to which the ViewRowImpl should be compared.protected void setTransientAttributeValueInternal(ViewAttributeDefImpl vad, java.lang.Object val)
public void setTransientAttributeValue(ViewAttributeDefImpl vad, java.lang.Object val)
setTransientAttributeValue
in class ViewRowImpl