public class Resultset extends BaseObject implements Serializable
Result
s, including pagination support. A Resultset is always wrapped inside an Data
-object.Modifier and Type | Field and Description |
---|---|
protected int |
chunk |
protected String |
chunkname |
protected int |
chunksize |
protected int |
firstchunk |
protected int |
hits |
protected int |
lastchunk |
protected int |
nextchunk |
protected int |
previouschunk |
protected List<Result> |
results |
Constructor and Description |
---|
Resultset() |
Modifier and Type | Method and Description |
---|---|
int |
getChunk()
The current zero-based chunk (page-number).
|
String |
getChunkname()
The name of the chunk.
|
int |
getChunksize()
The size of the chunk (items per page).
|
int |
getFirstchunk()
The number of the first chunk.
|
int |
getHits()
The number of hits (all items).
|
int |
getLastchunk()
The number of the last chunk.
|
int |
getNextchunk()
The number of the next chunk.
|
int |
getPreviouschunk()
The number of the previous chunk.
|
List<Result> |
getResults()
Gets the value of the results property.
|
void |
setChunk(int value)
Sets the value of the chunk property.
|
void |
setChunkname(String value)
Sets the value of the chunkname property.
|
void |
setChunksize(int value)
Sets the value of the chunksize property.
|
void |
setFirstchunk(int value)
Sets the value of the firstchunk property.
|
void |
setHits(int value)
Sets the value of the hits property.
|
void |
setLastchunk(int value)
Sets the value of the lastchunk property.
|
void |
setNextchunk(int value)
Sets the value of the nextchunk property.
|
void |
setPreviouschunk(int value)
Sets the value of the previouschunk property.
|
protected int chunk
protected String chunkname
protected int chunksize
protected int nextchunk
protected int previouschunk
protected int firstchunk
protected int lastchunk
protected int hits
public List<Result> getResults()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the results property.
For example, to add a new item, do as follows:
getResults().add(newItem);
Objects of the following type(s) are allowed in the list
Result
public int getChunk()
public void setChunk(int value)
public void setChunkname(String value)
value
- allowed object is
String
public int getChunksize()
public void setChunksize(int value)
public int getNextchunk()
public void setNextchunk(int value)
public int getPreviouschunk()
public void setPreviouschunk(int value)
public int getFirstchunk()
public void setFirstchunk(int value)
public int getLastchunk()
public void setLastchunk(int value)
public int getHits()
public void setHits(int value)
Copyright © 2011–2019 aiticon GmbH. All rights reserved.