01: /* OzoneCompatibleOrProxy.java
02: */
03:
04: package org.ozoneDB;
05:
06: import org.ozoneDB.core.ObjectID;
07:
08: /**
09: This interface marks classes which represent objects which represent {@link #OzoneObject}s, either
10: locally or remote.
11:
12: @author <A HREF="http://www.medium.net/">Medium.net</A>
13: */
14: public interface OzoneCompatibleOrProxy {
15:
16: /**
17: Returns the ObjectID of the represented ozone object. ObjectIDs are equal for equal
18: ozone objects and different for different ozone objects. They are comparable, so that
19: ozone objects may use {@link ObjectID#compareTo) in comparison functions.
20: <P>
21: Currently, ObjectID exposes other methods than {@link ObjectID#equals) and
22: {@link ObjectID#compareTo). However, they should not be used, as ObjectIDs should
23: be, apart from this methods, opaque.
24: </P>
25: */
26: public ObjectID getObjectID();
27: }
|