org.mmbase.bridge
Interface RelationList

All Superinterfaces:
BridgeList, Collection, List, NodeList
All Known Implementing Classes:
BasicRelationList, CollectionRelationList

public interface RelationList
extends NodeList

A list of Relations

Version:
$Id: RelationList.java,v 1.5 2004/10/09 09:39:31 nico Exp $
Author:
Pierre van Rooden

Field Summary
 
Fields inherited from interface org.mmbase.bridge.NodeList
NODESTEP_PROPERTY, QUERY_PROPERTY
 
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
Returns:
Relation at the indicated postion

relationIterator

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

Returns:
Relation iterator

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)
Returns:
sublist of this list


MMBase build 1.8.1.20060716