diff src/org/dancres/blitz/oid/OID.java @ 0:3dc0c5604566

Initial checkin of blitz 2.0 fcs - no installer yet.
author Dan Creswell <dan.creswell@gmail.com>
date Sat, 21 Mar 2009 11:00:06 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/dancres/blitz/oid/OID.java	Sat Mar 21 11:00:06 2009 +0000
@@ -0,0 +1,17 @@
+package org.dancres.blitz.oid;
+
+import java.io.Serializable;
+
+import org.dancres.blitz.cache.Identifier;
+
+/**
+   Opaque identifier for a particular entry within an EntryRepository instance.
+   This class understands how a zone id and oid map to an on-disk
+   representation.  No other class needs this information it can use methods
+   provided here.
+*/
+public interface OID extends Serializable, Identifier {
+    public int getZoneId();
+
+    public long getId();
+}