Project

General

Profile

1
package eu.dnetlib.data.oai.store;
2

    
3
public interface RecordChangeDetector {
4

    
5
	/**
6
	 * Checks if the two records have differences based on logics that vary on the actual implementor class.
7
	 * 
8
	 * @param record1
9
	 *            first record to compare
10
	 * @param record2
11
	 *            second record to compare
12
	 * @return true if the two records differ based on the implementor's logics
13
	 */
14
	boolean differs(final String record1, final String record2);
15
}
(6-6/6)