| |
|
| java.io.ObjectOutputStream org.cougaar.core.persist.PersistenceOutputStream
getBytes | public byte[] getBytes()(Code) | | |
getIdentityTable | public IdentityTable getIdentityTable()(Code) | | Get the IdentityTable being used by this stream. This is not
normally used since the IdentityTable is usually maintained by
the creator of this stream.
the IdentityTable being used by this stream. |
replaceObject | protected Object replaceObject(Object o)(Code) | | Replace objects that are in the identityTable with reference
objects. This operation is suppressed for objects that have
changed and actually need to be written.
Parameters: o - the object to consider for replacement. the replacement object. |
setIdentityTable | public void setIdentityTable(IdentityTable identityTable)(Code) | | Set the IdentityTable to be used by this stream. The
IdentityTable contains assocations of objects to earlier
persistence deltas. References to these earlier objects are
replaced with reference objects to save space.
Parameters: identityTable - the new IdentityTable to use. |
writeAssociation | public PersistenceReference[] writeAssociation(PersistenceAssociation pAssoc) throws IOException(Code) | | Write a plan object from a PersistenceAssociation.
Parameters: pAssoc - the PersistenceAssocation having the object to save. an array of the PersistenceReferences of the objects thatwere actually saved. This typically includes the objects that arereferenced by the object being saved (and the objects theyreference, etc.). |
|
|
|