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

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

getPID

public PID getPID()
Return the persistent object PID

write

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

read

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

markAsEmbedded

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

checkForFlush

public boolean checkForFlush()
This operation checks if flush is possible

flushIncarnation

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

refreshIncarnation

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

embeddedBuilder

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