public synchronized void setMonomerCache(MonomerCache remoteMonomerCache) throws IOException, MonomerException {
		monomerDB = remoteMonomerCache.getMonomerDB();
		attachmentDB = remoteMonomerCache.getAttachmentDB();
		smilesMonomerDB = remoteMonomerCache.getSmilesMonomerDB();

		dbChanged = true;
	}
public synchronized void setMonomerCache ( MonomerCache remoteMonomerCache ) throws IOException , MonomerException { monomerDB = remoteMonomerCache . getMonomerDB ( ) ; attachmentDB = remoteMonomerCache . getAttachmentDB ( ) ; smilesMonomerDB = remoteMonomerCache . getSmilesMonomerDB ( ) ; dbChanged = true ; }
replace local cache with remote one completely, may cause loss of data

@param remoteMonomerCache
remote monomer cache
@throws java.io.IOException
if monomer store can not be read
@throws org.helm.notation2.exception.MonomerException
if monomer is not valid