comparison src/treecms/tree/id/AbstractRandomNodeID.java @ 6:12604eb6b615

added javadoc
author shoshi
date Mon, 14 Mar 2011 23:24:38 +0900
parents
children 084de6909451
comparison
equal deleted inserted replaced
5:87bba22e4fa2 6:12604eb6b615
1 package treecms.tree.id;
2
3 import treecms.api.NodeID;
4
5 public abstract class AbstractRandomNodeID extends AbstractNodeID
6 {
7 public abstract NodeID create();
8 public abstract String getUUID();
9 public abstract String getVersion();
10 public abstract NodeID update();
11
12 public boolean isFamily(NodeID _id)
13 {
14 return (_id instanceof AbstractNodeID) ? getUUID().equals(_id.getUUID()) : false;
15 }
16 }