Examples of OutputParameterType


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

            List<InputParameterType> inputList = new ArrayList<InputParameterType>();
            inputList.add(input);
            InputParameterType[] inputParamList = inputList.toArray(new InputParameterType[inputList
                    .size()]);

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

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

        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

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

        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

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

        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

Examples of org.ogce.schemas.gfac.documents.OutputParameterType

    // doing this change
    OutputParameterType[] outparams = method.getOutputParameterArray();
    ServiceParam[] outparam = new ServiceParam[outparams.length];
    for (int i = 0; i < outparams.length; i++) {
      outparam[i] = new ServiceParam();
      OutputParameterType outputParameterType = outparams[i];
      outparam[i].paramName = outputParameterType.getParameterName();
      outparam[i].paramDesc = outputParameterType.getParameterDescription();
      outparam[i].paramValue = outputParameterType.getParameterType().toString();
    }

    bean.setOutputParam(outparams);
    bean.setInputPrm(inparam);
    bean.setOutPrm(outparam);
View Full Code Here

Examples of org.ogce.schemas.gfac.documents.OutputParameterType

      }

      ArrayList<ParamObject> outputparams = op.getOutputParms();
      for (int y = 0; y < outputparams.size(); y++) {
        ParamObject param = (ParamObject) outputparams.get(y);
        OutputParameterType outputParm = outputMap.get(param.getName());
        if (outputParm == null) {
          outputParm = method.addNewOutputParameter();
        }
        outputParm.setParameterName(param.getName());
        outputParm.setParameterDescription(param.getDesc());
        OutputDataType.Enum type = OutputDataType.Enum.forString(param.getType());
        outputParm.setParameterType(type);
      }
    }

    if (serviceInfo.getNotAfterInactiveMinutes() != 0) {
      if (smt.getLifeTime() == null) {
View Full Code Here

Examples of org.ogce.schemas.gfac.documents.OutputParameterType

      }

      ArrayList<ParamObject> outputparams = op.getOutputParms();
      for (int y = 0; y < outputparams.size(); y++) {
        ParamObject param = (ParamObject) outputparams.get(y);
        OutputParameterType outputParm = outputMap.get(param.getName());
        if (outputParm == null) {
          outputParm = method.addNewOutputParameter();
        }
        outputParm.setParameterName(param.getName());
        outputParm.setParameterDescription(param.getDesc());
        OutputDataType.Enum type = OutputDataType.Enum.forString(param.getType());
        outputParm.setParameterType(type);
      }
    }

    if (serviceInfo.getNotAfterInactiveMinutes() != 0) {
      if (smt.getLifeTime() == null) {
View Full Code Here

Examples of org.ogce.schemas.gfac.documents.OutputParameterType

      }

      ArrayList<ParamObject> outputparams = op.getOutputParms();
      for (int y = 0; y < outputparams.size(); y++) {
        ParamObject param = (ParamObject) outputparams.get(y);
        OutputParameterType outputParm = outputMap.get(param.getName());
        if (outputParm == null) {
          outputParm = method.addNewOutputParameter();
        }
        outputParm.setParameterName(param.getName());
        outputParm.setParameterDescription(param.getDesc());
        OutputDataType.Enum type = OutputDataType.Enum.forString(param
            .getType());
        outputParm.setParameterType(type);
      }
    }

    if (serviceInfo.getNotAfterInactiveMinutes() != 0) {
      if (serviceMapType.getLifeTime() == null) {
View Full Code Here

Examples of org.ogce.schemas.gfac.documents.OutputParameterType

    }

    OutputParameterType[] outparams = method.getOutputParameterArray();
    for (int index = 0; index < outparams.length; index++) {

      OutputParameterType outputParameterType = outparams[index];
      methodBean.addOutputParms(new ParamObject(outputParameterType
          .getParameterName(), outputParameterType.getParameterType()
          .toString(), index, outputParameterType
          .getParameterDescription()));

    }

    serviceBean.setApplicationName(appName);
View Full Code Here

Examples of org.ogce.schemas.gfac.documents.OutputParameterType

                    }

                    OutputParameterType[] outputs = method.getOutputParameterArray();
                    if(outputs != null && outputs.length > 0)
                    {
                        OutputParameterType output = outputs[i];
                        if(output.getParameterName() == null)
                        {
                            throw new GFacSchemaException("Every output parameter must have a parameter name");
                        }

                        if(output.getParameterType() == null)
                        {
                            throw new GFacSchemaException("Every output parameter must have a data type");
                        }
                    }
                }
View Full Code Here
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.