package LONI.tree.workflow;
import LONI.tree.LoniNode;
import LONI.tree.GraphObject.ModuleGroup;
public class Pipeline extends LoniNode {
private String version;
private ModuleGroup pipelineModuleGroup;
Connections connections;
//TO Johnny
public Pipeline(){
this.version = ".1";
connections = new Connections();
pipelineModuleGroup = new ModuleGroup();
}
public Pipeline(String version, ModuleGroup myModuleGroup) {
this.pipelineModuleGroup = myModuleGroup;
this.version = ".1";
}
//TO NICK
public Pipeline(String version, ModuleGroup myModuleGroup, Connections connections) {
this.pipelineModuleGroup = myModuleGroup;
this.version = ".1";
this.connections = connections;
}
public String getVersion() {
return version;
}
public ModuleGroup getPipelineModuleGroup() {
return pipelineModuleGroup;
}
public Connections getConnections() {
return connections;
}
public void setVersion(String version) {
this.version = version;
}
public void setPipelineModuleGroup(ModuleGroup pipelineModuleGroup) {
this.pipelineModuleGroup = pipelineModuleGroup;
}
public void setConnections(Connections connections) {
this.connections = connections;
}
}