return httn;
}
private static SplitTransferNode createSplitNode(Split s) {
SplitTransferNode sn = new SplitTransferNode();
sn.setSplitType( SplitTransferNode.Type.getType( s.getType() ) );
for ( Split.ConnectionRef connection : s.getConstraints().keySet() ) {
SplitNode.ConnectionRef ref = new SplitNode.ConnectionRef();
ref.setNodeId( connection.getNodeId() );
ref.setToType( connection.getToType() );
SplitNode.Constraint constraint = getConstraint( s.getConstraints().get( connection ) );
sn.getConstraints().put( ref,
constraint );
}
return sn;
}