package org.gcube.dataanalysys.dataminerpoolmanager.datamodel; import java.util.Collection; import java.util.Vector; public class Algorithm ***REMOVED*** private String name; private String description; private String category; private String clazz; private Collection actions; private Collection dependencies; public Algorithm() ***REMOVED*** this.actions = new Vector<>(); this.dependencies = new Vector<>(); Dependency p = new Dependency(); ***REMOVED*** public void addDependency(Dependency dep) ***REMOVED*** this.dependencies.add(dep); ***REMOVED*** public void addAction(Action action) ***REMOVED*** this.actions.add(action); ***REMOVED*** public String getName() ***REMOVED*** return name; ***REMOVED*** public void setName(String name) ***REMOVED*** this.name = name; ***REMOVED*** public String getDescription() ***REMOVED*** return description; ***REMOVED*** public void setDescription(String description) ***REMOVED*** this.description = description; ***REMOVED*** public String getCategory() ***REMOVED*** return category; ***REMOVED*** public void setCategory(String category) ***REMOVED*** this.category = category; ***REMOVED*** public Collection getActions() ***REMOVED*** return actions; ***REMOVED*** public Collection getDependencies() ***REMOVED*** return dependencies; ***REMOVED*** public String toString() ***REMOVED*** String out = "Algorithm: " + this.getName()+"\n"; out+=" Class Name: " + this.getClazz()+"\n"; out+=" Description: " + this.getDescription()+"\n"; out+=" Dependencies: " + this.getDependencies()+"\n"; return out; ***REMOVED*** public String getClazz() ***REMOVED*** return clazz; ***REMOVED*** public void setClazz(String clazz) ***REMOVED*** this.clazz = clazz; ***REMOVED*** ***REMOVED***