com.googlecode.jbp.common.repository
Class ResultHolder<ID extends Serializable,T extends IIdentifiable<ID>>
java.lang.Object
com.googlecode.jbp.common.repository.ResultHolder<ID,T>
- Type Parameters:
ID - The type of the entity's identifier.T - The type of the entity that is searched for.
- All Implemented Interfaces:
- Serializable
public final class ResultHolder<ID extends Serializable,T extends IIdentifiable<ID>>
- extends Object
- implements Serializable
Class used to return the actual result list and the total number of results
of a repository search.
- Author:
- Yannick LOTH - yannick AT littlej.biz -
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultHolder
public ResultHolder(List<T> resultsParam,
int resultQuantityParam)
getResults
public List<T> getResults()
getResultQuantity
public int getResultQuantity()
Copyright © 2011. All Rights Reserved.