|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
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.adf.model.bean.DCDataRow
public class DCDataRow
Field Summary |
---|
Fields inherited from class oracle.jbo.server.ViewRowImpl |
---|
CURRENT_VERSION, ORIGINAL_VERSION, XML_POSTSTATE_REMOVE, XML_POSTSTATE_TAG |
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 |
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 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. |
void |
dump()
|
boolean |
equals(java.lang.Object other)
Tests if the specified value is equal to this ViewRowImpl object. |
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 |
getDataProvider()
|
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 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. |
void |
removeAndRetain()
Removes the row from the collection and then retain it for insertion into another location. |
void |
removeFromCollection()
Removes the row from the collection. |
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 |
setExprVarVal(java.lang.String varName,
java.lang.Object val)
|
void |
setNewRowState(byte state)
void setIterator(ViewRowSetIteratorImpl rsi) { mRSI = rsi; } public ViewRowSetIteratorImpl getIterator() { return mRSI; } |
void |
setTransientAttributeValue(ViewAttributeDefImpl vad,
java.lang.Object val)
Deprecated. |
protected boolean |
shouldAddViewAccessorRSToRow()
Internal: Applications should not use this method. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DCDataRow()
Method Detail |
---|
public java.lang.Object getDataProvider()
public void dump()
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.public Key getKey()
ViewRowImpl
getKey
in interface Row
getKey
in class ViewRowImpl
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 java.lang.String findListBindingName(java.lang.String attrName, java.lang.String lbName)
RowImpl
findListBindingName
in class ViewRowImpl
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.public void setTransientAttributeValue(ViewAttributeDefImpl vad, java.lang.Object val)
setTransientAttributeValue
in class ViewRowImpl
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 removeFromCollection()
Row
This method differs from
in that
it just removes the row from the collection. It does not
remove the underlying Entity row(s) or database row(s).
However, once the row is removed, it cannot be used any more.
If you want to remove the row from the collection and insert it elsewhere,
call Row.remove()
.
Row.removeAndRetain()
removeFromCollection
in interface Row
removeFromCollection
in class ViewRowImpl
public void removeAndRetain()
Row
This method differs from
in that
it just removes the row from the collection. It does not
remove the underlying Entity row(s) or database row(s).
Row.remove()
This method also differs from
in that after the row is removed from the collection, it can be inserted
back into the collection at another location.
Row.removeFromCollection()
removeAndRetain
in interface Row
removeAndRetain
in class ViewRowImpl
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 ViewRowImpl
index
- the index of the attribute.
protected void copyFrom(ViewRowImpl other)
ViewRowImpl
copyFrom
in class ViewRowImpl
public void setNewRowState(byte state)
ViewRowImpl
setNewRowState
in interface Row
setNewRowState
in class ViewRowImpl
state
- This could be STATUS_NEW or STATUS_INITIALIZED.public boolean equals(java.lang.Object other)
ViewRowImpl
equals
in class ViewRowImpl
other
- the object to which the ViewRowImpl should be compared.
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 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.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |