|
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 ProgrammaticViewRowImpl
public Key getKey()
ViewRowImpl
getKey
in interface Row
getKey
in class ViewRowImpl
protected final boolean isAttributeRSI(ViewAttributeDefImpl vad)
isAttributeRSI
in class ProgrammaticViewRowImpl
protected java.lang.String findListBindingName(java.lang.String attrName, java.lang.String lbName)
RowImpl
findListBindingName
in class ViewRowImpl
protected 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 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 ProgrammaticViewRowImpl
index
- The index of the attribute.val
- The value.protected final void setTransientAttributeValueInternal(ViewAttributeDefImpl vad, java.lang.Object val)
setTransientAttributeValueInternal
in class ProgrammaticViewRowImpl
public void remove()
ViewRowImpl
remove
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 Row
remove
in class ViewRowImpl
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 ViewRowImpl
nvp
- the list of attributtes.public void lock()
ViewRowImpl
lock
in interface Row
lock
in class ViewRowImpl
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 ProgrammaticViewRowImpl
index
- the index of the attribute.public void setNewRowState(byte state)
ViewRowImpl
setNewRowState
in interface Row
setNewRowState
in class ViewRowImpl
state
- This could be STATUS_NEW or STATUS_INITIALIZED.public java.lang.Object getExprVarVal(java.lang.String varName)
getExprVarVal
in interface ExprValueSupplier
getExprVarVal
in class ViewRowImpl
public void setExprVarVal(java.lang.String varName, java.lang.Object val)
setExprVarVal
in interface ExprValueSupplier
setExprVarVal
in class RowImpl
protected ApplicationModule getApplicationModuleForViewAccessor()
ViewRowImpl
getApplicationModuleForViewAccessor
in class ViewRowImpl
public ViewAccessorDef findViewAccessorDef(java.lang.String name)
ViewAccessorDef
with the specified name.findViewAccessorDef
in class ViewRowImpl
name
- The name of the ViewAccessorDef
.ViewAccessorDef
protected RowSet createViewAccessorRS(ViewAccessorDef va)
createViewAccessorRS
in class ViewRowImpl
protected ViewRowAttrHintsImpl createViewRowAttrHints(AttributeDefImpl attrDef)
ViewRowImpl
createViewRowAttrHints
in class ViewRowImpl
attrDef
- The attribute defintion for which the hints need to be created.public AttributeDef lookupAttributeDef(java.lang.String attrName)
ViewRowImpl
lookupAttributeDef
in interface InternalViewRowInterface
lookupAttributeDef
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)
RowImpl
addListBindingsForAttribute
in class RowImpl
protected boolean shouldAddViewAccessorRSToRow()
ViewRowImpl
shouldAddViewAccessorRSToRow
in class ViewRowImpl
protected RowSetIterator findListBindingRSI(java.lang.String attrName, java.lang.String lbName, java.lang.String prefCrName)
ViewRowImpl
findListBindingRSI
in class ViewRowImpl
protected RowSetIterator getListBindingRSI(ListBindingDef def)
ViewRowImpl
getListBindingRSI
in class ViewRowImpl
protected boolean isRefreshRequired(ViewAccessorDef va, java.lang.String[] attrNames, java.lang.Object[] attrValues, RowSet rs)
isRefreshRequired
in class ViewRowImpl
protected int getViewAccessorResultIndex(ViewAccessorDef va)
RowImpl
getViewAccessorResultIndex
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 |