/** * . This is the Getter Method for rolodex * * @return Returns the rolodex. */ public Rolodex getRolodex() { if (rolodex == null || !ObjectUtils.equals(rolodex.getRolodexId(), rolodexId) && rolodexId != null) { refreshRolodex(); } return rolodex; }
private void setPerson( ProtocolReviewer protocolReviewer, edu.mit.irb.irbnamespace.ProtocolReviewerDocument.ProtocolReviewer protocolReviewerType) { Person personType = protocolReviewerType.addNewPerson(); boolean nonEmployeeFlag = protocolReviewer.getNonEmployeeFlag(); if (!nonEmployeeFlag) { String personId = protocolReviewer.getPersonId(); KcPerson person = getKcPersonService().getKcPersonByPersonId(personId); getIrbPrintXmlUtilService().setPersonXml(person, personType); } else { Rolodex rolodex = protocolReviewer.getRolodex(); ProtocolPersonRolodex protocolRolodex = getBusinessObjectService() .findBySinglePrimaryKey(ProtocolPersonRolodex.class, rolodex.getRolodexId()); getIrbPrintXmlUtilService().setPersonXml(protocolRolodex, personType); } }