.getRelation(relationName);
TypedIOPort port = (TypedIOPort) actor.getPort(portName);
if (port == null) {
port = new TypedIOPort(actor, actor
.uniqueName(portName));
inner: for (Object connection : relation
.linkedPortList()) {
if (connection instanceof TypedIOPort) {
TypedIOPort testPort = (TypedIOPort) connection;
if (testPort.getContainer().equals(_actor)) {
if (testPort.isInput()) {