|
Business Components | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--oracle.jbo.common.BaseObject
|
+--oracle.jbo.server.RowImpl
Provides the internal access mechanism for
ViewRow and Entity row objects.
ViewRowImpl,
Entity| Fields inherited from class oracle.jbo.common.BaseObject |
TRACE_EVERY_ALLOC,
TRACE_NONE,
TRACE_OCCASIONAL,
TRACE_UNINITIALIZED |
| Constructor Summary | |
RowImpl()
|
|
| Method Summary | |
protected abstract void |
create(AttributeList nameValuePair)
This method is called to let subclasses of RowImpl to set programmatic default values for attributes. |
abstract int |
getAttributeCount()
Counts the attributes in this row. |
abstract int |
getAttributeIndexOf(java.lang.String name)
Finds the index of a named attribute. |
protected abstract java.lang.Object |
getAttributeInternal(int index)
Gets the the attribute value by index. |
protected java.lang.Object |
getAttributeInternal(java.lang.String name)
Gets the attribute value by name. |
abstract Key |
getKey()
Gets the identifier object for this row. |
abstract boolean |
isAttributeUpdateable(int index)
Tests if an attribute is updateable. |
abstract void |
lock()
Locks the row object and the corresponding row in the database. |
protected abstract void |
populateAttribute(int index,
java.lang.Object value)
|
abstract void |
remove()
Marks the row as removed and removes it from row iterators. |
protected abstract void |
setAttributeInternal(int index,
java.lang.Object value)
Sets the attribute value by index after performing declarative attribute-level validations. |
protected void |
setAttributeInternal(java.lang.String name,
java.lang.Object value)
Sets the attribute value by name. |
abstract void |
validate()
Invokes the validate method for the validators
attached to this business object. |
| Methods inherited from class oracle.jbo.common.BaseObject |
dumpState,
setTraceLevel,
setTraceWriter |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public RowImpl()
| Method Detail |
protected abstract void create(AttributeList nameValuePair)
super.create should be called
to let the framework setup initial states on the row.protected abstract java.lang.Object getAttributeInternal(int index)
index - attribute indexprotected final java.lang.Object getAttributeInternal(java.lang.String name)
name - attribute name
protected abstract void setAttributeInternal(int index,
java.lang.Object value)
This method is used by code-gen facility in accessors for entity attributes.
index - attribute indexvalue - attribute value
protected final void setAttributeInternal(java.lang.String name,
java.lang.Object value)
This method is used by code-gen facility in accessors for viewrow attributes.
name - column name.value - column data.public abstract void lock()
JboException, - a runtime exception,
if an exception occurs during access.public abstract int getAttributeCount()
public abstract int getAttributeIndexOf(java.lang.String name)
an - attribute name.
protected abstract void populateAttribute(int index,
java.lang.Object value)
public abstract boolean isAttributeUpdateable(int index)
index - the index of the attribute.public abstract Key getKey()
public abstract void validate()
validate method for the validators
attached to this business object.JboException, - a runtime exception,
if the recipient wishes the property change to be rolled back.public abstract void remove()
JboException, - a runtime exception,
if an exception occurs during access.
|
Business Components | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||