org.openorb.pss.connector.file
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 a storage type from a persistent stream
 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 a storage type into a persistent stream
 

Method Detail

setPersistentLinks

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


getPID

PID getPID()
Return the persistent object PID


write

void write(org.omg.CORBA.portable.OutputStream output)
Write a storage type into a persistent stream


read

void read(org.omg.CORBA.portable.InputStream input)
Read a storage type from a persistent stream


markAsEmbedded

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


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


embeddedBuilder

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