Revision 9dc896c9
Added by Andreas Müller almost 7 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/cache/name/INonViralNameCacheStrategy.java | ||
---|---|---|
8 | 8 |
*/ |
9 | 9 |
package eu.etaxonomy.cdm.strategy.cache.name; |
10 | 10 |
|
11 |
import eu.etaxonomy.cdm.model.name.ITaxonNameBase;
|
|
11 |
import eu.etaxonomy.cdm.model.name.INonViralName;
|
|
12 | 12 |
|
13 | 13 |
/** |
14 |
* A name cache rendering strategy for all TaxonNameBase subclasses.
|
|
15 |
* Different TaxonNameBase subclasses could have different strategies.
|
|
14 |
* A name cache rendering strategy for all TaxonName subclasses. |
|
15 |
* Different TaxonName subclasses could have different strategies. |
|
16 | 16 |
* @author a.mueller |
17 | 17 |
* |
18 | 18 |
* @param <T> The concrete TaxonName class this strategy applies for |
19 | 19 |
*/ |
20 |
public interface INonViralNameCacheStrategy<T extends ITaxonNameBase> extends INameCacheStrategy<T> {
|
|
20 |
public interface INonViralNameCacheStrategy<T extends INonViralName> extends INameCacheStrategy<T> {
|
|
21 | 21 |
|
22 | 22 |
/** |
23 |
* returns the last epithet of the name (i.e. uninomial if generic or above, infrageneric epithet if infrageneric,
|
|
23 |
* Returns the last epithet of the name (i.e. uninomial if generic or above, infrageneric epithet if infrageneric,
|
|
24 | 24 |
* specific epithet if species and infraspecific epithet if infraspecific, possibly with other information (e.g. ranks |
25 | 25 |
* in infraspecific names, indications of hybrid status etc)). |
26 | 26 |
* |
... | ... | |
30 | 30 |
* @param object |
31 | 31 |
* @return |
32 | 32 |
*/ |
33 |
public String getLastEpithet(T taxonNameBase);
|
|
33 |
public String getLastEpithet(T taxonName); |
|
34 | 34 |
|
35 |
/** |
|
36 |
* returns the composed scientific taxon name string without authors nor year |
|
37 |
* @param object |
|
38 |
* @return |
|
39 |
*/ |
|
40 |
@Override |
|
41 |
public String getNameCache(T taxonNameBase); |
|
42 | 35 |
|
43 |
/** |
|
44 |
* returns the composed author string |
|
45 |
* @param object |
|
46 |
* @return |
|
47 |
*/ |
|
48 |
public String getAuthorshipCache(T nonViralName); |
|
49 | 36 |
|
50 | 37 |
} |
Also available in: Unified diff
fix #6368 rename table and class TaxonNameBase