Revision 143a6271
Added by Katja Luther over 1 year ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/cache/TagEnum.java | ||
---|---|---|
88 | 88 |
* a secundum micro reference (for TaxonBase) |
89 | 89 |
*/ |
90 | 90 |
secMicroReference, |
91 |
/** |
|
92 |
* a separator for name in source of secundum reference(for TaxonBase) |
|
93 |
*/ |
|
94 |
secNameInSourceSeparator, |
|
95 |
|
|
91 | 96 |
// /** |
92 | 97 |
// * a secundum reference as used in a misapplied name (for TaxonRelationship) |
93 | 98 |
// */ |
cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/cache/taxon/TaxonBaseDefaultCacheStrategy.java | ||
---|---|---|
89 | 89 |
tags.addAll(secTags); |
90 | 90 |
List<TaggedText> secNameUsedInSourceTags = getSecNameUsedInSourceTags(taxonBase); |
91 | 91 |
if (!secNameUsedInSourceTags.isEmpty()){ |
92 |
tags.add(new TaggedText(TagEnum.separator, " (sub ")); |
|
92 |
tags.add(new TaggedText(TagEnum.secNameInSourceSeparator, " (sub "));
|
|
93 | 93 |
tags.addAll(secNameUsedInSourceTags); |
94 |
tags.add(new TaggedText(TagEnum.separator, ")")); |
|
94 |
tags.add(new TaggedText(TagEnum.secNameInSourceSeparator, ")"));
|
|
95 | 95 |
} |
96 | 96 |
}else if (isMisapplication && isBlank(taxonBase.getAppendedPhrase())){ |
97 | 97 |
tags.add(new TaggedText(TagEnum.appendedPhrase, "auct.")); |
Also available in: Unified diff
ref #10081: add tag secNameInSourceSeparator and use it in cacheStrategy