Package org.apache.airavata.schemas.gfac

Examples of org.apache.airavata.schemas.gfac.OutputParameterType


                    parameterType.setType(DataType.Enum.forString(paramType));
                    parameterType.setName(paramType);
                    inputParameters.add(parameter);

                } else {
                    OutputParameterType parameter = OutputParameterType.Factory.newInstance();
                    parameter.setParameterName(parameterName);
                    parameter.setParameterDescription(parameterDescription);
                    ParameterType parameterType = parameter.addNewParameterType();
                    parameterType.setType(DataType.Enum.forString(paramType));
                    parameterType.setName(paramType);
                    outputParameters.add(parameter);
                }
            }
View Full Code Here


                    parameterType.setType(DataType.Enum.forString(paramType));
                    parameterType.setName(paramType);
                    inputParameters.add(parameter);

                } else {
                    OutputParameterType parameter = OutputParameterType.Factory.newInstance();
                    parameter.setParameterName(parameterName);
                    parameter.setParameterDescription(parameterDescription);
                    ParameterType parameterType = parameter.addNewParameterType();
                    parameterType.setType(DataType.Enum.forString(paramType));
                    parameterType.setName(paramType);
                    outputParameters.add(parameter);
                }
            }
View Full Code Here

        input.setParameterType(StringParameterType.Factory.newInstance());
        inputList.add(input);
        InputParameterType[] inputParamList = inputList.toArray(new InputParameterType[inputList.size()]);

        List<OutputParameterType> outputList = new ArrayList<OutputParameterType>();
        OutputParameterType output = OutputParameterType.Factory.newInstance();
        output.setParameterName("echo_output");
        output.setParameterType(StringParameterType.Factory.newInstance());
        outputList.add(output);
        OutputParameterType[] outputParamList = outputList.toArray(new OutputParameterType[outputList.size()]);

        serv.getType().setInputParametersArray(inputParamList);
        serv.getType().setOutputParametersArray(outputParamList);
View Full Code Here

    inputList.add(input);
    InputParameterType[] inputParamList = inputList.toArray(new InputParameterType[inputList
        .size()]);
   
    List<OutputParameterType> outputList = new ArrayList<OutputParameterType>();
    OutputParameterType output = OutputParameterType.Factory.newInstance();
    output.setParameterName("echo_output");
    output.setParameterType(StringParameterType.Factory.newInstance());   
    outputList.add(output);
    OutputParameterType[] outputParamList = outputList
        .toArray(new OutputParameterType[outputList.size()]);
   
    serv.getType().setInputParametersArray(inputParamList);
View Full Code Here

        input.setParameterType(StringParameterType.Factory.newInstance());
        inputList.add(input);
        InputParameterType[] inputParamList = inputList.toArray(new InputParameterType[inputList.size()]);

        List<OutputParameterType> outputList = new ArrayList<OutputParameterType>();
        OutputParameterType output = OutputParameterType.Factory.newInstance();
        output.setParameterName("echo_output");
        input.setParameterType(StringParameterType.Factory.newInstance());
        outputList.add(output);
        OutputParameterType[] outputParamList = outputList.toArray(new OutputParameterType[outputList.size()]);

        serv.getType().setInputParametersArray(inputParamList);
View Full Code Here

    inputList.add(input);
    InputParameterType[] inputParamList = inputList.toArray(new InputParameterType[inputList
        .size()]);

    List<OutputParameterType> outputList = new ArrayList<OutputParameterType>();
    OutputParameterType output = OutputParameterType.Factory.newInstance();
    output.setParameterName("echo_output");
    output.setParameterType(StringParameterType.Factory.newInstance());
    outputList.add(output);
    OutputParameterType[] outputParamList = outputList
        .toArray(new OutputParameterType[outputList.size()]);

    serv.getType().setInputParametersArray(inputParamList);
View Full Code Here

        input.setParameterName("echo_input");
        ParameterType parameterType = input.addNewParameterType();
        parameterType.setType(DataType.STRING);
        parameterType.setName("String");

        OutputParameterType output = OutputParameterType.Factory.newInstance();
        output.setParameterName("echo_output");
        ParameterType parameterType1 = output.addNewParameterType();
        parameterType1.setType(DataType.STRING);
        parameterType1.setName("String");

        inputList.add(input);
        outputList.add(output);
View Full Code Here

        input.setParameterName("input");
        ParameterType parameterType = input.addNewParameterType();
        parameterType.setType(DataType.URI);
        parameterType.setName("URI");

        OutputParameterType output = OutputParameterType.Factory.newInstance();
        output.setParameterName("output");
        ParameterType parameterType1 = output.addNewParameterType();
        parameterType1.setType(DataType.URI);
        parameterType1.setName("URI");
       
        OutputParameterType output1 = OutputParameterType.Factory.newInstance();
        output1.setParameterName("stdout");
        ParameterType parameterType2 = output1.addNewParameterType();
        parameterType2.setType(DataType.STD_OUT);
        parameterType2.setName("StdOut");
       
        OutputParameterType output2 = OutputParameterType.Factory.newInstance();
        output2.setParameterName("stderr");
        ParameterType parameterType3 = output2.addNewParameterType();
        parameterType3.setType(DataType.STD_ERR);
        parameterType3.setName("StdErr");

        inputList.add(input);
        outputList.add(output);
View Full Code Here

        input.setParameterName("input");
        ParameterType parameterType = input.addNewParameterType();
        parameterType.setType(DataType.URI);
        parameterType.setName("URI");

        OutputParameterType output = OutputParameterType.Factory.newInstance();
        output.setParameterName("output");
        ParameterType parameterType1 = output.addNewParameterType();
        parameterType1.setType(DataType.URI);
        parameterType1.setName("URI");
       
        OutputParameterType output1 = OutputParameterType.Factory.newInstance();
        output1.setParameterName("stdout");
        ParameterType parameterType2 = output1.addNewParameterType();
        parameterType2.setType(DataType.STD_OUT);
        parameterType2.setName("StdOut");
       
        OutputParameterType output2 = OutputParameterType.Factory.newInstance();
        output2.setParameterName("stderr");
        ParameterType parameterType3 = output2.addNewParameterType();
        parameterType3.setType(DataType.STD_ERR);
        parameterType3.setName("StdErr");

        inputList.add(input);
        outputList.add(output);
View Full Code Here

        input.setParameterName("echo_input");
        ParameterType parameterType = input.addNewParameterType();
        parameterType.setType(DataType.STRING);
        parameterType.setName("String");

        OutputParameterType output = OutputParameterType.Factory.newInstance();
        output.setParameterName("echo_output");
        ParameterType parameterType1 = output.addNewParameterType();
        parameterType1.setType(DataType.STRING);
        parameterType1.setName("String");

        inputList.add(input);
        outputList.add(output);
View Full Code Here

TOP

Related Classes of org.apache.airavata.schemas.gfac.OutputParameterType

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.