Revision 353f7dda
Added by Patrick Plitzner about 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/workingSet/matrix/SpecimenWrapper.java | ||
---|---|---|
20 | 20 |
|
21 | 21 |
private SpecimenOrObservationBase specimen; |
22 | 22 |
private TaxonNode taxonNode; |
23 |
private String taxonNodeLabel; |
|
23 | 24 |
private String label; |
24 | 25 |
|
25 | 26 |
public SpecimenWrapper(SpecimenOrObservationBase specimen, TaxonNode taxonNode, String label) { |
26 | 27 |
super(); |
27 | 28 |
this.specimen = specimen; |
28 | 29 |
this.taxonNode = taxonNode; |
30 |
this.taxonNodeLabel = taxonNode.getTaxon().getName().getTitleCache(); |
|
29 | 31 |
this.label = label; |
30 | 32 |
} |
31 | 33 |
|
... | ... | |
37 | 39 |
return taxonNode; |
38 | 40 |
} |
39 | 41 |
|
42 |
public String getTaxonNodeLabel() { |
|
43 |
return taxonNodeLabel; |
|
44 |
} |
|
45 |
|
|
40 | 46 |
public String getLabel() { |
41 | 47 |
return label; |
42 | 48 |
} |
Also available in: Unified diff
ref #7095 Increase performance of specimen selection dialog