2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.model
.location
;
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
;
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.
27 * @created 08-Nov-2007 13:06:49
29 @XmlAccessorType(XmlAccessType
.FIELD
)
30 @XmlType(name
= "ReferenceSystem")
31 @XmlRootElement(name
= "ReferenceSystem")
33 public class ReferenceSystem
extends DefinedTermBase
<ReferenceSystem
> {
34 private static final long serialVersionUID
= 2704455299046749175L;
35 private static final Logger logger
= Logger
.getLogger(ReferenceSystem
.class);
41 public static ReferenceSystem
NewInstance(){
42 return new ReferenceSystem();
49 public static ReferenceSystem
NewInstance(String term
, String label
, String labelAbbrev
){
50 return new ReferenceSystem(term
, label
, labelAbbrev
);
56 private ReferenceSystem() {
63 public ReferenceSystem(String term
, String label
, String labelAbbrev
) {
64 super(term
, label
, labelAbbrev
);
68 public static final ReferenceSystem
WGS84(){
69 logger
.warn("not yet implemented");