Package org.gpel.model

Examples of org.gpel.model.GpelAssignCopyTo.xml()


        GpelAssignCopyFrom from = new GpelAssignCopyFrom(ns);
        from.setLiteral(container);
       
        GpelAssignCopyTo to = new GpelAssignCopyTo(ns);
        to.xml().setAttributeValue(PART_STR, messagePartName);
        if(isInvoke(next)){
          to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(INPUT_VARIABLE_STR));
        }else{
          to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(VARIABLE_STR));
        }
View Full Code Here


        from.setLiteral(container);
       
        GpelAssignCopyTo to = new GpelAssignCopyTo(ns);
        to.xml().setAttributeValue(PART_STR, messagePartName);
        if(isInvoke(next)){
          to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(INPUT_VARIABLE_STR));
        }else{
          to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(VARIABLE_STR));
        }
        GpelAssignCopy newAssign = new GpelAssignCopy(ns, from, to);
        newAssign.xml().setAttributeValue(VALIDATE_STR, NO_STR);
View Full Code Here

        GpelAssignCopyTo to = new GpelAssignCopyTo(ns);
        to.xml().setAttributeValue(PART_STR, messagePartName);
        if(isInvoke(next)){
          to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(INPUT_VARIABLE_STR));
        }else{
          to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(VARIABLE_STR));
        }
        GpelAssignCopy newAssign = new GpelAssignCopy(ns, from, to);
        newAssign.xml().setAttributeValue(VALIDATE_STR, NO_STR);
        GpelAssign gpelAssign = new GpelAssign(ns, newAssign);
        list.add(gpelAssign);
View Full Code Here

        GpelAssignCopyFrom headerFrom = new GpelAssignCopyFrom(ns);
        headerFrom.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        headerFrom.xml().setAttributeValue(VARIABLE_STR, WORKFLOW_INPUT_STR);

        GpelAssignCopyTo headerTo = new GpelAssignCopyTo(ns);
        headerTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        headerTo.xml().setAttributeValue(VARIABLE_STR,
            next.xml().attributeValue(INPUT_VARIABLE_STR));
        GpelAssignCopy headerCopy = new GpelAssignCopy(ns, headerFrom,
            headerTo);
        GpelAssign assign = (GpelAssign) last;
View Full Code Here

        headerFrom.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        headerFrom.xml().setAttributeValue(VARIABLE_STR, WORKFLOW_INPUT_STR);

        GpelAssignCopyTo headerTo = new GpelAssignCopyTo(ns);
        headerTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        headerTo.xml().setAttributeValue(VARIABLE_STR,
            next.xml().attributeValue(INPUT_VARIABLE_STR));
        GpelAssignCopy headerCopy = new GpelAssignCopy(ns, headerFrom,
            headerTo);
        GpelAssign assign = (GpelAssign) last;
        assign.addCopy(headerCopy);
View Full Code Here

            .parseFragmentFromString("<dummyelement>"
                + next.xml().attributeValue(NAME)
                + "</dummyelement>"));
        GpelAssignCopyTo nodeIDTo = new GpelAssignCopyTo(ns);

        nodeIDTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        nodeIDTo.xml().setAttributeValue(VARIABLE_STR,
            next.xml().attributeValue(INPUT_VARIABLE_STR));
        // TODO is this ok?? what of the query language
        nodeIDTo.setQuery("/leadcntx:workflow-node-id");
View Full Code Here

                + next.xml().attributeValue(NAME)
                + "</dummyelement>"));
        GpelAssignCopyTo nodeIDTo = new GpelAssignCopyTo(ns);

        nodeIDTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        nodeIDTo.xml().setAttributeValue(VARIABLE_STR,
            next.xml().attributeValue(INPUT_VARIABLE_STR));
        // TODO is this ok?? what of the query language
        nodeIDTo.setQuery("/leadcntx:workflow-node-id");

        GpelAssignCopy nodeIDCopy = new GpelAssignCopy(ns, nodeIDFrom,
View Full Code Here

        timeStepFrom.setLiteral(XmlConstants.BUILDER
            .parseFragmentFromString("<dummyelement>"
                + "5"
                + "</dummyelement>"));
        GpelAssignCopyTo timeStepTo = new GpelAssignCopyTo(ns);
        timeStepTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        timeStepTo.xml().setAttributeValue(VARIABLE_STR,
            next.xml().attributeValue(INPUT_VARIABLE_STR));
        // TODO is this ok?? what of the query language
        timeStepTo.setQuery("/leadcntx:workflow-time-step");
View Full Code Here

            .parseFragmentFromString("<dummyelement>"
                + "5"
                + "</dummyelement>"));
        GpelAssignCopyTo timeStepTo = new GpelAssignCopyTo(ns);
        timeStepTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        timeStepTo.xml().setAttributeValue(VARIABLE_STR,
            next.xml().attributeValue(INPUT_VARIABLE_STR));
        // TODO is this ok?? what of the query language
        timeStepTo.setQuery("/leadcntx:workflow-time-step");

        GpelAssignCopy timeStepCopy = new GpelAssignCopy(ns,
View Full Code Here

                GpelAssignCopyFrom from = new GpelAssignCopyFrom(ns);
                from.setLiteral(container);

                GpelAssignCopyTo to = new GpelAssignCopyTo(ns);
                to.xml().setAttributeValue(PART_STR, messagePartName);
                if (isInvoke(next)) {
                    to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(INPUT_VARIABLE_STR));
                } else {
                    to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(VARIABLE_STR));
                }
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.