| java.lang.Object hu.netmind.persistence.Limits
Limits | public class Limits (Code) | | A simple object which holds limits to a selection.
Offset means the index of first row returned after applying the
conditions and ordering. Limit means to return at most the given amount
of rows. A limit of 0 means no limit.
author: Brautigam Robert version: Revision: $Revision$ |
Constructor Summary | |
public | Limits(int offset, int limit, int size) |
Limits | public Limits(int offset, int limit, int size)(Code) | | |
getLimit | public long getLimit()(Code) | | |
getOffset | public long getOffset()(Code) | | |
getSize | public long getSize()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
setLimit | public void setLimit(long limit)(Code) | | |
setOffset | public void setOffset(long offset)(Code) | | |
setSize | public void setSize(long size)(Code) | | |
|
|