public class QueryContext extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Boolean |
ascending |
protected Integer |
count |
protected Integer |
offset |
protected String |
orderBy |
Constructor and Description |
---|
QueryContext() |
QueryContext(Integer offset,
Integer count) |
QueryContext(Integer offset,
Integer count,
String orderBy,
boolean asc) |
QueryContext(QueryContext queryContext) |
QueryContext(String orderBy,
boolean asc) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Integer |
getCount() |
Integer |
getOffset() |
String |
getOrderBy() |
Boolean |
isAscending() |
void |
setAscending(Boolean ascending) |
void |
setCount(Integer count) |
void |
setOffset(Integer offset) |
void |
setOrderBy(String orderBy) |
protected Integer offset
protected Integer count
protected String orderBy
protected Boolean ascending
public QueryContext()
public QueryContext(QueryContext queryContext)
public QueryContext(String orderBy, boolean asc)
public Integer getOffset()
public void setOffset(Integer offset)
public Integer getCount()
public void setCount(Integer count)
public String getOrderBy()
public void setOrderBy(String orderBy)
public Boolean isAscending()
public void setAscending(Boolean ascending)
public void clear()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.