Class AggregateList<T>
- java.lang.Object
-
- com.totvs.tjf.repository.aggregate.AggregateList<T>
-
- All Implemented Interfaces:
com.totvs.tjf.core.aggregate.repository.AggregateCollectionResult<T>
public class AggregateList<T> extends Object implements com.totvs.tjf.core.aggregate.repository.AggregateCollectionResult<T>
-
-
Constructor Summary
Constructors Constructor Description AggregateList(Integer total, Collection<T> items, Boolean hasNext)
-
-
-
Constructor Detail
-
AggregateList
public AggregateList(Integer total, Collection<T> items, Boolean hasNext)
-
-
Method Detail
-
hasNext
public Boolean hasNext()
- Specified by:
hasNextin interfacecom.totvs.tjf.core.aggregate.repository.AggregateCollectionResult<T>
-
getTotal
public Integer getTotal()
- Specified by:
getTotalin interfacecom.totvs.tjf.core.aggregate.repository.AggregateCollectionResult<T>
-
getItems
public Collection<T> getItems()
- Specified by:
getItemsin interfacecom.totvs.tjf.core.aggregate.repository.AggregateCollectionResult<T>
-
-