2017-12-17 22:34:24 +01:00
|
|
|
package eu.eudat.models.helpers.requests;
|
|
|
|
|
2018-01-25 16:24:21 +01:00
|
|
|
import eu.eudat.models.helpers.common.ColumnOrderings;
|
2018-02-01 08:47:24 +01:00
|
|
|
import eu.eudat.models.helpers.common.SelectionFields;
|
2018-01-25 16:24:21 +01:00
|
|
|
|
2017-12-17 22:34:24 +01:00
|
|
|
public abstract class TableRequest<T> extends RequestItem<T> {
|
2018-01-25 16:24:21 +01:00
|
|
|
private ColumnOrderings orderings;
|
2018-02-01 08:47:24 +01:00
|
|
|
private SelectionFields selection;
|
2017-12-17 22:34:24 +01:00
|
|
|
private Integer length;
|
|
|
|
private Integer offset;
|
|
|
|
|
|
|
|
public Integer getLength() {
|
|
|
|
return length;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLength(Integer length) {
|
|
|
|
this.length = length;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Integer getOffset() {
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setOffset(Integer offset) {
|
|
|
|
this.offset = offset;
|
|
|
|
}
|
2018-01-25 16:24:21 +01:00
|
|
|
|
|
|
|
public ColumnOrderings getOrderings() {
|
|
|
|
return orderings;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setOrderings(ColumnOrderings orderings) {
|
|
|
|
this.orderings = orderings;
|
|
|
|
}
|
2018-02-01 08:47:24 +01:00
|
|
|
|
|
|
|
public SelectionFields getSelection() {
|
|
|
|
return selection;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSelection(SelectionFields selection) {
|
|
|
|
this.selection = selection;
|
|
|
|
}
|
2017-12-17 22:34:24 +01:00
|
|
|
}
|