View Javadoc

1   package uk.ac.cam.spectra;
2   
3   
4   /**
5    * Enumeration of metadata fields, giving namespace, element and xsi type uri
6    * for each field, plus library functions for encoding Spectra embargo metadata
7    * as XML.
8    * 
9    * @author Jim Downing
10   */
11  public class SpectraMetadata {
12  	private SpectraMetadata() {
13  		;
14  	}
15  
16  	public static final DateProperty embargo_date = new DateProperty(
17  			Constants.SPECTRA_NS, "embargo_date");
18  
19  	public static final IntegerProperty embargo_period = new IntegerProperty(
20  			Constants.SPECTRA_NS, "embargo_period");
21  
22  	public static final MetadataProperty embargo_release = new LiteralProperty(
23  			Constants.SPECTRA_NS, "embargo_release");
24  
25  	public static final DateProperty experiment_date = new DateProperty(
26  			Constants.SPECTRA_NS, "experiment_date");
27  
28  	public static final MetadataProperty experiment_ref = new LiteralProperty(
29  			Constants.SPECTRA_NS, "experiment_ref");
30  
31  	public static final MetadataProperty chemical_formula = new LiteralProperty(
32  			Constants.SPECTRA_NS, "chemical_formula");
33  
34  	public static final MetadataProperty chemical_systematic_name = new LiteralProperty(
35  			Constants.SPECTRA_NS, "chemical_systematic_name");
36  
37  	public static final MetadataProperty chemist = new LiteralProperty(
38  			Constants.SPECTRA_NS, "chemist");
39  
40  	public static final MetadataProperty supervisor = new LiteralProperty(
41  			Constants.SPECTRA_NS, "supervisor");
42  
43  	public static final MetadataProperty institution = new LiteralProperty(
44  			Constants.SPECTRA_NS, "institution");
45  
46  	public static final MetadataProperty inchi = new LiteralProperty(
47  			Constants.SPECTRA_NS, "InChI");
48  
49  	public static final MetadataProperty handle = new LiteralProperty(
50  			Constants.SPECTRA_NS, "handle");
51  
52  	public static final MetadataProperty chemical_compound_class = new LiteralProperty(
53  			Constants.SPECTRA_NS, "compound_class");
54  
55  }