Mercurial > hg > Members > shoshi > TreeCMSv2
view src/treecms/api/NodeChildren.java @ 20:084de6909451
commit
author | shoshi |
---|---|
date | Wed, 01 Jun 2011 15:35:50 +0900 |
parents | 8bf59f161b23 |
children | fa784faafc78 |
line wrap: on
line source
package treecms.api; import java.util.List; import java.util.Set; public interface NodeChildren<T extends NodeContext & NodeChildren<T>> { public List<T> getList(); public boolean add(T _child); public boolean addAll(NodeChildren<T> _list); 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 T replace(T _new); public boolean contains(NodeID _id); public boolean swap(String _uuid,String _uuid2); public void clearChildren(); }