com.github.drinkjava2.jdialects.hibernatesrc.pagination
Class RowSelection

java.lang.Object
  extended by com.github.drinkjava2.jdialects.hibernatesrc.pagination.RowSelection

public final class RowSelection
extends Object

Represents a selection criteria for rows in a JDBC ResultSet

Author:
Gavin King, Yong Zhu(modify)

Constructor Summary
RowSelection(int firstRow, int maxRows)
           
 
Method Summary
 boolean definesLimits()
           
 Integer getFirstRow()
           
 Integer getMaxRows()
           
 void setFirstRow(int firstRow)
           
 void setFirstRow(Integer firstRow)
           
 void setMaxRows(int maxRows)
           
 void setMaxRows(Integer maxRows)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowSelection

public RowSelection(int firstRow,
                    int maxRows)
Method Detail

setFirstRow

public void setFirstRow(Integer firstRow)

setFirstRow

public void setFirstRow(int firstRow)

getFirstRow

public Integer getFirstRow()

setMaxRows

public void setMaxRows(Integer maxRows)

setMaxRows

public void setMaxRows(int maxRows)

getMaxRows

public Integer getMaxRows()

definesLimits

public boolean definesLimits()


Copyright © 2018. All rights reserved.