Mercurial > hg > Members > shoshi > TreeCMSv2
view src/treecms/tree/id/AbstractRandomNodeID.java @ 20:084de6909451
commit
author | shoshi |
---|---|
date | Wed, 01 Jun 2011 15:35:50 +0900 |
parents | 12604eb6b615 |
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; } }