예제 #1
0
 /**
  * This method will return a status text for display purpose's.
  *
  * @return the site research staffs internal
  */
 @OneToMany(mappedBy = "researchStaff", fetch = FetchType.LAZY, orphanRemoval = true)
 @Cascade(value = {CascadeType.ALL})
 @Fetch(value = org.hibernate.annotations.FetchMode.SUBSELECT)
 public List<SiteResearchStaff> getSiteResearchStaffsInternal() {
   return lazyListHelper.getInternalList(SiteResearchStaff.class);
 }
예제 #2
0
 /**
  * Gets the investigator groups internal.
  *
  * @return the investigator groups internal
  */
 @OneToMany(mappedBy = "healthcareSite", fetch = FetchType.LAZY, orphanRemoval = true)
 @Cascade(value = {CascadeType.ALL})
 public List<InvestigatorGroup> getInvestigatorGroupsInternal() {
   return lazyListHelper.getInternalList(InvestigatorGroup.class);
 }