Coverage Summary for Class: OCRResult (org.kitodo.api.ocr)
Class |
Class, %
|
Method, %
|
Line, %
|
OCRResult |
0%
(0/1)
|
0%
(0/9)
|
0%
(0/9)
|
/*
* (c) Kitodo. Key to digital objects e. V. <contact@kitodo.org>
*
* This file is part of the Kitodo project.
*
* It is licensed under GNU General Public License version 3 or later.
*
* For the full copyright and license information, please read the
* GPL3-License.txt file that was distributed with this source code.
*/
package org.kitodo.api.ocr;
import java.util.Collection;
public class OCRResult {
/** The process id. */
private Integer processId;
/** The result, if OCR was successful. */
private boolean success;
/** A result message. */
private String message;
/** The generated OCD Files. */
private Collection<FileResult> outputFiles;
/**
* Gets the processId.
*
* @return The processId.
*/
public Integer getProcessId() {
return processId;
}
/**
* Sets the processId.
*
* @param processId
* The processId.
*/
public void setProcessId(Integer processId) {
this.processId = processId;
}
/**
* Gets the success.
*
* @return The success.
*/
public boolean isSuccess() {
return success;
}
/**
* Sets the success.
*
* @param success
* The success.
*/
public void setSuccess(boolean success) {
this.success = success;
}
/**
* Gets the messages.
*
* @return The messages.
*/
public String getMessage() {
return message;
}
/**
* Sets the message.
*
* @param message
* The message.
*/
public void setMessage(String message) {
this.message = message;
}
/**
* Gets the outputFiles.
*
* @return The outputFiles.
*/
public Collection<FileResult> getOutputFiles() {
return outputFiles;
}
/**
* Sets the outputFiles.
*
* @param outputFiles
* The outputFiles.
*/
public void setOutputFiles(Collection<FileResult> outputFiles) {
this.outputFiles = outputFiles;
}
}