package de.tudresden.inf.lat.born.owlapi.processor;

/**
 * This is the default implementation of a processor execution result.
 * 
 * @author Julian Mendez
 *
 */
public class ProcessorExecutionResultImpl implements ProcessorExecutionResult {

	private long translationTime;
	private long normalizationTime;
	private long moduleExtractionTime;
	private long problogReasoningTime;
	private long totalTime;
	private int normalizedOntologySize;
	private int ontologySize;
	private int moduleSize;
	private String result;

	/**
	 * Constructs a new processor execution result.
	 */
	public ProcessorExecutionResultImpl() {
	}

	@Override
	public long getTranslationTime() {
		return this.translationTime;
	}

	@Override
	public void setTranslationTime(long translationTime) {
		this.translationTime = translationTime;
	}

	@Override
	public long getNormalizationTime() {
		return this.normalizationTime;
	}

	@Override
	public void setNormalizationTime(long normalizationTime) {
		this.normalizationTime = normalizationTime;
	}

	@Override
	public long getModuleExtractionTime() {
		return this.moduleExtractionTime;
	}

	@Override
	public void setModuleExtractionTime(long moduleExtractionTime) {
		this.moduleExtractionTime = moduleExtractionTime;
	}

	@Override
	public long getProblogReasoningTime() {
		return this.problogReasoningTime;
	}

	@Override
	public void setProblogReasoningTime(long problogReasoningTime) {
		this.problogReasoningTime = problogReasoningTime;
	}

	@Override
	public long getTotalTime() {
		return this.totalTime;
	}

	@Override
	public void setTotalTime(long totalTime) {
		this.totalTime = totalTime;
	}

	@Override
	public int getOntologySize() {
		return this.ontologySize;
	}

	@Override
	public void setOntologySize(int ontologySize) {
		this.ontologySize = ontologySize;
	}

	@Override
	public int getNormalizedOntologySize() {
		return this.normalizedOntologySize;
	}

	@Override
	public void setNormalizedOntologySize(int normalizedOntologySize) {
		this.normalizedOntologySize = normalizedOntologySize;
	}

	@Override
	public int getModuleSize() {
		return this.moduleSize;
	}

	@Override
	public void setModuleSize(int moduleSize) {
		this.moduleSize = moduleSize;
	}

	@Override
	public String getResult() {
		return this.result;
	}

	@Override
	public void setResult(String result) {
		this.result = result;
	}

}

@@ -259,32 +259,37 @@
  translationTime
+ = -1
 ;%0A%09private long 
@@ -297,32 +297,37 @@
 ormalizationTime
+ = -1
 ;%0A%09private long 
@@ -342,24 +342,29 @@
 tractionTime
+ = -1
 ;%0A%09private l
@@ -383,24 +383,29 @@
 easoningTime
+ = -1
 ;%0A%09private l
@@ -417,16 +417,21 @@
 otalTime
+ = -1
 ;%0A%09priva
@@ -451,32 +451,37 @@
 izedOntologySize
+ = -1
 ;%0A%09private int o
@@ -487,24 +487,29 @@
 ontologySize
+ = -1
 ;%0A%09private i
@@ -521,16 +521,21 @@
 duleSize
+ = -1
 ;%0A%09priva
@@ -550,16 +550,21 @@
 g result
+ = %22%22
 ;%0A%0A%09/**%0A
@@ -2391,10 +2391,755 @@
 lt;%0A%09%7D%0A%0A
+%09@Override%0A%09public String toString() %7B%0A%09%09StringBuilder sb = new StringBuilder();%0A%09%09sb.append(%22 %5B translation_ns=%22);%0A%09%09sb.append(%22%22 + translationTime);%0A%09%09sb.append(%22 , normalization_ns=%22);%0A%09%09sb.append(%22%22 + normalizationTime);%0A%09%09sb.append(%22 ,  module_extraction_ns=%22);%0A%09%09sb.append(%22%22 + moduleExtractionTime);%0A%09%09sb.append(%22 , ProbLog_reasoning_ns=%22);%0A%09%09sb.append(%22%22 + problogReasoningTime);%0A%09%09sb.append(%22 , total_time_ns=%22);%0A%09%09sb.append(%22%22 + totalTime);%0A%09%09sb.append(%22 , ontology_size=%22);%0A%09%09sb.append(%22%22 + ontologySize);%0A%09%09sb.append(%22 , normalized_ontology_size=%22);%0A%09%09sb.append(%22%22 + normalizedOntologySize);%0A%09%09sb.append(%22 , module_size=%22);%0A%09%09sb.append(%22%22 + moduleSize);%0A%09%09sb.append(%22 , result=%5C%22%22);%0A%09%09sb.append(%22%5C%22 %5D %22);%0A%09%09return sb.toString();%0A%09%7D%0A%0A
 %7D%0A

Add toString method