Mercurial > hg > Members > shoshi > TreeCMSv2
view src/treecms/tree/id/AbstractRandomNodeID.java @ 27:aecc55e87143 default tip
test commit
author | Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 18 Aug 2011 17:37:03 +0900 |
parents | 084de6909451 |
children |
line wrap: on
line source
package treecms.tree.id; import treecms.api.NodeID; public abstract class AbstractRandomNodeID extends AbstractNodeID { public abstract NodeID create(); public abstract String getFamilyID(); public abstract String getVersion(); public abstract NodeID update(); public boolean isFamily(NodeID _id) { return (_id instanceof AbstractNodeID) ? getFamilyID().equals(_id.getFamilyID()) : false; } }