/**
  * Decorates the block objects with srdf properties.
  *
  * @param blockObject
  * @param unManagedVolume
  */
 private void decorateBlockObjectWithSRDFProperties(
     BlockObject blockObject, UnManagedVolume unManagedVolume) {
   Volume volume = (Volume) blockObject;
   StringSetMap unManagedVolumeInformation = unManagedVolume.getVolumeInformation();
   String type =
       PropertySetterUtil.extractValueFromStringSet(
           SupportedVolumeInformation.REMOTE_VOLUME_TYPE.toString(), unManagedVolumeInformation);
   if (RemoteMirrorObject.Types.SOURCE.toString().equalsIgnoreCase(type)) {
     volume.setPersonality(PersonalityTypes.SOURCE.toString());
   } else if (RemoteMirrorObject.Types.TARGET.toString().equalsIgnoreCase(type)) {
     volume.setPersonality(PersonalityTypes.TARGET.toString());
     String copyMode =
         PropertySetterUtil.extractValueFromStringSet(
             SupportedVolumeInformation.REMOTE_COPY_MODE.toString(), unManagedVolumeInformation);
     String raGroup =
         PropertySetterUtil.extractValueFromStringSet(
             SupportedVolumeInformation.REMOTE_MIRROR_RDF_GROUP.toString(),
             unManagedVolumeInformation);
     volume.setSrdfCopyMode(copyMode);
     volume.setSrdfGroup(URI.create(raGroup));
   }
 }