Package com.emc.documentum.rest.model

# 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 Summary

  Constructors
  Constructor
  Description
  `CollectionResult(List<T> items, boolean hasMore)`
  Constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<T>`
  `getItems()`
  Return the query items
  `boolean`
  `hasMore()`
  Return whether there has more items except the items in this collection

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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