|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.4.0) E17483-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.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. |
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. |
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 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. |
| 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 ViewRowImplindex - an attribute position.val - the value to be assigned to the attribute.public Key getKey()
ViewRowImpl
getKey in interface RowgetKey in class ViewRowImpl
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 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)
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.
public void setTransientAttributeValue(ViewAttributeDefImpl vad,
java.lang.Object val)
setTransientAttributeValue in class ViewRowImplpublic 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)
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 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 RowremoveFromCollection in class ViewRowImplpublic 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 RowremoveAndRetain in class ViewRowImplpublic void lock()
ViewRowImpl
lock in interface Rowlock in class ViewRowImplprotected 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.
protected void copyFrom(ViewRowImpl other)
ViewRowImpl
copyFrom in class ViewRowImplpublic void setNewRowState(byte state)
ViewRowImpl
setNewRowState in interface RowsetNewRowState in class ViewRowImplstate - This could be STATUS_NEW or STATUS_INITIALIZED.public boolean equals(java.lang.Object other)
ViewRowImpl
equals in class ViewRowImplother - the object to which the ViewRowImpl should be compared.
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()
ViewRowImpl
getApplicationModuleForViewAccessor 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 ViewRowImplpublic 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 isRefreshRequired(ViewAccessorDef va,
java.lang.String[] attrNames,
java.lang.Object[] attrValues,
RowSet rs)
isRefreshRequired in class ViewRowImpl
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.4.0) E17483-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||