* @param type
* @param node
*/
public void addField(String name, String value, int type, int node) {
try {
fieldsController.create(new Fields(0, name, value, type, node));
} catch (RollbackFailureException ex) {
Logger.getLogger(MainController.class.getName()).log(Level.SEVERE, null, ex);
} catch (Exception ex) {
Logger.getLogger(MainController.class.getName()).log(Level.SEVERE, null, ex);
}