Package Taverna.Tree.DataFlowImpl

Examples of Taverna.Tree.DataFlowImpl.Link


      Datalinks datalinks = new Datalinks();
     
      // For each connection in between modules, create a corresponding Datalink for Taverna workflow.
      for (Connection c : connections.getConnections())
      {
          Link src = null;
          Link snk = null;
        String source[] = c.getSource().split("\\.");
        for(GraphObject module : moduleGroup.getModules())
        {
          if(source[0].equals(module.getId())){
            src = module.getSource(source[1]);
View Full Code Here


  public String getURI(){
    return uri;
  }
 
  public Link getSink(String port){
    return new Link("dataflow", null, getId());
  }
View Full Code Here

  public Link getSink(String port){
    return new Link("dataflow", null, getId());
  }
 
  public Link getSource(String port){
    return new Link("dataflow", null, getId());
  }
View Full Code Here

  public String getUri() {
    return uri;
  }
 
  public Link getSink(String port){
    return new Link("merge", getId(), "args");
  }
View Full Code Here

  public Link getSink(String port){
    return new Link("merge", getId(), "args");
  }

  public Link getSource(String port){
    return new Link("processor", getId(), "result");
  }
View Full Code Here

    String sourcePort = "";
    String sourceProcessor = "";
    String sinkLinkType = "";
    String sinkPort = "";
    String sinkProcessor = "";
    Link source;
    Link sink;
    Parameter parameter = null;
    Output output = null;
    Format format;
    FileTypes fileTypes;
   

    for(DataLink d : datalinks){
      source = d.getSource();
      sourceLinkType = source.getLinkType();
      sourcePort = source.getPort();
      sourceProcessor = source.getProcessor();
     
      sink = d.getSink();
      sinkLinkType = sink.getLinkType();
      sinkPort = sink.getPort();
      sinkProcessor = sink.getProcessor();
     
     
      // Even if the Taverna port is a SOURCE, that will correspond to Output.class in LONI. It's weird, but you have to be careful. In side the Input of LONI, the dataModule actually contains <output>, not <input>!
      if(sinkPort == inputPortName){
        parameter = new Parameter();
View Full Code Here

TOP

Related Classes of Taverna.Tree.DataFlowImpl.Link

Copyright © 2018 www.massapicom. 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.