if (el instanceof Activity) {
Activity act = (Activity) el;
String str = "\n\tId=" + act.getId();
str += "\n\tName=" + act.getName();
str += "\n\tType=" + act.getActivityType();
Tools ts = act.getActivityTypes().getImplementation().getImplementationTypes().getTools();
if (ts.size() > 0) {
Tool t = (Tool) ts.get(0);
str += "\n\tToolId=" + t.getId();
Iterator it = t.getActualParameters().toElements().iterator();
int i = 1;
while (it.hasNext()) {
ActualParameter ap = (ActualParameter) it.next();