if(isNameValid((String)argument[i].getSelectedItem())){
String nameInstance = (String)argument[i].getSelectedItem();
ObjectEntity objectEntity = mebn.getObjectEntityContainer().getObjectEntityByType(node.getOrdinaryVariableList().get(i).getValueType());
argumentVector[i] = new ObjectEntityInstance(nameInstance, objectEntity);
}else{
throw new ParcialStateException();
}
}
}
}
else{
throw new ParcialStateException();
}
}
return argumentVector;
}