java.lang.Objectorg.objectweb.telosys.common.TelosysObject
org.objectweb.telosys.common.vo.GenericVOList
org.objectweb.telosys.common.vo.LooselyTypedVOList
Special VOList implementation with loosely typed methods
Useful for internal framework usage.
Constructor Summary | |
LooselyTypedVOList(java.lang.Class cl)
Constructs a new instance |
Method Summary | |
java.lang.Object |
add()
Create a new instance of the element type and add it in the list |
void |
add(java.lang.Object vo)
Adds the given element in the list |
java.lang.Object |
get(int index)
Returns the element located at the given index |
java.lang.Object |
getFirst()
Returns the first element |
java.lang.Object |
getNext()
Returns the next element |
void |
insert(int index,
java.lang.Object vo)
Inserts the given element in the list |
java.lang.Object |
remove(int index)
Removes the element located at the given index |
boolean |
remove(java.lang.Object vo)
Removes the given element |
java.lang.Object |
replace(int index,
java.lang.Object vo)
Replaces the given element in the list |
Methods inherited from class org.objectweb.telosys.common.vo.GenericVOList |
addElement, clear, getElement, getElementType, getFirstElement, getList, getNextElement, getSelectedElement, getSelectedIndex, getSortField, insertElement, isEmpty, isSelected, isSortedBy, isSortedInAscendingOrder, isSortedInDescendingOrder, iterator, listIterator, removeElement, removeElement, replaceElement, replaceSelectedElement, select, size, sort, sort, sortIgnoreCase, sortIgnoreCase, toString, unselect |
Methods inherited from class org.objectweb.telosys.common.TelosysObject |
error, error, error, getFlagTrace, info, setFlagTrace, trace, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LooselyTypedVOList(java.lang.Class cl)
cl
- Method Detail |
public java.lang.Object add()
public void add(java.lang.Object vo)
vo
- public void insert(int index, java.lang.Object vo)
index
- vo
- public java.lang.Object replace(int index, java.lang.Object vo)
index
- vo
-
public java.lang.Object remove(int index)
index
-
public boolean remove(java.lang.Object vo)
vo
-
public java.lang.Object get(int index)
index
-
public java.lang.Object getFirst()
public java.lang.Object getNext()