Class CollectionResult<T>

java.lang.Object
com.emc.documentum.rest.model.CollectionResult<T>
Type Parameters:
T - the collection item

public class CollectionResult<T> extends Object
A collection data result for the query.
  • Constructor Details

    • CollectionResult

      public CollectionResult(List<T> items, boolean hasMore)
      Constructor
      Parameters:
      items - items in result collection
      hasMore - mark if there are more results or not
  • Method Details

    • getItems

      public List<T> getItems()
      Return the query items
      Returns:
      query items
    • hasMore

      public boolean hasMore()
      Return whether there has more items except the items in this collection
      Returns:
      true if it has more items