Examples of YParameter


Examples of au.edu.qut.yawl.elements.data.YParameter

       
      StringBuffer input = new StringBuffer();
      boolean found = false;
     
      for (int i = 0; i < inputParams.size(); i++){
        YParameter inputParam = (YParameter) inputParams.get(i);

        for (int j = 0; ((j < outputParams.size()) && (found == false)); j++) {
              YParameter outputParam = (YParameter) outputParams.get(j);

              // check if "input param element name" exists and is not also input/output
              if (inputParam.getElementName() != null && outputParam.getElementName() != null){
                if (outputParam.getElementName().compareTo(inputParam.getElementName()) == 0) {
                    found = true;
                }
              }
              // check if "input param name" exists and is not also input/output
              if (inputParam.getName() != null && outputParam.getName() != null){
                if (outputParam.getName().compareTo(inputParam.getName()) == 0) {
                  found = true;
                }
              }
          }
       
View Full Code Here

Examples of au.edu.qut.yawl.elements.data.YParameter

    }

    public YParameter[] describeRequiredParams() {
        YParameter[] params = new YParameter[3];
        YParameter param;

        param = new YParameter(null, YParameter._INPUT_PARAM_TYPE);
        param.setDataTypeAndName(XSD_ANYURI_TYPE, WSDL_LOCATION_PARAMNAME, XSD_NAMESPACE);
        param.setDocumentation("This is the location of the WSDL for the Web Service");
        params[0] = param;

        param = new YParameter(null, YParameter._INPUT_PARAM_TYPE);
        param.setDataTypeAndName(XSD_NCNAME_TYPE, WSDL_PORTNAME_PARAMNAME, XSD_NAMESPACE);
        param.setDocumentation("This is the port name of the Web service - inside the WSDL.");
        params[1] = param;

        param = new YParameter(null, YParameter._INPUT_PARAM_TYPE);
        param.setDataTypeAndName(XSD_NCNAME_TYPE, WSDL_OPERATIONNAME_PARAMNAME, XSD_NAMESPACE);
        param.setDocumentation("This is the operation name of the Web service - inside the WSDL.");
        params[2] = param;

        return params;
    }
View Full Code Here

Examples of au.edu.qut.yawl.elements.data.YParameter

            decomposition.setDocumentation(documentation);
        }
        List inputParamElems = decompElem.getChildren("inputParam", _yawlNS);
        for (int i = 0; i < inputParamElems.size(); i++) {
            Element inputParamElem = (Element) inputParamElems.get(i);
            YParameter yparameter = new YParameter(_decomposition, YParameter._INPUT_PARAM_TYPE);
            yparameter.setOrdering(i);
            parseParameter(inputParamElem, yparameter, _yawlNS, isBeta2Version());
            decomposition.setInputParam(yparameter);
        }
        List outputParamElems = decompElem.getChildren("outputParam", _yawlNS);
        for (int i = 0; i < outputParamElems.size(); i++) {
            Element outputParamElem = (Element) outputParamElems.get(i);
            YParameter yparameter = new YParameter(_decomposition, YParameter._OUTPUT_PARAM_TYPE);
            yparameter.setOrdering(i);
            parseParameter(outputParamElem, yparameter, _yawlNS, isBeta2Version());
            decomposition.setOutputParameter(yparameter);
        }
        List outputExpressions = decompElem.getChildren("outputExpression", _yawlNS);
        for (int i = 0; i < outputExpressions.size(); i++) {
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.