Ejemplo n.º 1
0
 public Equipment getSelected() {
   if (current == null) {
     current = new Equipment();
     current.setEquipmentPK(new EntityDB.EquipmentPK());
     selectedItemIndex = -1;
   }
   return current;
 }
Ejemplo n.º 2
0
 public String prepareCreate() {
   current = new Equipment();
   current.setEquipmentPK(new EntityDB.EquipmentPK());
   selectedItemIndex = -1;
   return "Create";
 }