1
|
/**
|
2
|
* Copyright (C) 2009 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
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.
|
8
|
*/
|
9
|
|
10
|
package eu.etaxonomy.cdm.strategy.cache.reference;
|
11
|
|
12
|
import eu.etaxonomy.cdm.model.reference.INomenclaturalReference;
|
13
|
import eu.etaxonomy.cdm.model.reference.Reference;
|
14
|
|
15
|
/**
|
16
|
* A reference formatting strategy for all subclasses implementing INomenclaturalReference.
|
17
|
* @author a.mueller
|
18
|
*
|
19
|
* @param <T> The concrete Reference class this strategy applies for
|
20
|
*/
|
21
|
public interface INomenclaturalReferenceCacheStrategy extends IReferenceBaseCacheStrategy {
|
22
|
|
23
|
//
|
24
|
// /**
|
25
|
// * Returns the composed author string
|
26
|
// * @param object
|
27
|
// * @return
|
28
|
// */
|
29
|
// public String getTokenizedNomenclaturalTitel(Reference referenceBase);
|
30
|
|
31
|
/**
|
32
|
* Returns the character sequence before the micro reference (e.g. ": ")
|
33
|
* @return
|
34
|
*/
|
35
|
public String getBeforeMicroReference();
|
36
|
|
37
|
/**
|
38
|
* Returns a formatted string containing the entire citation used for
|
39
|
* nomenclatural purposes based on the {@link Reference reference} supplied - including
|
40
|
* (abbreviated) title but not authors - and on the given details.<BR>
|
41
|
* The returned string is build according to the corresponding
|
42
|
* {@link INomenclaturalReferenceCacheStrategy cache strategy}.
|
43
|
*
|
44
|
* @param nomenclaturalReference The nomenclatural reference
|
45
|
* @param microReference the string with the details (generally pages)
|
46
|
* corresponding to the nomenclatural reference supplied
|
47
|
* as the first argument
|
48
|
* @return the formatted string representing the
|
49
|
* nomenclatural citation
|
50
|
* @see INomenclaturalReference#getNomenclaturalCitation(String)
|
51
|
* @see name.TaxonNameBase#getNomenclaturalReference()
|
52
|
* @see strategy.cache.reference.INomenclaturalReferenceCacheStrategy
|
53
|
*/
|
54
|
public String getNomenclaturalCitation(Reference nomenclaturalReference, String microReference);
|
55
|
}
|