public class ResultPage extends Object
eu.dnetlib.api.functionality.NotificationService,
eu.dnetlib.functionality.notification.executor.NotificationQueryExecutor| Constructor and Description |
|---|
ResultPage()
Construct a new result page with limit and offset set to zero and columns and rows set to null.
|
ResultPage(int limit,
int offset,
String[] columns,
List<String[]> rows)
Construct a new result page.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getColumns()
Get the columns.
|
int |
getLimit()
Get the limit.
|
int |
getOffset()
Get the offset.
|
List<String[]> |
getRows()
Get the rows.
|
void |
setColumns(String[] columns)
Set the columns.
|
void |
setLimit(int limit)
Set the limit.
|
void |
setOffset(int offset)
Set the offset.
|
void |
setRows(List<String[]> rows)
Set the rows.
|
public ResultPage(int limit,
int offset,
String[] columns,
List<String[]> rows)
limit - the limit of this result pageoffset - the offset of this result pagecolumns - the column names of this result pagerows - the rows of this result pagepublic ResultPage()
public int getLimit()
public void setLimit(int limit)
limit - the limit of this result pagepublic int getOffset()
public void setOffset(int offset)
offset - the offset of this result pagepublic String[] getColumns()
public void setColumns(String[] columns)
columns - the column names of this result pagepublic List<String[]> getRows()
Copyright © 2017. All rights reserved.