org.mmbase.bridge
Interface BridgeList

All Superinterfaces:
java.util.Collection, java.util.List
All Known Subinterfaces:
FieldList, ModuleList, NodeList, NodeManagerList, RelationList, RelationManagerList, StringList
All Known Implementing Classes:
BasicList

public interface BridgeList
extends java.util.List

A list of nodes

Since:
MMBase-1.6
Version:
$Id: BridgeList.java,v 1.3 2002/10/25 11:09:39 pierre Exp $
Author:
Pierre van Rooden

Method Summary
 java.lang.Object getProperty(java.lang.Object key)
          Retrieves a property previously set for this list.
 void setProperty(java.lang.Object key, java.lang.Object value)
          Sets a property for this list.
 void sort()
          Sorts this list according to a default sort order.
 void sort(java.util.Comparator comparator)
          Sorts this list according to a specified sort order
 
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
 

Method Detail

getProperty

public java.lang.Object getProperty(java.lang.Object key)
Retrieves a property previously set for this list. Use this to store and retrieve metadata on whow teh listw as created (such as what sort-order was specified)
Parameters:
key - the key of the property
Returns:
the property value

setProperty

public void setProperty(java.lang.Object key,
                        java.lang.Object value)
Sets a property for this list. Use this to store and retrieve metadata on whow teh listw as created (such as what sort-order was specified)
Parameters:
key - the key of the property
the - property value

sort

public void sort()
Sorts this list according to a default sort order.

sort

public void sort(java.util.Comparator comparator)
Sorts this list according to a specified sort order
Parameters:
comparator - the comparator defining the sort order


MMBase build 1.6.5.20030923