private static void updateSplitNode(SplitTransferNode stn,
Split splitNode) {
for ( Split.ConnectionRef connection : splitNode.getConstraints().keySet() ) {
final ConnectionRef ref1 = new ConnectionRef( connection.getNodeId(),
connection.getToType() );
SplitNode.ConnectionRef ref2 = new SplitNode.ConnectionRef();
ref2.setNodeId( connection.getNodeId() );
ref2.setToType( connection.getToType() );