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
.ReferencedEntityBase
;
14 import org
.apache
.log4j
.Logger
;
17 * http://rs.tdwg.org/ontology/voc/TaxonName.rdf#NomenclaturalNote
20 * @created 02-Nov-2007 18:15:03
22 public class NameRelationship
extends ReferencedEntityBase
{
23 static Logger logger
= Logger
.getLogger(NameRelationship
.class);
25 //The nomenclatural code rule considered. The article/note/recommendation in the code in question that is commented on in
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 TaxonNameBase fromName
;
30 private NameRelationshipType type
;
31 private TaxonNameBase toName
;
33 public TaxonNameBase
getFromName(){
41 public void setFromName(TaxonNameBase newVal
){
45 public NameRelationshipType
getType(){
53 public void setType(NameRelationshipType newVal
){
57 public TaxonNameBase
getToName(){
65 public void setToName(TaxonNameBase newVal
){
69 public String
getRuleConsidered(){
70 return ruleConsidered
;
77 public void setRuleConsidered(String newVal
){
78 ruleConsidered
= newVal
;