|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DSItemList<T extends DSNamed>
Specifies a list of DSNamed objects, accessible by label.
| Method Summary | |
|---|---|
T |
get(java.lang.String label)
Gets an item by label. |
T |
get(T item)
Gets an item by item template. |
void |
rename(T item,
java.lang.String label)
Renames the given named item. |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
| Methods inherited from interface org.geworkbench.bison.datastructure.properties.DSIdentifiable |
|---|
getID, setID |
| Method Detail |
|---|
T get(java.lang.String label)
label - the label of the requested object.
null if it was not found.T get(T item)
item - the item to fetch. Only the DSNamed.getLabel()
method will be used.
null if it was not found.
void rename(T item,
java.lang.String label)
item - item to be renamed (but has not yet been renamed). Must be a member of the list.label - new name for item.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||