public void prepareForModify(Category instance) {
   instance.setName(this.instance.getName());
   instance.setLibrary(this.instance.getLibrary());
 }
 public CategoryForm() {
   super();
   instance = new Category();
   instance.setLibrary(new Library());
   // TODO Auto-generated constructor stub
 }