예제 #1
0
 /**
  * List associated LieuDit, on the field lieuxDits
  *
  * @param parent the parent entity
  * @return the list of the associated entities
  */
 @Override
 public List<LieuDit> loadLieuxDits(Patient parent) {
   if (parent == null) {
     return new Vector<LieuDit>();
   }
   return parent.getLieuxDits();
 }
예제 #2
0
 /**
  * List associated CentreDiagTrait, on the field centres
  *
  * @param parent the parent entity
  * @return the list of the associated entities
  */
 @Override
 public List<CentreDiagTrait> loadCentres(Patient parent) {
   if (parent == null) {
     return new Vector<CentreDiagTrait>();
   }
   return parent.getCentres();
 }