org.mmbase.bridge
Interface RelationList

All Superinterfaces:
BridgeList, java.util.Collection, java.util.List, NodeList
All Known Implementing Classes:
BasicRelationList

public interface RelationList
extends NodeList

A list of Relations

Version:
$Id: RelationList.java,v 1.3 2002/01/31 10:05:08 pierre Exp $
Author:
Pierre van Rooden

Method Summary
 Relation getRelation(int index)
          Returns the Relation at the indicated postion in the list
 RelationIterator relationIterator()
          Returns an type-specific iterator for this list.
 RelationList subRelationList(int fromIndex, int toIndex)
          Returns a sublist of this list.
 
Methods inherited from interface org.mmbase.bridge.NodeList
getNode, nodeIterator, subNodeList
 
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
 

Method Detail

getRelation

public Relation getRelation(int index)
Returns the Relation at the indicated postion in the list
Parameters:
index - the position of the Relation to retrieve

relationIterator

public RelationIterator relationIterator()
Returns an type-specific iterator for this list.

subRelationList

public RelationList subRelationList(int fromIndex,
                                    int toIndex)
Returns a sublist of this list.
Parameters:
fromIndex - the position in the current list where the sublist starts (inclusive)
toIndex - the position in the current list where the sublist ends (exclusive)


MMBase build 1.6.5.20030923