Package org.gpel.model

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


                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

                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);

                GpelAssignCopyFrom nodeIDFrom = new GpelAssignCopyFrom(ns);
View Full Code Here

                GpelAssign assign = (GpelAssign) last;
                assign.addCopy(headerCopy);

                GpelAssignCopyFrom nodeIDFrom = new GpelAssignCopyFrom(ns);
                nodeIDFrom.setLiteral(XmlConstants.BUILDER.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
View Full Code Here

                nodeIDFrom.setLiteral(XmlConstants.BUILDER.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");

                GpelAssignCopy nodeIDCopy = new GpelAssignCopy(ns, nodeIDFrom, nodeIDTo);
                nodeIDCopy.xml().setAttributeValue(KEEP_SRC_ELEMENT_NAME_STR, NO_STR);
View Full Code Here

                GpelAssignCopyFrom timeStepFrom = new GpelAssignCopyFrom(ns);
                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");

                GpelAssignCopy timeStepCopy = new GpelAssignCopy(ns, timeStepFrom, timeStepTo);
                timeStepCopy.xml().setAttributeValue(KEEP_SRC_ELEMENT_NAME_STR, NO_STR);
View Full Code Here

                GpelAssign assign = (GpelAssign) last;
                XmlNamespace ns = assign.xml().getNamespace();

                XmlElement container = XmlConstants.BUILDER.parseFragmentFromString("<dummyelement></dummyelement>");

                String portTypeattr = next.xml().attributeValue(PORT_TYPE_STR);
                String operation = next.xml().attributeValue(OPERATION_STR);
                if (null == portTypeattr || "".equals(portTypeattr)) {
                    throw new XBayaRuntimeException("No Porttype found for Invoke:" + next);
                }
                String portTypeName = portTypeattr.substring(portTypeattr.indexOf(':') + 1);
View Full Code Here

                XmlNamespace ns = assign.xml().getNamespace();

                XmlElement container = XmlConstants.BUILDER.parseFragmentFromString("<dummyelement></dummyelement>");

                String portTypeattr = next.xml().attributeValue(PORT_TYPE_STR);
                String operation = next.xml().attributeValue(OPERATION_STR);
                if (null == portTypeattr || "".equals(portTypeattr)) {
                    throw new XBayaRuntimeException("No Porttype found for Invoke:" + next);
                }
                String portTypeName = portTypeattr.substring(portTypeattr.indexOf(':') + 1);
                String messagePartName = null;
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

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.