org.overlord.sramp.ui.shared.beans
Class PageInfo

java.lang.Object
  extended by org.overlord.sramp.ui.shared.beans.PageInfo
All Implemented Interfaces:
Serializable

public class PageInfo
extends Object
implements Serializable

Information about a single page in a search result.

Author:
eric.wittmann@redhat.com
See Also:
Serialized Form

Constructor Summary
PageInfo()
          Constructor.
 
Method Summary
 String getOrderBy()
           
 int getPage()
           
 int getPageSize()
           
 boolean isAscending()
           
 void setAscending(boolean ascending)
           
 void setOrderBy(String orderBy)
           
 void setPage(int page)
           
 void setPageSize(int pageSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageInfo

public PageInfo()
Constructor.

Method Detail

getPage

public int getPage()
Returns:
the page

setPage

public void setPage(int page)
Parameters:
page - the page to set

getPageSize

public int getPageSize()
Returns:
the pageSize

setPageSize

public void setPageSize(int pageSize)
Parameters:
pageSize - the pageSize to set

getOrderBy

public String getOrderBy()
Returns:
the orderBy

setOrderBy

public void setOrderBy(String orderBy)
Parameters:
orderBy - the orderBy to set

isAscending

public boolean isAscending()
Returns:
the ascending

setAscending

public void setAscending(boolean ascending)
Parameters:
ascending - the ascending to set


Copyright © 2012-2013 JBoss, a division of Red Hat. All Rights Reserved.