2 * Copyright (C) 2023 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
.persistence
.dto
;
12 import java
.util
.UUID
;
17 public class NameMatchingParts
{
19 protected Integer taxonNameId
;
21 protected UUID taxonNameUuid
;
23 protected String titleCache
;
25 protected String authorshipCache
;
27 protected String genusOrUninomial
;
29 protected String infraGenericEpithet
;
31 protected String specificEpithet
;
33 protected String infraSpecificEpithet
;
35 protected String nameCache
;
37 //************ CONSTRUCTOR ***********************/
39 public NameMatchingParts() {
42 public NameMatchingParts(Integer taxonNameId
, UUID taxonNameUuid
, String titleCache
, String authorshipCache
,
43 String genusOrUninomial
, String infraGenericEpithet
, String specificEpithet
, String infraSpecificEpithet
, String nameCache
) {
45 this.taxonNameId
= taxonNameId
;
46 this.taxonNameUuid
= taxonNameUuid
;
47 this.titleCache
= titleCache
;
48 this.authorshipCache
= authorshipCache
;
49 this.genusOrUninomial
= genusOrUninomial
;
50 this.infraGenericEpithet
= infraGenericEpithet
;
51 this.specificEpithet
= specificEpithet
;
52 this.infraSpecificEpithet
= infraSpecificEpithet
;
53 this.nameCache
= nameCache
;
56 //***************** GETTER / SETTER ********************************/
57 public Integer
getTaxonNameId() {
61 public void setTaxonNameId(Integer taxonNameId
) {
62 this.taxonNameId
= taxonNameId
;
65 public UUID
getTaxonNameUuid() {
69 public void setTaxonNameUuid(UUID taxonNameUuid
) {
70 this.taxonNameUuid
= taxonNameUuid
;
73 public String
getTitleCache() {
77 public void setTitleCache(String titleCache
) {
78 this.titleCache
= titleCache
;
81 public String
getAuthorshipCache() {
82 return authorshipCache
;
85 public void setAuthorshipCache(String authorshipCache
) {
86 this.authorshipCache
= authorshipCache
;
89 public String
getGenusOrUninomial() {
90 return genusOrUninomial
;
93 public void setGenusOrUninomial(String genusOrUninomial
) {
94 this.genusOrUninomial
= genusOrUninomial
;
97 public String
getInfraGenericEpithet() {
98 return infraGenericEpithet
;
101 public void setInfraGenericEpithet(String infraGenericEpithet
) {
102 this.infraGenericEpithet
= infraGenericEpithet
;
105 public String
getSpecificEpithet() {
106 return specificEpithet
;
109 public void setSpecificEpithet(String specificEpithet
) {
110 this.specificEpithet
= specificEpithet
;
113 public String
getInfraSpecificEpithet() {
114 return infraSpecificEpithet
;
117 public void setInfraSpecificEpithet(String infraSpecificEpithet
) {
118 this.infraSpecificEpithet
= infraSpecificEpithet
;
121 public String
getNameCache() {
125 public void setNameCache(String nameCache
) {
126 this.nameCache
= nameCache
;
129 // ************************** TO STRING *************************************/
132 public String
toString() {
133 return "NameMatchingParts [taxonNameId=" + taxonNameId
+ ", genusOrUninomial=" + genusOrUninomial
134 + ", infraGenericEpithet=" + infraGenericEpithet
+ ", specificEpithet=" + specificEpithet
135 + ", infraSpecificEpithet=" + infraSpecificEpithet
+ ", nameCache=" + nameCache
+ "]";