|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.etaxonomy.cdm.strategy.StrategyBase
eu.etaxonomy.cdm.strategy.cache.reference.NomRefDefaultCacheStrategyBase<T>
public abstract class NomRefDefaultCacheStrategyBase<T extends Reference>
| Field Summary | |
|---|---|
protected String |
afterAuthor
|
protected String |
afterYear
|
protected String |
beforeMicroReference
|
protected String |
beforeYear
|
| Constructor Summary | |
|---|---|
NomRefDefaultCacheStrategyBase()
|
|
| Method Summary | |
|---|---|
protected String |
addYear(String string,
T nomRef,
boolean useFullDatePublished)
|
String |
getBeforeMicroReference()
Returns the character sequence before the micro reference (e.g. |
String |
getCitation(T referenceBase)
Returns a short version of the reference, suitable for citation (e.g. |
String |
getNomenclaturalCitation(T nomenclaturalReference,
String microReference)
Returns a formatted string containing the entire citation used for nomenclatural purposes based on the reference supplied - including
(abbreviated) title but not authors - and on the given details.The returned string is build according to the corresponding cache strategy. |
protected abstract String |
getNomRefTitleWithoutYearAndAuthor(T reference)
|
String |
getTitleCache(T nomenclaturalReference)
returns the composed scientific taxon name string without authors nor year |
String |
getTokenizedNomenclaturalTitel(T nomenclaturalReference)
returns the composed author string |
| Methods inherited from class eu.etaxonomy.cdm.strategy.StrategyBase |
|---|
getUuid, isCollection, isPrimitive, isSingleCdmBaseObject, isUserType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String beforeYear
protected String beforeMicroReference
protected String afterYear
protected String afterAuthor
| Constructor Detail |
|---|
public NomRefDefaultCacheStrategyBase()
| Method Detail |
|---|
public String getTokenizedNomenclaturalTitel(T nomenclaturalReference)
INomenclaturalReferenceCacheStrategy
getTokenizedNomenclaturalTitel in interface INomenclaturalReferenceCacheStrategy<T extends Reference>public String getTitleCache(T nomenclaturalReference)
INomenclaturalReferenceCacheStrategy
getTitleCache in interface IIdentifiableEntityCacheStrategy<T extends Reference>getTitleCache in interface INomenclaturalReferenceCacheStrategy<T extends Reference>public String getCitation(T referenceBase)
IReferenceBaseCacheStrategy
getCitation in interface IReferenceBaseCacheStrategy<T extends Reference>public String getBeforeMicroReference()
INomenclaturalReferenceCacheStrategy
getBeforeMicroReference in interface INomenclaturalReferenceCacheStrategy<T extends Reference>
protected String addYear(String string,
T nomRef,
boolean useFullDatePublished)
protected abstract String getNomRefTitleWithoutYearAndAuthor(T reference)
public String getNomenclaturalCitation(T nomenclaturalReference,
String microReference)
INomenclaturalReferenceCacheStrategyreference supplied - including
(abbreviated) title but not authors - and on the given details.cache strategy.
getNomenclaturalCitation in interface INomenclaturalReferenceCacheStrategy<T extends Reference>nomenclaturalReference - The nomenclatural referencemicroReference - the string with the details (generally pages)
corresponding to the nomenclatural reference supplied
as the first argument
INomenclaturalReference.getNomenclaturalCitation(String),
name.TaxonNameBase#getNomenclaturalReference(),
strategy.cache.reference.INomenclaturalReferenceCacheStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||