01: package com.completex.objective.components.persistency.io;
02:
03: import java.io.ObjectOutput;
04:
05: /**
06: * ObjectOutput for Persistent Objects
07: *
08: * @author Gennady Krizhevsky
09: */
10: public interface PoObjectOutput extends ObjectOutput {
11: /**
12: * Return true if persistent object origianl values are to be preserved
13: *
14: * @return true if persistent object origianl values are to be preserved
15: */
16: boolean isPreserveOriginalValues();
17:
18: /**
19: * Set true if persistent object origianl values are to be preserved
20: *
21: * @param preserveOriginalValues set true if persistent object origianl values are to be preserved
22: */
23: void setPreserveOriginalValues(boolean preserveOriginalValues);
24: }
|