Class JOP.persist.NativeObjectDefinition
All Packages  Class Hierarchy  This Package  Previous  Next  Index  Home

Class JOP.persist.NativeObjectDefinition

java.lang.Object
   |
   +----JOP.persist.NativeObjectDefinition

public class NativeObjectDefinition
extends Object
implements ObjectDefinition

This is an INTERNAL class.


Method Index

 o beginInput()
Called by the persist manager before the object is read from the persist storage and before any call to 'aSlot.setValue()'
 o beginOutput()
Called by the persist manager before the object is written to the persist storage and before any call to 'aSlot.getValue()'
 o classes()
Gets the class definitions for this object.
 o createObject()
Tell the definition manager to create an instance of the object.
 o endInput()
Called by the persist manager after the object has been read from the persist storage and after all calls to 'aSlot.setValue()' have been completed.
 o endOutput()
Called by the persist manager after the object has been written to the persist storage and after all calls to 'aSlot.getValue()' have been completed.
 o getChecksum()
Return a checksum of the slots of the object.
 o getClassName()
Gets the name of the class of the object as a String.
 o getObject()
Returns the object created by this controller
 o setObject(Object)
Set the object for which this definition manager must provide access.
 o setPersistManager(PersistManager)

Methods

 o setPersistManager
  public void setPersistManager(PersistManager p)
 o beginInput
  public void beginInput() throws Exception
Called by the persist manager before the object is read from the persist storage and before any call to 'aSlot.setValue()'
 o endInput
  public void endInput() throws Exception
Called by the persist manager after the object has been read from the persist storage and after all calls to 'aSlot.setValue()' have been completed.
 o beginOutput
  public void beginOutput() throws Exception
Called by the persist manager before the object is written to the persist storage and before any call to 'aSlot.getValue()'
 o endOutput
  public void endOutput()
Called by the persist manager after the object has been written to the persist storage and after all calls to 'aSlot.getValue()' have been completed.
 o setObject
  public void setObject(Object obj)
Set the object for which this definition manager must provide access.
 o createObject
  public void createObject()
Tell the definition manager to create an instance of the object.
 o getObject
  public Object getObject() throws Exception
Returns the object created by this controller
 o getChecksum
  public long getChecksum() throws Exception
Return a checksum of the slots of the object. This value is used by the PersistManager to determine whether the object has changed. Do not return 0.
 o getClassName
  public String getClassName()
Gets the name of the class of the object as a String. The classname is as returned by Class.getName().
 o classes
  public Enumeration classes()
Gets the class definitions for this object. The class defintiions include the current class and all of the super classes. Classnames must be returned in order from the current class, the current classes superclass, up to java.lang.Object.

All Packages  Class Hierarchy  This Package  Previous  Next  Index  Home