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 etaxonomy
.cdm
.model
.location
;
13 import etaxonomy
.cdm
.model
.common
.EnumeratedTermBase
;
14 import org
.apache
.log4j
.Logger
;
19 * @created 02-Nov-2007 18:15:01
21 public class NamedArea
extends EnumeratedTermBase
{
22 static Logger logger
= Logger
.getLogger(NamedArea
.class);
24 //description of this area
25 @Description("description of this area")
26 private String description
;
27 //description of time valid context of this area. e.g. year range
28 @Description("description of time valid context of this area. e.g. year range")
29 private TimePeriod validPeriod
;
30 //Binary shape definition for user's defined area as polygon
31 @Description("Binary shape definition for user's defined area as polygon")
32 private Binary shapeFile
;
33 private NamedAreaInSource source
;
34 private ArrayList countriesOrWaterbodies
;
35 private NamedAreaType type
;
36 private NamedAreaLevel level
;
38 public NamedAreaInSource
getSource(){
46 public void setSource(NamedAreaInSource newVal
){
50 public ArrayList
getCountriesOrWaterbodies(){
51 return countriesOrWaterbodies
;
58 public void setCountriesOrWaterbodies(ArrayList newVal
){
59 countriesOrWaterbodies
= newVal
;
62 public NamedAreaType
getType(){
70 public void setType(NamedAreaType newVal
){
74 public NamedAreaLevel
getLevel(){
82 public void setLevel(NamedAreaLevel newVal
){
86 public String
getDescription(){
94 public void setDescription(String newVal
){
98 public TimePeriod
getValidPeriod(){
106 public void setValidPeriod(TimePeriod newVal
){
107 validPeriod
= newVal
;
110 public Binary
getShapeFile(){
118 public void setShapeFile(Binary newVal
){