|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.jbo.server.RowImpl
oracle.jbo.server.ViewRowImpl
oracle.jbo.server.ProgrammaticViewRowImpl
oracle.adf.model.bean.DCDataRow
public class DCDataRow
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.jbo.server.ViewRowImpl |
|---|
ViewRowImpl.PostState, ViewRowImpl.RowState |
| Field Summary |
|---|
| Fields inherited from class oracle.jbo.server.ProgrammaticViewRowImpl |
|---|
mDataProvider, mSetAttrIndex, 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.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 | |
|---|---|
DCDataRow() |
|
| Method Summary | |
|---|---|
protected void |
addListBindingsForAttribute(java.util.List lbs, java.util.List attrNames, java.lang.String attrName, java.util.ArrayList derivedNames, java.util.ArrayList al)Internal: Applications should not use this method. |
protected void |
create(AttributeList nvp)Initialization method to be over-ridden in generated code for custom defaulting. |
protected RowSet |
createViewAccessorRS(ViewAccessorDef va)Internal: Applications should not use this method. |
protected ViewRowAttrHintsImpl |
createViewRowAttrHints(AttributeDefImpl attrDef)Create a map to store attribute hints for this row. |
protected java.lang.String |
findListBindingName(java.lang.String attrName, java.lang.String lbName)Internal: Applications should not use this method. |
protected RowSetIterator |
findListBindingRSI(java.lang.String attrName, java.lang.String lbName, java.lang.String prefCrName)Internal: Applications should not use this method. |
ViewAccessorDef |
findViewAccessorDef(java.lang.String name)This method returns ViewAccessorDef with the specified name. |
protected ApplicationModule |
getApplicationModuleForViewAccessor()Internal: Applications should not use this method. |
protected java.lang.Object |
getAttributeInternal(int index)Gets the value of the attribute by index. |
java.lang.Object |
getExprVarVal(java.lang.String varName) |
Key |
getKey()Returns the identifier object for this row. |
protected RowSetIterator |
getListBindingRSI(ListBindingDef def)Internal: Applications should not use this method. |
protected int |
getViewAccessorResultIndex(ViewAccessorDef va)Return the index at which the view accessor rowset needs to be stored. |
protected void |
initDataProvider(java.lang.Object bean) |
protected boolean |
isAttributeRSI(ViewAttributeDefImpl vad) |
protected boolean |
isRefreshRequired(ViewAccessorDef va, java.lang.String[] attrNames, java.lang.Object[] attrValues, RowSet rs) |
void |
lock()Locks the referenced Entity Rows. |
AttributeDef |
lookupAttributeDef(java.lang.String attrName)final void setViewDef(ViewDefImpl vDef) { try { useInner(); mInner.setViewDef(vDef); } finally { releaseInner(); } } |
protected void |
populateAttribute(int index, java.lang.Object val)Populates the attribute at the given index with the given attribute value. |
void |
remove()Deletes the row. |
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 |
setExprVarVal(java.lang.String varName, java.lang.Object val) |
void |
setNewRowState(byte state)void setIterator(ViewRowSetIteratorImpl rsi) { mRSI = rsi; } public ViewRowSetIteratorImpl getIterator() { return mRSI; } |
protected void |
setTransientAttributeValueInternal(ViewAttributeDefImpl vad, java.lang.Object val) |
protected boolean |
shouldAddViewAccessorRSToRow()Internal: Applications should not use this method. |
| Methods inherited from class oracle.jbo.server.ProgrammaticViewRowImpl |
|---|
copyFrom, dump, equals, getAttributeInternalDelegation, getDataProvider, logCustomRowState, setAttribute, setTransientAttributeValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DCDataRow()
| Method Detail |
|---|
protected void initDataProvider(java.lang.Object bean)
initDataProvider in class ProgrammaticViewRowImplpublic Key getKey()
ViewRowImplgetKey in interface RowgetKey in class ViewRowImplprotected final boolean isAttributeRSI(ViewAttributeDefImpl vad)
isAttributeRSI in class ProgrammaticViewRowImpl
protected java.lang.String findListBindingName(java.lang.String attrName,
java.lang.String lbName)
RowImplfindListBindingName in class ViewRowImpl
protected void populateAttribute(int index,
java.lang.Object val)
RowImplpopulateAttribute in class ViewRowImplindex - an attribute position.val - the value to be assigned to the attribute.
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 ProgrammaticViewRowImplindex - The index of the attribute.val - The value.
protected final void setTransientAttributeValueInternal(ViewAttributeDefImpl vad,
java.lang.Object val)
setTransientAttributeValueInternal in class ProgrammaticViewRowImplpublic void remove()
ViewRowImplremove on the updateable Entity Rows that are referenced by this View Object Row. After the referenced, updateable entity rows have been removed this method will remove the View Object Row from the View Object's RowSet.remove in interface Rowremove in class ViewRowImplprotected void create(AttributeList nvp)
ViewRowImplThis 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 void lock()
ViewRowImpllock in interface Rowlock in class ViewRowImplprotected java.lang.Object getAttributeInternal(int index)
ViewRowImplNote 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 ProgrammaticViewRowImplindex - the index of the attribute.public void setNewRowState(byte state)
ViewRowImplsetNewRowState in interface RowsetNewRowState in class ViewRowImplstate - This could be STATUS_NEW or STATUS_INITIALIZED.public java.lang.Object getExprVarVal(java.lang.String varName)
getExprVarVal in interface ExprValueSuppliergetExprVarVal in class ViewRowImpl
public void setExprVarVal(java.lang.String varName,
java.lang.Object val)
setExprVarVal in interface ExprValueSuppliersetExprVarVal in class RowImplprotected ApplicationModule getApplicationModuleForViewAccessor()
ViewRowImplgetApplicationModuleForViewAccessor in class ViewRowImplpublic ViewAccessorDef findViewAccessorDef(java.lang.String name)
ViewAccessorDef with the specified name.findViewAccessorDef in class ViewRowImplname - The name of the ViewAccessorDef.ViewAccessorDefprotected RowSet createViewAccessorRS(ViewAccessorDef va)
createViewAccessorRS in class ViewRowImplprotected ViewRowAttrHintsImpl createViewRowAttrHints(AttributeDefImpl attrDef)
ViewRowImplcreateViewRowAttrHints in class ViewRowImplattrDef - The attribute defintion for which the hints need to be created.public AttributeDef lookupAttributeDef(java.lang.String attrName)
ViewRowImpllookupAttributeDef in interface InternalViewRowInterfacelookupAttributeDef in class ViewRowImpl
protected void addListBindingsForAttribute(java.util.List lbs,
java.util.List attrNames,
java.lang.String attrName,
java.util.ArrayList derivedNames,
java.util.ArrayList al)
RowImpladdListBindingsForAttribute in class RowImplprotected boolean shouldAddViewAccessorRSToRow()
ViewRowImplshouldAddViewAccessorRSToRow in class ViewRowImpl
protected RowSetIterator findListBindingRSI(java.lang.String attrName,
java.lang.String lbName,
java.lang.String prefCrName)
ViewRowImplfindListBindingRSI in class ViewRowImplprotected RowSetIterator getListBindingRSI(ListBindingDef def)
ViewRowImplgetListBindingRSI in class ViewRowImpl
protected boolean isRefreshRequired(ViewAccessorDef va,
java.lang.String[] attrNames,
java.lang.Object[] attrValues,
RowSet rs)
isRefreshRequired in class ViewRowImplprotected int getViewAccessorResultIndex(ViewAccessorDef va)
RowImplgetViewAccessorResultIndex in class RowImpl
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||