com.xerox.bantam.util
Class AbstractBackedObject
java.lang.Object
|
+--com.xerox.bantam.util.AbstractBackedObject
- All Implemented Interfaces:
- BackedObject
- public class AbstractBackedObject
- extends Object
- implements BackedObject
A basic implementation of BackedObject.
- Version:
- $Revision: 1.1 $, $Date: 2000/03/13 19:59:53 $
- Author:
- Tom Rodriguez
|
Field Summary |
protected Document |
doc
The document that contains the state for this object |
protected FieldMapping[] |
fieldMappings
The mapping between properties and fields of this object
for use by restore and checkpoint. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doc
protected final Document doc
- The document that contains the state for this object
fieldMappings
protected final FieldMapping[] fieldMappings
- The mapping between properties and fields of this object
for use by restore and checkpoint.
AbstractBackedObject
protected AbstractBackedObject(Document d)
getBackingDocument
public Document getBackingDocument()
- Specified by:
getBackingDocument in interface BackedObject
restore
public void restore()
- Specified by:
restore in interface BackedObject
initialize
protected void initialize(Class c)
checkpoint
public void checkpoint()
- Specified by:
checkpoint in interface BackedObject