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
.name
;
13 import etaxonomy
.cdm
.model
.common
.EnumeratedTermBase
;
14 import org
.apache
.log4j
.Logger
;
17 * The list should be extensible at runtime through configuration. This needs to
26 * ------------------------
28 * TreatedAsLaterHomonym,
32 * ------------------------
36 * OrthographyConserved
39 * -----------------------------------
41 * LaterValidatedByName
44 * @created 02-Nov-2007 18:15:03
46 public class NameRelationshipType
extends EnumeratedTermBase
{
47 static Logger logger
= Logger
.getLogger(NameRelationshipType
.class);
50 private static final int initializationClassUri
= http
://rs.tdwg.org/ontology/voc/TaxonName.rdf#NomenclaturalNoteTypeTerm;
52 public getInitializationClassUri(){
53 return initializationClassUri
;
60 public void setInitializationClassUri(newVal
){
61 initializationClassUri
= newVal
;
64 public boolean isInvalidType(){
65 //True, if enum is of type:
71 //LaterValidatedByName
76 public boolean isLegitimateType(){
77 //True, if enum is of type:
86 //OrthographyConserved,
93 public boolean isIllegitimateType(){
94 //True, if enum is of type:
98 //TreatedAsLaterHomonym,
103 //OrthographyConservedProp
108 public static final NameRelationshipType
ORTHOGRAPHIC_VARIANT(){
112 public static final NameRelationshipType
REJECTED_IN_FAVOUR(){
116 public static final NameRelationshipType
LATER_HOMONYM(){
120 public static final NameRelationshipType
TREATED_AS_LATER_HOMONYM(){
124 public static final NameRelationshipType
ALTERNATIVE_NAME(){
128 public static final NameRelationshipType
BASIONYM(){
132 public static final NameRelationshipType
REPLACED_SYNONYM(){
136 public static final NameRelationshipType
CONSERVED_AGAINST(){
140 public static final NameRelationshipType
VALIDATED_BY_NAME(){
144 public static final NameRelationshipType
LATER_VALIDATED_BY_NAME(){