/**
   * @see
   *     org.kuali.kra.irb.protocol.location.ProtocolLocationService#addProtocolLocation(org.kuali.kra.irb.Protocol,
   *     org.kuali.kra.irb.protocol.location.ProtocolLocation)
   */
  public void addProtocolLocation(Protocol protocol, ProtocolLocation protocolLocation) {

    // TODO Framework problem of 2 saves
    protocolLocation.setProtocolNumber(PROTOCOL_NUMBER);
    protocolLocation.setSequenceNumber(SEQUENCE_NUMBER);
    protocolLocation.refreshReferenceObject(REFERENCE_PROTOCOL_ORGANIZATION_TYPE);
    protocolLocation.refreshReferenceObject(REFERENCE_ORGANIZATION);
    protocolLocation.setRolodexId(protocolLocation.getOrganization().getContactAddressId());
    protocolLocation.refreshReferenceObject(REFERENCE_ROLODEX);
    protocol.getProtocolLocations().add(protocolLocation);
  }
 /**
  * @see
  *     org.kuali.kra.irb.protocol.location.ProtocolLocationService#addDefaultProtocolLocation(org.kuali.kra.irb.Protocol)
  */
 public void addDefaultProtocolLocation(Protocol protocol) {
   if (protocol.getProtocolLocations().size() == 0) {
     ProtocolLocation protocolLocation = new ProtocolLocation();
     protocolLocation.setProtocolNumber(PROTOCOL_NUMBER);
     protocolLocation.setSequenceNumber(SEQUENCE_NUMBER);
     Organization organization = getOrganization(Constants.DEFAULT_PROTOCOL_ORGANIZATION_ID);
     protocolLocation.setOrganization(organization);
     protocolLocation.setOrganizationId(organization.getOrganizationId());
     protocolLocation.setRolodexId(organization.getContactAddressId());
     protocolLocation.setProtocolOrganizationTypeCode(
         Constants.DEFAULT_PROTOCOL_ORGANIZATION_TYPE_CODE);
     protocolLocation.refreshReferenceObject(REFERENCE_PROTOCOL_ORGANIZATION_TYPE);
     protocolLocation.refreshReferenceObject(REFERENCE_ROLODEX);
     protocol.getProtocolLocations().add(protocolLocation);
   }
 }