コード例 #1
0
ファイル: ResearchStaff.java プロジェクト: gopuv/caaers
 /**
  * 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
ファイル: HealthcareSite.java プロジェクト: NCIP/c3pr
 /**
  * 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);
 }