View Javadoc

1   package uk.ac.cam.spectra;
2   
3   /**
4    * Simple enumeration of ways of combining metadata
5    * 
6    * @author Jim Downing
7    * 
8    */
9   public enum Combine {
10  
11      /**
12       * If a statement with equivalent subject and predicate exists in the target
13       * model, it will be removed and replaced with the statement passed in.
14       */
15      overwrite,
16      /**
17       * If a statement with equivalent subject and predicate exists in the target
18       * model, no statement will be added.
19       */
20      underwrite,
21      /**
22       * Statements will be added to the target model regardless of whether there
23       * are common subject-predicate statements present.
24       */
25      combine;
26  }