ozone API

org.ozoneDB
Interface OzoneCompatibleOrProxy

All Known Subinterfaces:
OzoneCompatible, OzoneRemote
All Known Implementing Classes:
OzoneObject, OzoneProxy

public interface OzoneCompatibleOrProxy

This interface marks classes which represent an OzoneObject, either locally or remote.

Author:
Medium.net

Method Summary
 org.ozoneDB.core.ObjectID getObjectID()
          Returns the ObjectID of the represented ozone object.
 

Method Detail

getObjectID

public org.ozoneDB.core.ObjectID getObjectID()
Returns the ObjectID of the represented ozone object. ObjectIDs are equal for equal ozone objects and different for different ozone objects. They are comparable, so that ozone objects may use ObjectID.compareTo(Object) in comparison functions.

Currently, ObjectID exposes other methods than ObjectID.equals(Object) and ObjectID.compareTo(Object). However, they should not be used, as ObjectIDs should be, apart from this method, opaque.

Returns:
the ObjectID of the represented ozone object

ozone API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.