org.objectweb.telosys.common.vo
Class LooselyTypedVOList

java.lang.Object
  extended byorg.objectweb.telosys.common.TelosysObject
      extended byorg.objectweb.telosys.common.vo.GenericVOList
          extended byorg.objectweb.telosys.common.vo.LooselyTypedVOList
All Implemented Interfaces:
java.io.Serializable

public class LooselyTypedVOList
extends GenericVOList

Special VOList implementation with loosely typed methods
Useful for internal framework usage.

Since:
1.0.0
See Also:
Serialized Form

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

LooselyTypedVOList

public LooselyTypedVOList(java.lang.Class cl)
Constructs a new instance

Parameters:
cl -
Method Detail

add

public java.lang.Object add()
Create a new instance of the element type and add it in the list

Returns:

add

public void add(java.lang.Object vo)
Adds the given element in the list

Parameters:
vo -

insert

public void insert(int index,
                   java.lang.Object vo)
Inserts the given element in the list

Parameters:
index -
vo -

replace

public java.lang.Object replace(int index,
                                java.lang.Object vo)
Replaces the given element in the list

Parameters:
index -
vo -
Returns:

remove

public java.lang.Object remove(int index)
Removes the element located at the given index

Parameters:
index -
Returns:

remove

public boolean remove(java.lang.Object vo)
Removes the given element

Parameters:
vo -
Returns:

get

public java.lang.Object get(int index)
Returns the element located at the given index

Parameters:
index -
Returns:

getFirst

public java.lang.Object getFirst()
Returns the first element

Returns:

getNext

public java.lang.Object getNext()
Returns the next element

Returns: