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.
-
beginInput()
- Called by the persist manager before the object
is read from the persist storage and before any
call to 'aSlot.setValue()'
-
beginOutput()
- Called by the persist manager before the object
is written to the persist storage and before any
call to 'aSlot.getValue()'
-
classes()
- Gets the class definitions for this object.
-
createObject()
- Tell the definition manager to create an instance
of the object.
-
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.
-
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.
-
getChecksum()
- Return a checksum of the slots of the object.
-
getClassName()
- Gets the name of the class of the object as a String.
-
getObject()
- Returns the object created by this controller
-
setObject(Object)
- Set the object for which this definition manager
must provide access.
-
setPersistManager(PersistManager)
-
setPersistManager
public void setPersistManager(PersistManager p)
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()'
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.
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()'
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.
setObject
public void setObject(Object obj)
- Set the object for which this definition manager
must provide access.
createObject
public void createObject()
- Tell the definition manager to create an instance
of the object.
getObject
public Object getObject() throws Exception
- Returns the object created by this controller
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.
getClassName
public String getClassName()
- Gets the name of the class of the object as a String.
The classname is as returned by Class.getName().
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