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