class PersistableCatalogMapper implements Mapper<PersistableCatalog, Catalog> {

	@Override
	public Catalog convert(PersistableCatalog source, MerchantStore store, Language language) {<FILL_FUNCTION_BODY>}

	@Override
	public Catalog merge(PersistableCatalog source, Catalog destination, MerchantStore store, Language language) {
		
		
		destination.setCode(source.getCode());
		destination.setDefaultCatalog(source.isDefaultCatalog());
		destination.setId(source.getId());
		destination.setMerchantStore(store);
		destination.setVisible(source.isVisible());
		
		return destination;
	}

}

		Catalog c = new Catalog();
		return this.merge(source, c, store, language);
	
<no_super_class>