/** Resets the "selected" attribute of any parent Entity controllers. */
 public void resetParents() {
   idDisenioController.setSelected(null);
   idEstadoController.setSelected(null);
   idMaterialController.setSelected(null);
   idOrdenController.setSelected(null);
   idTipoController.setSelected(null);
 }
 /**
  * Sets the "selected" attribute of the Disenio controller in order to display its data in its
  * View dialog.
  *
  * @param event Event object for the widget that triggered an action
  */
 public void prepareIdDisenio(ActionEvent event) {
   if (this.getSelected() != null && idDisenioController.getSelected() == null) {
     idDisenioController.setSelected(this.getSelected().getIdDisenio());
   }
 }