com.objectwave.transactionalSupport
Class ExampleObject

java.lang.Object
  |
  +--com.objectwave.transactionalSupport.TransactionalObjectAdapter
        |
        +--com.objectwave.transactionalSupport.ExampleObject
All Implemented Interfaces:
TransactionalObjectIF

public class ExampleObject
extends TransactionalObjectAdapter

An example of a persistent business object that extends from TransactionalObjectAdapter.


Field Summary
 
Fields inherited from class com.objectwave.transactionalSupport.TransactionalObjectAdapter
editor
 
Constructor Summary
ExampleObject()
           
 
Method Summary
 long getALong()
          Generated accessors that route get and set methods through our ObjectEditor.
 java.lang.String getEmailAddress()
          Generated accessors that route get and set methods through our ObjectEditor.
 java.lang.String getTitle()
          Generated accessors that route get and set methods through our ObjectEditor.
static void main(java.lang.String[] args)
           
 void setALong(long aValue)
          Generated accessors that route get and set methods through our ObjectEditor.
 void setEmailAddress(java.lang.String aValue)
          Generated accessors that route get and set methods through our ObjectEditor.
 void setTitle(java.lang.String aValue)
          Generated accessors that route get and set methods through our ObjectEditor.
 void update(boolean get, java.lang.Object[] data, java.lang.reflect.Field[] fields)
          This method allows me to get arounds security problems with updating and object from a generic framework.
 
Methods inherited from class com.objectwave.transactionalSupport.TransactionalObjectAdapter
getObjectEditor, initializeObjectEditor, isDirty, isTransient, setAsTransient, setObjectEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleObject

public ExampleObject()
Method Detail

getEmailAddress

public java.lang.String getEmailAddress()
Generated accessors that route get and set methods through our ObjectEditor.


getALong

public long getALong()
Generated accessors that route get and set methods through our ObjectEditor.


setALong

public void setALong(long aValue)
Generated accessors that route get and set methods through our ObjectEditor.


getTitle

public java.lang.String getTitle()
Generated accessors that route get and set methods through our ObjectEditor.


setEmailAddress

public void setEmailAddress(java.lang.String aValue)
Generated accessors that route get and set methods through our ObjectEditor.


setTitle

public void setTitle(java.lang.String aValue)
Generated accessors that route get and set methods through our ObjectEditor.


update

public void update(boolean get,
                   java.lang.Object[] data,
                   java.lang.reflect.Field[] fields)
This method allows me to get arounds security problems with updating and object from a generic framework. This will change with the JDK1.2 version.

Specified by:
update in interface TransactionalObjectIF
Overrides:
update in class TransactionalObjectAdapter

main

public static void main(java.lang.String[] args)