Examples of YNetElement


Examples of au.edu.qut.yawl.elements.YNetElement

            YIdentifier identifier = (YIdentifier) childIter.next();
            allLocations.addAll(identifier.getLocations());
        }
        StringBuffer stateText = new StringBuffer();
        for (Iterator locationsIter = allLocations.iterator(); locationsIter.hasNext();) {
            YNetElement element = (YNetElement) locationsIter.next();
            if (element instanceof YCondition) {
                stateText.append("CaseIDs in: " + element.toString() + "\r\n");
                List identifiers = ((YConditionInterface) element).getIdentifiers();
                for (Iterator idIter = identifiers.iterator(); idIter.hasNext();) {
                    YIdentifier identifier = (YIdentifier) idIter.next();
                    stateText.append("\t" + identifier.toString() + "\r\n");
                }
            } else if (element instanceof YTask) {
                stateText.append("CaseIDs in: " + element.toString() + "\r\n");
                YTask task = (YTask) element;
                for (int i = 0; i < 4; i++) {
                    YInternalCondition internalCondition = null;
                    if (i == 0) {
                        internalCondition = task.getMIActive();
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.