for (Reference r : refs) {
pMet.replaceMetadata(ProductMetKeys.PRODUCT_ORIG_REFS, r.getOrigReference() != null
? VersioningUtils
.getAbsolutePathFromUri(r.getOrigReference()):"unknown");
pMet.replaceMetadata(ProductMetKeys.PRODUCT_DATASTORE_REFS,
r.getDataStoreReference() != null ?
VersioningUtils.getAbsolutePathFromUri(r.getDataStoreReference()):"unknown");
pMet.replaceMetadata(ProductMetKeys.PRODUCT_FILE_SIZES, String.valueOf(r
.getFileSize()));
pMet.replaceMetadata(ProductMetKeys.PRODUCT_MIME_TYPES,