org.mmbase.bridge.implementation
Class BasicFieldList

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byorg.mmbase.bridge.implementation.BasicList
                  extended byorg.mmbase.bridge.implementation.BasicFieldList
All Implemented Interfaces:
BridgeList, Cloneable, Collection, FieldList, List, RandomAccess, Serializable

public class BasicFieldList
extends BasicList
implements FieldList

A list of fields

Version:
$Id: BasicFieldList.java,v 1.18 2006/07/11 09:30:26 michiel Exp $
Author:
Pierre van Rooden
See Also:
Serialized Form

Nested Class Summary
protected  class BasicFieldList.BasicFieldIterator
           
 
Nested classes inherited from class org.mmbase.bridge.implementation.BasicList
BasicList.BasicIterator
 
Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
BasicFieldList(Collection c, NodeManager nodemanager)
           
 
Method Summary
 Object convert(Object o, int index)
           
 FieldIterator fieldIterator()
          Returns an type-specific iterator for this list.
 Field getField(int index)
          Returns the Field at the indicated postion in the list
protected  Object validate(Object o)
           
 
Methods inherited from class org.mmbase.bridge.implementation.BasicList
add, add, contains, convertAll, get, getProperty, remove, removeAll, set, setProperty, sort, sort, toArray
 
Methods inherited from class java.util.ArrayList
addAll, addAll, clear, clone, ensureCapacity, indexOf, isEmpty, lastIndexOf, remove, removeRange, size, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mmbase.bridge.BridgeList
getProperty, setProperty, sort, sort
 
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
 

Constructor Detail

BasicFieldList

public BasicFieldList(Collection c,
                      NodeManager nodemanager)
Method Detail

convert

public Object convert(Object o,
                      int index)
Overrides:
convert in class BasicList

validate

protected Object validate(Object o)
                   throws ClassCastException
Overrides:
validate in class BasicList
Throws:
ClassCastException

getField

public Field getField(int index)
Description copied from interface: FieldList
Returns the Field at the indicated postion in the list

Specified by:
getField in interface FieldList
Parameters:
index - the position of the Field to retrieve
Returns:
Field at the indicated postion

fieldIterator

public FieldIterator fieldIterator()
Description copied from interface: FieldList
Returns an type-specific iterator for this list.

Specified by:
fieldIterator in interface FieldList
Returns:
Field iterator


MMBase build 1.8.1.20060716