Major update to the latest CDM definition 2.Nov.2007
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / name / NameRelationshipType.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
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.
8 */
9
10 package etaxonomy.cdm.model.name;
11
12
13 import etaxonomy.cdm.model.common.EnumeratedTermBase;
14 import org.apache.log4j.Logger;
15
16 /**
17 * The list should be extensible at runtime through configuration. This needs to
18 * be investigated.
19 *
20 *
21 * Subgroups are:
22 * ================
23 *
24 *
25 * Illegitimate:
26 * ------------------------
27 * LaterHomonym,
28 * TreatedAsLaterHomonym,
29 * RejectedInFavour
30 *
31 * Legitimate:
32 * ------------------------
33 * ReplacedSynonym,
34 * AlternativeName,
35 * ConservedAgainst,
36 * OrthographyConserved
37 *
38 * Invalid:
39 * -----------------------------------
40 * ValidatedByName,
41 * LaterValidatedByName
42 * @author m.doering
43 * @version 1.0
44 * @created 02-Nov-2007 18:15:03
45 */
46 public class NameRelationshipType extends EnumeratedTermBase {
47 static Logger logger = Logger.getLogger(NameRelationshipType.class);
48
49 @Description("")
50 private static final int initializationClassUri = http://rs.tdwg.org/ontology/voc/TaxonName.rdf#NomenclaturalNoteTypeTerm;
51
52 public getInitializationClassUri(){
53 return initializationClassUri;
54 }
55
56 /**
57 *
58 * @param newVal
59 */
60 public void setInitializationClassUri(newVal){
61 initializationClassUri = newVal;
62 }
63
64 public boolean isInvalidType(){
65 //True, if enum is of type:
66 //Invalid,
67 //Nudum,
68 //Provisional,
69 //CombinationInvalid,
70 //ValidatedByName,
71 //LaterValidatedByName
72
73 return false;
74 }
75
76 public boolean isLegitimateType(){
77 //True, if enum is of type:
78 //Legitimate,
79 //Basionym,
80 //ReplacedSynonym,
81 //Novum,
82 //AlternativeName,
83 //Alternativ,
84 //ConservedAgainst,
85 //Conserved,
86 //OrthographyConserved,
87 //RejectedProp,
88 //UtiqueRejectedProp
89
90 return false;
91 }
92
93 public boolean isIllegitimateType(){
94 //True, if enum is of type:
95 //Illegitimate,
96 //Superfluous,
97 //LaterHomonym,
98 //TreatedAsLaterHomonym,
99 //RejectedInFavour,
100 //Rejected,
101 //UtiqueRejected,
102 //ConservedProp,
103 //OrthographyConservedProp
104
105 return false;
106 }
107
108 public static final NameRelationshipType ORTHOGRAPHIC_VARIANT(){
109 return null;
110 }
111
112 public static final NameRelationshipType REJECTED_IN_FAVOUR(){
113 return null;
114 }
115
116 public static final NameRelationshipType LATER_HOMONYM(){
117 return null;
118 }
119
120 public static final NameRelationshipType TREATED_AS_LATER_HOMONYM(){
121 return null;
122 }
123
124 public static final NameRelationshipType ALTERNATIVE_NAME(){
125 return null;
126 }
127
128 public static final NameRelationshipType BASIONYM(){
129 return null;
130 }
131
132 public static final NameRelationshipType REPLACED_SYNONYM(){
133 return null;
134 }
135
136 public static final NameRelationshipType CONSERVED_AGAINST(){
137 return null;
138 }
139
140 public static final NameRelationshipType VALIDATED_BY_NAME(){
141 return null;
142 }
143
144 public static final NameRelationshipType LATER_VALIDATED_BY_NAME(){
145 return null;
146 }
147
148 }