org.aludratest.hpalm.infrastructure
Class PagedEntityCollectionImpl

java.lang.Object
  extended by org.aludratest.hpalm.infrastructure.PagedEntityCollectionImpl
All Implemented Interfaces:
Iterable<Entity>, EntityCollection

public class PagedEntityCollectionImpl
extends Object
implements EntityCollection


Constructor Summary
PagedEntityCollectionImpl(HpAlmSession session, String queryUrl, EntityResultSet firstResultSet)
           
 
Method Summary
 int getTotalCount()
          Returns the total count of elements in this collection, as returned from HP ALM.
 Iterator<Entity> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagedEntityCollectionImpl

public PagedEntityCollectionImpl(HpAlmSession session,
                                 String queryUrl,
                                 EntityResultSet firstResultSet)
Method Detail

iterator

public Iterator<Entity> iterator()
Specified by:
iterator in interface Iterable<Entity>

getTotalCount

public int getTotalCount()
Description copied from interface: EntityCollection
Returns the total count of elements in this collection, as returned from HP ALM.

Specified by:
getTotalCount in interface EntityCollection
Returns:
The total count of elements in this collection. 0 for an empty collection.


Copyright © 2015 aludratest.org. All rights reserved.