Iterator entities = container.deepEntityList().iterator();
while (entities.hasNext()) {
Entity entity = (Entity) entities.next();
for (Iterator ports = entity.portList().iterator(); ports
.hasNext();) {
IOPort port = (IOPort) ports.next();
String typeString = typeMap.getType(port).toString();
_setOrCreate(port, "resolvedSignalType", typeString);
}