|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.transactionalSupport.NoFieldObjectModified
The details of a change to a particular object. Every change will create an NoFieldObjectModified object. There will be only one NoFieldObjectModified instance per attribute per transaction. Only 1 thread will be calling get and set with this class.
Nested Class Summary | |
static class |
NoFieldObjectModified.Test
|
Constructor Summary | |
protected |
NoFieldObjectModified()
|
Method Summary | |
protected void |
clean()
|
void |
commit(boolean force)
Place the new value into the domain object. |
java.lang.Object |
currentValue()
|
protected void |
initObjectModified(NoFieldObjectEditor backReference,
int adapt,
TransactionalObjectIF theInstance,
java.lang.Object newVal,
java.lang.Object old,
java.lang.Class adapterType)
Set the changed values. |
boolean |
isCollection()
Is this field representing an Array, Hashtable, or a Vector? |
java.lang.Object |
originalValue()
|
boolean |
returnThis()
A workaround for a small problem |
void |
rollback()
Change the domain object to contain the 'old' value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected NoFieldObjectModified()
Method Detail |
public boolean isCollection()
isCollection
in interface ObjectChangeRequest
public boolean returnThis()
protected void clean()
protected void initObjectModified(NoFieldObjectEditor backReference, int adapt, TransactionalObjectIF theInstance, java.lang.Object newVal, java.lang.Object old, java.lang.Class adapterType)
backReference
- adapt
- theInstance
- newVal
- old
- adapterType
- public void commit(boolean force) throws UpdateException
commit
in interface ObjectChangeRequest
force
- Override the default behavior of checking if the object has changed.
UpdateException
public java.lang.Object currentValue()
currentValue
in interface ObjectChangeRequest
public java.lang.Object originalValue()
originalValue
in interface ObjectChangeRequest
public void rollback()
rollback
in interface ObjectChangeRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |