com.objectwave.transactionalSupport
Interface TransactionalObjectIF

All Known Subinterfaces:
Persistence, RDBPersistence
All Known Implementing Classes:
DomainObject, DomainObject, InvertEmployeePersistenceBase, InvertPersonPersistenceBase, PersistenceBase, RDBPersistentAdapter, TransactionalObjectAdapter

public interface TransactionalObjectIF

In order to be a transactional object it is necessary for this interface to be implemented.

Version:
1.1

Method Summary
 ObjectEditingView getObjectEditor()
          This method must ALWAYS return a value.
 boolean isDirty()
          Has this object changed?
 boolean isTransient()
           
 void setAsTransient(boolean value)
          A transient object does not maintain transactional information.
 void setObjectEditor(ObjectEditingView edit)
           
 void update(boolean get, java.lang.Object[] data, java.lang.reflect.Field[] fields)
          A back door method to allow updating instance variable values ignoring scope issues.
 

Method Detail

getObjectEditor

public ObjectEditingView getObjectEditor()
This method must ALWAYS return a value.


isDirty

public boolean isDirty()
Has this object changed?


isTransient

public boolean isTransient()

setAsTransient

public void setAsTransient(boolean value)
A transient object does not maintain transactional information. Any changes to a transient object are immediately made to that domain object. No rollback or commit functionality is available for a transient object.


setObjectEditor

public void setObjectEditor(ObjectEditingView edit)

update

public void update(boolean get,
                   java.lang.Object[] data,
                   java.lang.reflect.Field[] fields)
A back door method to allow updating instance variable values ignoring scope issues. This will no longer be needed in JDK 1.2