Package org.data2semantics.platform.core.data

Examples of org.data2semantics.platform.core.data.Output


            String referencedOutput = referenceString.split("\\.")[1];
   

                Module  refModule = workflow.modules.get(referencedModule);
       
                Output refOutput = refModule.output(referencedOutput);
             
                ReferenceInput newInput = new ReferenceInput(this, inputName, description, inputType, refOutput, false);
               
                if(domain().typeMatches(refOutput, newInput))
                  newInput.setMultiValue(false);
                else
                if(isList(refOutput.dataType())){
                  newInput.setMultiValue(true);
              }
                multiInputRefs.add(newInput);
               
          } else {
View Full Code Here


      public void addOutput(String name, String description, DataType type, boolean print)
      {
        if(outputs.containsKey(name))
          throw new IllegalArgumentException("Module ("+name()+") already contains output with the given name ("+name+")");
       
        outputs.put(name, new Output(name, description, this, type, print));
      }
View Full Code Here

        boolean print = (Boolean) reference.get(6);
       
        ModuleImpl module = workflow.modules.get(moduleName),
                   refModule = workflow.modules.get(refModuleName);
       
        Output refOutput = refModule.output(refOutputName);
        Domain inputDomain = module.domain();
     
        DataType outputType = refOutput.dataType();
        module.addRefInput(inputName, description, refOutput, type, false, print);
       
        if(inputDomain.typeMatches(refOutput, module.input(inputName))){
          // Single reference input case
          ((ReferenceInput) module.input(inputName)).setMultiValue(false);
View Full Code Here

TOP

Related Classes of org.data2semantics.platform.core.data.Output

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.