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
;
12 import eu
.etaxonomy
.cdm
.model
.common
.OrderedTermBase
;
13 import org
.apache
.log4j
.Logger
;
14 import javax
.persistence
.*;
17 * Controlled vocabulary to diferenctiate levels of areas such as province, state,
21 * @created 08-Nov-2007 13:06:36
24 public class NamedAreaLevel
extends OrderedTermBase
<NamedAreaLevel
> {
25 static Logger logger
= Logger
.getLogger(NamedAreaLevel
.class);
31 public static NamedAreaLevel
NewInstance(){
32 return new NamedAreaLevel();
39 public static NamedAreaLevel
NewInstance(String term
, String label
, String labelAbbrev
){
40 return new NamedAreaLevel(term
, label
, labelAbbrev
);
46 protected NamedAreaLevel() {
50 protected NamedAreaLevel(String term
, String label
, String labelAbbrev
) {
51 super(term
, label
, labelAbbrev
);
58 public static final NamedAreaLevel
TDWG_LEVEL1(){
65 public static final NamedAreaLevel
TDWG_LEVEL2(){
72 public static final NamedAreaLevel
TDWG_LEVEL3(){
76 public static final NamedAreaLevel
TDWG_LEVEL4(){
80 public static final NamedAreaLevel
NATURE_RESERVE(){
84 public static final NamedAreaLevel
STATE(){
88 public static final NamedAreaLevel
PROVINCE(){
92 public static final NamedAreaLevel
TOWN(){