package fi.csc.chipster.toolbox;

import fi.csc.microarray.description.SADLDescription;

public class ToolboxTool {

	private String toolId;
	private SADLDescription sadlDescription;
	private String sadlString;
	private String source;
	private String code;

	private String module;
	private String runtime;

	public ToolboxTool() {
	}
	
	public ToolboxTool(String toolId, SADLDescription sadlDescription, String sadlString, String code, String source, String module, String runtime) {
		this.toolId = toolId;
		this.sadlDescription = sadlDescription;
		this.sadlString = sadlString;
		this.source = source;
		this.code = code;
		this.runtime = runtime;
		this.module = module;
	}

	public String getId() {
		return toolId;
	}
	
	public SADLDescription getSadlDescription() {
		return sadlDescription;
	}
	
	public String getRuntime() {
		return runtime;
	}

	public String getSadlString() {
		return sadlString;
	}

	public String getSource() {
		return source;
	}

	public String getCode() {
		return code;
	}

	public String getModule() {
		return module;
	}
	
}

@@ -126,21 +126,17 @@
  String 
-toolI
+i
 d;%0A%09priv
@@ -353,21 +353,17 @@
 (String 
-toolI
+i
 d, SADLD
@@ -481,22 +481,14 @@
 his.
-toolId = toolI
+id = i
 d;%0A%09
@@ -696,13 +696,9 @@
 urn 
-toolI
+i
 d;%0A%09

Rename toolId to id to fix json conversion