Major update to the latest CDM definition 2.Nov.2007
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / name / HybridRelationship.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.ReferencedEntityBase;
14 import org.apache.log4j.Logger;
15
16 /**
17 * http://rs.tdwg.org/ontology/voc/TaxonName.rdf#NomenclaturalNote
18 * @author m.doering
19 * @version 1.0
20 * @created 02-Nov-2007 18:14:51
21 */
22 public class HybridRelationship extends ReferencedEntityBase {
23 static Logger logger = Logger.getLogger(HybridRelationship.class);
24
25 //The nomenclatural code rule considered. The article/note/recommendation in the code in question that is commented on in
26 //the note property.
27 @Description("The nomenclatural code rule considered. The article/note/recommendation in the code in question that is commented on in the note property.")
28 private String ruleConsidered;
29 private BotanicalName parentName;
30 private BotanicalName hybridName;
31 private HybridRelationshipType type;
32
33 public HybridRelationshipType getType(){
34 return type;
35 }
36
37 /**
38 *
39 * @param newVal
40 */
41 public void setType(HybridRelationshipType newVal){
42 type = newVal;
43 }
44
45 public BotanicalName getParentName(){
46 return parentName;
47 }
48
49 /**
50 *
51 * @param newVal
52 */
53 public void setParentName(BotanicalName newVal){
54 parentName = newVal;
55 }
56
57 public BotanicalName getHybridName(){
58 return hybridName;
59 }
60
61 /**
62 *
63 * @param newVal
64 */
65 public void setHybridName(BotanicalName newVal){
66 hybridName = newVal;
67 }
68
69 public String getRuleConsidered(){
70 return ruleConsidered;
71 }
72
73 /**
74 *
75 * @param newVal
76 */
77 public void setRuleConsidered(String newVal){
78 ruleConsidered = newVal;
79 }
80
81 }