com.haley.haleyrules
Interface RuleIterator

All Superinterfaces:
KnowledgeBaseObject

public interface RuleIterator
extends KnowledgeBaseObject

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


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

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

next

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

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


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