View Javadoc

1   //
2   // $Revision: 5 $
3   // $LastChangedBy: mhanns $
4   // $Date: 2010-04-01 10:10:45 +0200 (Do, 01 Apr 2010) $
5   // $HeadURL: https://modelrepository.svn.sourceforge.net/svnroot/modelrepository/trunk/repository/src/main/java/de/uni_leipzig/wifa/iwi/mr3/service/CompareProcessor.java $
6   //
7   
8   package de.uni_leipzig.wifa.iwi.mr3.service;
9   
10  import de.uni_leipzig.wifa.iwi.mr3.common.Comparison;
11  
12  /**
13   * Compare processor.
14   */
15  public interface CompareProcessor
16  {
17    /**
18     * Processes a compare request.
19     *
20     * @param leftUri
21     *          the namespace uri of the left model
22     * @param rightUri
23     *          the namespace uri of the right model
24     * @return the comparison result
25     * @throws MRException
26     *           Service level exception
27     */
28    Comparison process(final String leftUri, final String rightUri) throws MRException;
29  }