Mercurial > hg > Members > shoshi > TreeCMSv2
comparison 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 |
comparison
equal
deleted
inserted
replaced
13:c8601b0fa8a3 | 14:8bf59f161b23 |
---|---|
1 package treecms.api; | |
2 | |
3 import java.util.List; | |
4 import java.util.Set; | |
5 | |
6 public interface NodeChildren<T extends Node<T>> | |
7 { | |
8 public List<T> getList(); | |
9 public Set<String> getUUIDSet(); | |
10 public boolean add(T _child); | |
11 public boolean addAll(NodeChildren<T> _children); | |
12 public T get(String _uuid); | |
13 public T get(int _index); | |
14 public T remove(String _uuid); | |
15 public T remove(int _index); | |
16 public T replace(T _newChild); | |
17 public boolean contains(String _id); | |
18 public boolean swap(String _uuid1,String _uuid2); | |
19 public void clearChildren(); | |
20 } |