org.aludratest.hpalm.infrastructure
Interface EntityCollection

All Superinterfaces:
Iterable<Entity>
All Known Implementing Classes:
PagedEntityCollectionImpl

public interface EntityCollection
extends Iterable<Entity>

An interface to query a collection of entities returned by HP ALM. This interface hides the internal data paging of the HP ALM REST API, so clients can treat the collection as one huge set. All navigational issues on the set are performed automatically by the implementation.
Clients must not implement this interface! It is returned from operations on HpAlmSession.

Author:
falbrech

Method Summary
 int getTotalCount()
          Returns the total count of elements in this collection, as returned from HP ALM.
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

getTotalCount

int getTotalCount()
Returns the total count of elements in this collection, as returned from HP ALM.

Returns:
The total count of elements in this collection. 0 for an empty collection.


Copyright © 2015 aludratest.org. All rights reserved.