01: /*
02:
03: This software is OSI Certified Open Source Software.
04: OSI Certified is a certification mark of the Open Source Initiative.
05:
06: The license (Mozilla version 1.0) can be read at the MMBase site.
07: See http://www.MMBase.org/license
08:
09: */
10:
11: package org.mmbase.bridge;
12:
13: import java.util.ListIterator;
14:
15: /**
16: * A list of nodes
17: *
18: * @author Pierre van Rooden
19: * @version $Id: RelationIterator.java,v 1.8 2007/02/10 15:47:42 nklasens Exp $
20: */
21: public interface RelationIterator extends ListIterator<Relation> {
22:
23: /**
24: * Returns the next element in the iterator as a Relation
25: * @return next Relation
26: */
27: public Relation nextRelation();
28:
29: /**
30: * Returns the previous element in the iterator as a Relation
31: * @return previous Relation
32: * @since MMBase-1.7
33: */
34: public Relation previousRelation();
35:
36: }
|