org.openorb.pss.connector.database
Interface PersistentObject


public interface PersistentObject

This interface provides default operation that an object type must implemented.

Author:
Jerome Daniel

Method Summary
 boolean checkForFlush()
          This operation checks if flush is possible
 void embeddedBuilder()
          This operation is used to create the embedded object
 void flushIncarnation()
          This operation is used to flush all data
 PID getPID()
          Return the persistent object PID
 void markAsEmbedded(PersistentObject container)
          Mark this persistent object as an embedded object
 void read(org.omg.CORBA.portable.InputStream[] input)
          Read persistent object states from an inputstream array
 void refreshIncarnation()
          This operation is used to refresh all data
 void setPersistentLinks(PID pid, StorageHomeBase home_base)
          Set the persistent link data
 void write(org.omg.CORBA.portable.OutputStream[] output)
          Write persistent object states into an outputstream array
 

Method Detail

setPersistentLinks

void setPersistentLinks(PID pid,
                        StorageHomeBase home_base)
Set the persistent link data


getPID

PID getPID()
Return the persistent object PID


markAsEmbedded

void markAsEmbedded(PersistentObject container)
Mark this persistent object as an embedded object


embeddedBuilder

void embeddedBuilder()
This operation is used to create the embedded object


write

void write(org.omg.CORBA.portable.OutputStream[] output)
Write persistent object states into an outputstream array


read

void read(org.omg.CORBA.portable.InputStream[] input)
Read persistent object states from an inputstream array


checkForFlush

boolean checkForFlush()
This operation checks if flush is possible


flushIncarnation

void flushIncarnation()
This operation is used to flush all data


refreshIncarnation

void refreshIncarnation()
This operation is used to refresh all data