public class Limit extends Object
Modifier and Type | Field and Description |
---|---|
static Limit |
NONE
Singleton access for "no limit"
|
Constructor and Description |
---|
Limit() |
Limit(Integer firstRow,
Integer maxRows) |
Modifier and Type | Method and Description |
---|---|
Integer |
getFirstRow() |
int |
getFirstRowJpa() |
Integer |
getMaxRows() |
int |
getMaxRowsJpa() |
boolean |
isCompatible(Limit limit) |
boolean |
isEmpty() |
Limit |
makeCopy() |
void |
setFirstRow(Integer firstRow) |
void |
setMaxRows(int maxRows) |
void |
setMaxRows(Integer maxRows) |
public static final Limit NONE
public boolean isEmpty()
public Limit makeCopy()
public Integer getFirstRow()
public int getFirstRowJpa()
public void setFirstRow(Integer firstRow)
public Integer getMaxRows()
public int getMaxRowsJpa()
public void setMaxRows(int maxRows)
public void setMaxRows(Integer maxRows)
public boolean isCompatible(Limit limit)
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.