org.jboss.seam.util
Class WrappingArrayList<E>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<E>
              extended by org.jboss.seam.util.WrappingArrayList<E>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccess

public class WrappingArrayList<E>
extends ArrayList<E>

Like a normal array list, but supports the storage of additional List data. It was necessary to create an object like this for the SelectItems dirty checking. Where as ListDataModel has this functionality, no built-in type supported similar functionality for SelectItems.

Author:
Jim Hazen
See Also:
Serialized Form

Constructor Summary
WrappingArrayList()
           
 
Method Summary
 List getWrappedData()
           
 void setWrappedData(List data)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

WrappingArrayList

public WrappingArrayList()
Method Detail

setWrappedData

public void setWrappedData(List data)

getWrappedData

public List getWrappedData()