01: /*
02: *
03: * Copyright (c) 2002 Adrian Price. All rights reserved.
04: */
05:
06: package org.wfmc.wapi2;
07:
08: import org.wfmc.wapi.WMIterator;
09: import org.wfmc.wapi.WMNoMoreDataException;
10:
11: /**
12: * Iterator for retrieving WAPI2 entities.
13: *
14: * @author Adrian Price
15: */
16: public interface WMEntityIterator extends WMIterator {
17: /**
18: * Retrieves the next entity.
19: *
20: * @return The entity.
21: * @throws WMNoMoreDataException if no more data are available.
22: */
23: WMEntity tsNext() throws WMNoMoreDataException;
24: }
|