first cut of merge of STABLE-pre1_0 into HEAD. I won't even guarantee that it
[mir.git] / source / mir / storage / store / StorableObject.java
1 package mir.storage.store;
2
3 /**
4  * Title:         Interface StorableObject
5  * Description:   Interface all Objects need to implement to be storable in the
6  *                ObjectStore.
7  * Copyright:     Copyright (c) 2002
8  * Company:       indy
9  * @author        rk
10  * @version 1.0
11  */
12
13 import java.util.*;
14
15 public interface StorableObject {
16
17   /**
18    *  Method getStoreIdentifier() forces StorableObjects to return a StoreIdentifier.
19    *  if an Object implements this, it can be stored in ObjectStore. The ObjectStore.
20    *  @see StoreIdentifier for a description of values needed for implementing
21    *  getStoreIdentifier()
22    *
23    *  @return StoreIdentifier
24    *
25    */
26   abstract  StoreIdentifier getStoreIdentifier();
27
28   /**
29    *  Method:       notifyOnReleaseSet()
30    *  Description:  Contains a Set of @see StoreIdentifier which are invalidated
31    *                on update/insert/delete of this StorableObject.
32    *
33    *  @return       Set of StoreIdentifier.
34    */
35   abstract  Set getNotifyOnReleaseSet();
36
37 }