blob: 5c63d2063679abfc7ad3d45a81764981f09e3be4 [file] [log] [blame]
/********************************************************************************
* Copyright (c) 2015-2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
********************************************************************************/
package org.eclipse.mdm.query.entity;
import java.util.List;
/**
*
* @author Matthias Koller, Peak Solution GmbH
*
*/
public class QueryResult {
private List<Row> rows;
private long totalRecords;
public QueryResult(List<Row> rows, long totalRecords) {
this.rows = rows;
this.totalRecords = totalRecords;
}
public List<Row> getRows() {
return rows;
}
public void setRows(List<Row> rows) {
this.rows = rows;
}
public long getTotalRecords() {
return totalRecords;
}
public void setTotalRecords(long totalRecords) {
this.totalRecords = totalRecords;
}
}