com.haley.haleyrules
Interface AgendaIterator

All Superinterfaces:
KnowledgeBaseObject

public interface AgendaIterator
extends KnowledgeBaseObject

Provides an interface for iterating over a set of Agenda's.


Method Summary
 boolean hasNext()
          Returns true if the iteration has more Agenda's.
 Agenda next()
          Returns the next Agenda in the iteration.
 
Methods inherited from interface com.haley.haleyrules.KnowledgeBaseObject
getKnowledgeBase, release
 

Method Detail

hasNext

public boolean hasNext()
                throws EclipseException
Returns true if the iteration has more Agenda's.

Returns:
true if the iterator has more Agenda's.
Throws:
EclipseException - on error.

next

public Agenda next()
            throws EclipseException
Returns the next Agenda in the iteration.

Returns:
the next Agenda in the iteration.
Throws:
EclipseException - on error, such as no more Agenda's in the iteration.


Copyright © 1998-2006 Haley Systems, Inc. All Rights Reserved.