String type = sNode.get("INFO.TYPE").getData();
Node uNode = null;
if( type.equalsIgnoreCase("Discrete") ){
//create new Probabilistic uNode
uNode = new ProbabilisticNode();
uNode.setName(sNode.getName());
uNode.setDescription(sNode.getName());
//reset all states
((ProbabilisticNode )uNode).removeAllStates();
//set states