ozone API

org.ozoneDB
Interface OzoneCompatibleOrProxy

All Known Subinterfaces:
BLOBContainer, BLOBPage, OzoneCompatible, OzoneRemote
All Known Implementing Classes:
BLOBContainerImpl, BLOBContainerImpl_Proxy, BLOBPageImpl, BLOBPageImpl_Proxy, OzoneObject, OzoneProxy

public interface OzoneCompatibleOrProxy

This interface marks classes which represent objects which represent #OzoneObjects, 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 {@link ObjectID#compareTo) in comparison functions.

Currently, ObjectID exposes other methods than {@link ObjectID#equals) and {@link ObjectID#compareTo). However, they should not be used, as ObjectIDs should be, apart from this methods, opaque.


ozone API

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