private Metadata buildProductMetadata(Product product, Metadata metadata)
throws CatalogException {
Metadata pMet = new Metadata();
pMet.replaceMetadata(ProductMetKeys.PRODUCT_ID, product.getProductId() != null ?
product.getProductId():"unknown");
pMet.replaceMetadata(ProductMetKeys.PRODUCT_NAME, product.getProductName() != null ?
product.getProductName():"unknown");
pMet.replaceMetadata(ProductMetKeys.PRODUCT_STRUCTURE, product
.getProductStructure() != null ? product.getProductStructure():"unknown");
pMet.replaceMetadata(ProductMetKeys.PRODUCT_TRANSFER_STATUS, product
.getTransferStatus() != null ? product.getTransferStatus():"unknown");