Package Taverna.Tree.Processor

Source Code of Taverna.Tree.Processor.Processor

package Taverna.Tree.Processor;

import Taverna.Tree.DispatchStack;
import Taverna.Tree.IterationStrategyStack;
import Taverna.Tree.TavernaNode;
import Taverna.Tree.Annotation.Annotations;
import Taverna.Tree.DataFlowImpl.AnnotatedGranularDepthInputPorts;
import Taverna.Tree.DataFlowImpl.AnnotatedGranularDepthOutputPorts;
import Taverna.Tree.DataFlowImpl.DepthPorts;
import Taverna.Tree.DataFlowImpl.GranularDepthPorts;

import java.util.List;
import java.util.ArrayList;

public class Processor extends TavernaNode {
  public Processor()
  {
    inputPorts = null;
    outputPorts = null;
  }
 
  public Processor(Activities act, DispatchStack dis, IterationStrategyStack it, String pn)
  {
    activities = act;
    dispatchStack = dis;
    iterationStrategyStack = it;
    processorName  = pn;
    inputPorts = new AnnotatedGranularDepthInputPorts();
    outputPorts = new AnnotatedGranularDepthOutputPorts();
    annotations = new Annotations();
  }
 
  public Activities getActivities() {
    return activities;
  }

  public void setActivities(Activities activities) {
    this.activities = activities;
  }

  public DispatchStack getDispatchStack() {
    return dispatchStack;
  }

  public void setDispatchStack(DispatchStack dispatchStack) {
    this.dispatchStack = dispatchStack;
  }

  public IterationStrategyStack getIterationStrategyStack() {
    return iterationStrategyStack;
  }

  public void setIterationStrategyStack(
      IterationStrategyStack iterationStrategyStack) {
    this.iterationStrategyStack = iterationStrategyStack;
  }

  public String getProcessorName() {
    return processorName;
  }

  public void setProcessorName(String processorName) {
    this.processorName = processorName;
  }

  public AnnotatedGranularDepthInputPorts getInputPorts() {
    return inputPorts;
  }

  public void setInputPorts(AnnotatedGranularDepthInputPorts inputPorts) {
    this.inputPorts = inputPorts;
  }

  public AnnotatedGranularDepthOutputPorts getOutputPorts() {
    return outputPorts;
  }

  public void setOutputPorts(AnnotatedGranularDepthOutputPorts outputPorts) {
    this.outputPorts = outputPorts;
  }

  public Annotations getAnnotations() {
    return annotations;
  }

  public void setAnnotations(Annotations annotations) {
    this.annotations = annotations;
  }

  private Activities activities;
  private DispatchStack dispatchStack;
  private IterationStrategyStack iterationStrategyStack;
  private String processorName;
  private AnnotatedGranularDepthInputPorts inputPorts;
  private AnnotatedGranularDepthOutputPorts outputPorts;
  private Annotations annotations;
}
TOP

Related Classes of Taverna.Tree.Processor.Processor

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.