}
}
for (int i = 0; i < relations.size(); i++) {
IORelation relation = (IORelation) (relations.elementAt(i));
List ports = relation.linkedPortList();
IOPort inputPort = null;
Iterator portIter = ports.iterator();
while (portIter.hasNext()) {
IOPort port = (IOPort) (portIter.next());