Project

General

Profile

« Previous | Next » 

Revision 87bd976a

Added by Andreas Müller about 4 years ago

ref #1447 further improve findIdenticalNames for PESI

View differences:

cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/pesi/merging/PesiMergeObject.java
18 18

  
19 19
	private String nameCache;
20 20

  
21
	private boolean status;
21
	private boolean isStatus;
22 22

  
23 23
	private String author;
24 24

  
25 25
	private String rank;
26 26

  
27
	private String nomenclaturalReference;
28

  
27 29
	private TaxonNodeDto phylum;
28 30

  
29 31
	private TaxonNodeDto kingdom;
......
74 76
		this.rank = rank;
75 77
	}
76 78

  
77
	public TaxonNodeDto getPhylum() {
78
		return phylum;
79
	}
80
	public void setPhylum(TaxonNodeDto phylum) {
81
		this.phylum = phylum;
82
	}
83

  
84 79
	public boolean isStatus() {
85
		return status;
80
		return isStatus;
86 81
	}
82
    public String getStatusStr() {
83
        return isStatus? "accepted":"synonym";
84
    }
87 85
	public void setStatus(boolean status) {
88
		this.status = status;
86
		this.isStatus = status;
89 87
	}
90 88

  
91 89
	public String getAuthor() {
......
112 110
    public TaxonNodeDto getKingdom() {
113 111
        return kingdom;
114 112
    }
113
    public String getKingdomCache() {
114
        return kingdom == null? null : kingdom.getNameCache();
115
    }
115 116
    public void setKingdom(TaxonNodeDto kingdom) {
116 117
        this.kingdom = kingdom;
117 118
    }
118 119

  
120
    public TaxonNodeDto getPhylum() {
121
        return phylum;
122
    }
123
    public String getPhylumCache() {
124
        return phylum == null? null : phylum.getNameCache();
125
    }
126
    public void setPhylum(TaxonNodeDto phylum) {
127
        this.phylum = phylum;
128
    }
129

  
119 130
    public TaxonNodeDto getFamily() {
120 131
        return family;
121 132
    }
133
    public String getFamilyCache() {
134
        return family == null? null : family.getNameCache();
135
    }
122 136
    public void setFamily(TaxonNodeDto family) {
123 137
        this.family = family;
124 138
    }
......
146 160
    public void setUuidSource(String uuidSource) {
147 161
        this.uuidSource = uuidSource;
148 162
    }
163

  
164
    public String getNomenclaturalReference() {
165
        return nomenclaturalReference;
166
    }
167
    public void setNomenclaturalReference(String nomenclaturalReference) {
168
        this.nomenclaturalReference = nomenclaturalReference;
169
    }
149 170
}

Also available in: Unified diff