org.obe.client.api.base
Class WMWorkItemStateIteratorImpl

java.lang.Object
  extended byorg.obe.client.api.base.ArrayIterator
      extended byorg.obe.client.api.base.AbstractWMIterator
          extended byorg.obe.client.api.base.WMWorkItemStateIteratorImpl
All Implemented Interfaces:
java.util.Iterator, WMIterator, WMWorkItemStateIterator

public class WMWorkItemStateIteratorImpl
extends AbstractWMIterator
implements WMWorkItemStateIterator

An iterator for work item states.

Author:
Adrian Price

Field Summary
 
Fields inherited from class org.obe.client.api.base.ArrayIterator
_array, _index
 
Constructor Summary
WMWorkItemStateIteratorImpl(int count)
           
WMWorkItemStateIteratorImpl(java.lang.Object[] array)
           
 
Method Summary
 WMWorkItemState tsNext()
          Retrieves the next work item state.
 
Methods inherited from class org.obe.client.api.base.AbstractWMIterator
getCount
 
Methods inherited from class org.obe.client.api.base.ArrayIterator
hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.wfmc.wapi.WMIterator
getCount
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Constructor Detail

WMWorkItemStateIteratorImpl

public WMWorkItemStateIteratorImpl(java.lang.Object[] array)

WMWorkItemStateIteratorImpl

public WMWorkItemStateIteratorImpl(int count)
Method Detail

tsNext

public WMWorkItemState tsNext()
                       throws WMNoMoreDataException
Description copied from interface: WMWorkItemStateIterator
Retrieves the next work item state.

Specified by:
tsNext in interface WMWorkItemStateIterator
Returns:
The work item state.
Throws:
WMNoMoreDataException - if no more data are available.


SourceForge.net Logo OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.