com.opentext.ia.sdk.dto.SearchResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infoarchive-sdk-core Show documentation
Show all versions of infoarchive-sdk-core Show documentation
A library that makes it quick and easy to create SIPs in InfoArchive
/*
* Copyright (c) 2016-2017 by OpenText Corporation. All Rights Reserved.
*/
package com.opentext.ia.sdk.dto;
import java.util.ArrayList;
import java.util.List;
public class SearchResult extends NamedLinkContainer {
private int totalElements;
private int executionTime;
private boolean empty;
private List rows;
public SearchResult() {
setRows(new ArrayList());
}
public int getTotalElements() {
return totalElements;
}
public final void setTotalElements(int totalElements) {
this.totalElements = totalElements;
}
public int getExecutionTime() {
return executionTime;
}
public final void setExecutionTime(int executionTime) {
this.executionTime = executionTime;
}
public List getRows() {
return rows;
}
public final void setRows(List rows) {
this.rows = new ArrayList<>(rows.size());
this.rows.addAll(rows);
}
public boolean isEmpty() {
return empty;
}
public void setEmpty(boolean empty) {
this.empty = empty;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy