Esempio n. 1
0
 /**
  * . This is the Setter Method for siteInvestigator
  *
  * @param siteInvestigator The siteInvestigator to set.
  */
 public void setSiteInvestigator(Integer siteInvestigator) {
   if (siteInvestigator != null) {
     BusinessObjectService businessObjectService =
         KraServiceLocator.getService(BusinessObjectService.class);
     this.rolodex =
         (NonOrganizationalRolodex)
             businessObjectService.findByPrimaryKey(
                 NonOrganizationalRolodex.class,
                 getIdentifierMap(ROLODEX_ID_FIELD_NAME, siteInvestigator));
     this.siteInvestigatorId = rolodex.getRolodexId().toString();
   }
   this.siteInvestigator = siteInvestigator;
 }
Esempio n. 2
0
 /**
  * . This is the Getter Method for siteinvestigator
  *
  * @return Returns the siteInvestigator.
  */
 public Integer getSiteInvestigator() {
   if (siteInvestigator != null) {
     BusinessObjectService businessObjectService =
         KraServiceLocator.getService(BusinessObjectService.class);
     this.rolodex =
         (Rolodex)
             businessObjectService.findByPrimaryKey(
                 Rolodex.class, getIdentifierMap(ROLODEX_ID_FIELD_NAME, siteInvestigator));
     this.siteInvestigatorId = rolodex.getRolodexId().toString();
   } else {
     this.rolodex = null;
   }
   return siteInvestigator;
 }