public void save() throws RegistryException{
EntityManager em = null;
try {
em = ResourceUtils.getEntityManager();
NodeInput existingInput = em.find(NodeInput.class, new NodeInput_PK(inputKey, nodeDetailResource.getNodeInstanceId()));
em.close();
em = ResourceUtils.getEntityManager();
em.getTransaction().begin();
NodeInput nodeInput = new NodeInput();