Examples of YVariable


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

    }

    public void testBadQueries2(){
        YSpecification spec = new YSpecification("spec1");
        YNet net = new YNet("a", spec);
        YVariable var = new YVariable(net);
        var.setName("localVar");
        net.setLocalVariable(var);
        YTask task = new YAtomicTask("1", YTask._AND, YTask._AND, net);
        YAWLServiceGateway ysg = new YAWLServiceGateway("b", spec);
        YParameter p = new YParameter(ysg, YParameter._INPUT_PARAM_TYPE);
        p.setName("fred");
View Full Code Here

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

            }
        }
        List localVariables = netElem.getChildren("localVariable", _yawlNS);
        for (int i = 0; i < localVariables.size(); i++) {
            Element localVariableElem = (Element) localVariables.get(i);
            YVariable localVar = new YVariable(_decomposition);
            parseLocalVariable(localVariableElem, localVar, _yawlNS, isBeta2Version());
            net.setLocalVariable(localVar);
        }
        parseProcessControlElements(net, netElem.getChild("processControlElements", _yawlNS));
        return net;
View Full Code Here

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

        Instruction i;

        List paramsList = new ArrayList(params);
        Collections.sort(paramsList);
        for (int j = 0; j < paramsList.size(); j++) {
            YVariable parameter = (YVariable) paramsList.get(j);
            if (parameter.usesElementDeclaration()) {
                i = new ElementReuseInstruction(
                        parameter.getElementName());

                instructions.add(i);
            }
            if (parameter.usesTypeDeclaration()) {
                boolean isBuiltInSchemaType =
                        null != parameter.getDataTypeNameSpace() &&
                        parameter.getDataTypeNameSpace().equals(
                                XMLToolsForYAWL.getSchema4SchemaNameSpace());

                i = new ElementCreationInstruction(
                        parameter.getName(),
                        parameter.getDataTypeName(),
                        isBuiltInSchemaType);
                instructions.add(i);
            }
            if (parameter.isUntyped()) {
                i = new UntypedElementInstruction();
                instructions.add(i);
            }
        }
        Instruction[] instructionsArr;
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.