org.granite.tide.data.model
Class Page<E>
java.lang.Object
org.granite.tide.data.model.Page<E>
- All Implemented Interfaces:
- Externalizable, Serializable
public class Page<E>
- extends Object
- implements Externalizable
- See Also:
- Serialized Form
|
Constructor Summary |
Page()
|
Page(int firstResult,
int maxResults,
int resultCount,
List<E> list)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Page
public Page()
Page
public Page(int firstResult,
int maxResults,
int resultCount,
List<E> list)
getFirstResult
public int getFirstResult()
setFirstResult
public void setFirstResult(int firstResult)
getMaxResults
public int getMaxResults()
setMaxResults
public void setMaxResults(int maxResults)
getResultCount
public int getResultCount()
setResultCount
public void setResultCount(int resultCount)
getResultList
public List<E> getResultList()
setResultList
public void setResultList(List<E> resultList)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException