Mercurial > hg > Members > shoshi > TreeCMSv2
view src/treecms/api/NodeChildren.java @ 14:8bf59f161b23
separete Node methods to NodeContext , NodeAttribute , NodeChildren
author | misaka |
---|---|
date | Tue, 17 May 2011 18:44:14 +0900 |
parents | |
children | 084de6909451 |
line wrap: on
line source
package treecms.api; import java.util.List; import java.util.Set; public interface NodeChildren<T extends Node<T>> { public List<T> getList(); public Set<String> getUUIDSet(); public boolean add(T _child); public boolean addAll(NodeChildren<T> _children); public T get(String _uuid); public T get(int _index); public T remove(String _uuid); public T remove(int _index); public T replace(T _newChild); public boolean contains(String _id); public boolean swap(String _uuid1,String _uuid2); public void clearChildren(); }