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
.VersionableEntity
;
14 import org
.apache
.log4j
.Logger
;
15 import org
.hibernate
.annotations
.Cascade
;
16 import org
.hibernate
.annotations
.CascadeType
;
19 import javax
.persistence
.*;
24 * @created 08-Nov-2007 13:06:44
28 static Logger logger
= Logger
.getLogger(Point
.class);
29 private float longitude
;
30 private float latitude
;
32 private int errorRadius
= 0;
33 private ReferenceSystem referenceSystem
;
36 public ReferenceSystem
getReferenceSystem(){
37 return this.referenceSystem
;
42 * @param referenceSystem referenceSystem
44 public void setReferenceSystem(ReferenceSystem referenceSystem
){
45 this.referenceSystem
= referenceSystem
;
48 public float getLongitude(){
49 return this.longitude
;
54 * @param longitude longitude
56 public void setLongitude(float longitude
){
57 this.longitude
= longitude
;
60 public float getLatitude(){
66 * @param latitude latitude
68 public void setLatitude(float latitude
){
69 this.latitude
= latitude
;
72 public int getErrorRadius(){
73 return this.errorRadius
;
78 * @param errorRadius errorRadius
80 public void setErrorRadius(int errorRadius
){
81 this.errorRadius
= errorRadius
;