Mercurial > hg > Members > shoshi > TreeCMSv2
view src/treecms/api/NodeChildren.java @ 22:fa784faafc78
commit
author | shoshi |
---|---|
date | Tue, 07 Jun 2011 16:42:49 +0900 |
parents | 084de6909451 |
children |
line wrap: on
line source
package treecms.api; import java.util.List; import java.util.Set; public interface NodeChildren<T extends NodeContext & NodeAttributes & NodeChildren<T>> { public List<T> getList(); public T create(NodeAttributes _attr); public Set<String> getFamilyIDSet(); public T get(String _uuid); public T get(int _index); public T remove(String _uuid); public T remove(int _index); public boolean contains(NodeID _id); public boolean swap(String _uuid,String _uuid2); public void clearChildren(); }