com.haley.haleyrules
Interface RulesetIterator

All Superinterfaces:
KnowledgeBaseObject

public interface RulesetIterator
extends KnowledgeBaseObject

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


Method Summary
 boolean hasNext()
          Returns true if the iteration has more Ruleset's.
 Ruleset next()
          Returns the next Ruleset 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 Ruleset's.

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

next

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

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


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