Package LONI.tree.module

Examples of LONI.tree.module.Values


    this.fileTypes = new FileTypes();
    this.inputs = new ArrayList<Parameter>();
    this.outputs = new ArrayList<Output>();
    this.inputs = new ArrayList<Parameter>();
    this.tags = new ArrayList<String>();
    this.values = new Values();
    this.authors = new Authors();
  }
View Full Code Here


    this.recursive = recursive;
    this.fileTypes = new FileTypes();
    this.metadata = metadata;
    this.inputs = new ArrayList<Parameter>();
    this.outputs = new ArrayList<Output>();
    this.values = new Values();
    this.authors = new Authors();
    this.tags = new ArrayList<String>();
    this.uri = null;
   
  }
View Full Code Here

        parameter.setDescription("Input description");
        parameter.setRequired(true);
        parameter.setEnabled(true);
        parameter.setOrder(tavernaContext.getNextOrder());
        parameter.setLink("");
        parameter.setValues(new Values());
        // Create a new Format for parameter
        format = new Format();
        format.setType("File");
        format.setCardinality(1);
        format.setCardinalityBase("");
          format.setTransformationBase("");
         
        // Create and fill in file types for format
        fileTypes = new FileTypes();
        fileTypes.addFileType(new FileType(TavernaType, "", ""));
        format.setFileTypes(fileTypes);
       
        // Give parameter the newly created Format object
        parameter.setFileFormat(format);
       
        dataModule.addInput(parameter);
        break;
      }
      else if(sourcePort == inputPortName){
        output = new Output();
        output.setId(dataModule.getId() +".Output");
        output.setName(inputPortName);
        output.setDescription("Output description");
        output.setRequired(true);
        output.setEnabled(true);
        output.setOrder(tavernaContext.getNextOrder());
        output.setLink("");
        output.setValues(new Values());
        // Create a new Format for output
        output.setFormat(new Format());
        output.getFormat().setType("File");
        output.getFormat().setCardinality(1);
        output.getFormat().setCardinalityBase("");
View Full Code Here

TOP

Related Classes of LONI.tree.module.Values

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.