Delete warnings in location
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / model / location / ReferenceSystem.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package eu.etaxonomy.cdm.model.location;
11
12
13 import eu.etaxonomy.cdm.model.common.DefinedTermBase;
14 import org.apache.log4j.Logger;
15 import javax.persistence.*;
16 import javax.xml.bind.annotation.XmlAccessType;
17 import javax.xml.bind.annotation.XmlAccessorType;
18 import javax.xml.bind.annotation.XmlRootElement;
19 import javax.xml.bind.annotation.XmlType;
20
21 /**
22 * Reference systems for coordinates also according to OGC (Open Geographical
23 * Consortium) The list should be extensible at runtime through configuration.
24 * This needs to be investigated.
25 * @author m.doering
26 * @version 1.0
27 * @created 08-Nov-2007 13:06:49
28 */
29 @XmlAccessorType(XmlAccessType.FIELD)
30 @XmlType(name = "ReferenceSystem")
31 @XmlRootElement(name = "ReferenceSystem")
32 @Entity
33 public class ReferenceSystem extends DefinedTermBase<ReferenceSystem> {
34 private static final long serialVersionUID = 2704455299046749175L;
35 private static final Logger logger = Logger.getLogger(ReferenceSystem.class);
36
37 /**
38 * Factory method
39 * @return
40 */
41 public static ReferenceSystem NewInstance(){
42 return new ReferenceSystem();
43 }
44
45 /**
46 * Factory method
47 * @return
48 */
49 public static ReferenceSystem NewInstance(String term, String label, String labelAbbrev){
50 return new ReferenceSystem(term, label, labelAbbrev);
51 }
52
53 /**
54 * Constructor
55 */
56 private ReferenceSystem() {
57 super();
58 }
59
60 /**
61 * Constructor
62 */
63 public ReferenceSystem(String term, String label, String labelAbbrev) {
64 super(term, label, labelAbbrev);
65 }
66
67
68 public static final ReferenceSystem WGS84(){
69 logger.warn("not yet implemented");
70 return null;
71 }
72
73 }