/**
  * this method assigns default fields to the first Condition created and added to the List
  *
  * @param firstCondition
  */
 private void initFirstCondition(PlateCondition firstCondition) {
   // set the name
   firstCondition.setName("Condition " + ++conditionIndex);
   // set the cell line
   CellLine cellLine = new CellLine();
   cellLine.setCellLineType(cellLineTypeBindingList.get(0));
   cellLine.setSeedingDensity(50000);
   cellLine.setSeedingTime("day -1");
   cellLine.setGrowthMedium(mediumBindingList.get(0));
   cellLine.setSerum(serumBindingList.get(0));
   cellLine.setSerumConcentration(10.0);
   firstCondition.setCellLine(cellLine);
   cellLine.setPlateCondition(firstCondition);
   // set the migration assay: Oris platform; matrix dimension: 2D
   firstCondition.setAssay(assayEcmController.getAssay2DBindingList().get(0));
   // create a new AssayMedium object and set its class members
   AssayMedium assayMedium = new AssayMedium();
   assayMedium.setMedium(
       treatmentsController.getTreatmentsPanel().getAssayMediumComboBox().getItemAt(0).toString());
   assayMedium.setSerum(serumBindingList.get(0));
   assayMedium.setSerumConcentration(1.0);
   assayMedium.setVolume(10.0);
   firstCondition.setAssayMedium(assayMedium);
   assayMedium.setPlateCondition(firstCondition);
   // create a new ECM object and set its class members
   Ecm ecm = new Ecm();
   ecm.setEcmComposition(assayEcmController.getEcm2DCompositionBindingList().get(0));
   ecm.setCoatingTemperature("RT");
   ecm.setCoatingTime("60");
   ecm.setConcentration(0.04);
   ecm.setVolume(100.0);
   ecm.setVolumeUnit("\u00B5" + "l");
   ecm.setConcentrationUnit("mg/ml");
   firstCondition.setEcm(ecm);
   // set an empty collection of treatments
   List<Treatment> treatmentList = new ArrayList<>();
   firstCondition.setTreatmentList(treatmentList);
   // set an empty collection of wells
   List<Well> wellList = new ArrayList<>();
   firstCondition.setWellList(wellList);
 }