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();
}
if (i == 1) {
internalCondition = task.getMIEntered();
}
if (i == 2) {
internalCondition = task.getMIExecuting();
}
if (i == 3) {
internalCondition = task.getMIComplete();
}
if (internalCondition.containsIdentifier()) {
stateText.append("\t" + internalCondition.toString() + "\r\n");
List identifiers = internalCondition.getIdentifiers();
for (Iterator iterator = identifiers.iterator(); iterator.hasNext();) {