public class SectionDefaultCacheStrategy extends InRefDefaultCacheStrategyBase implements INomenclaturalReferenceCacheStrategy
afterInRefAuthor
afterAuthor, afterYear, beforeMicroReference, beforeYear
Modifier and Type | Method and Description |
---|---|
String |
getAbbrevTitleCache(Reference thisRef)
Returns the abbreviated title cache which is a title cache which uses the
abbrev title |
protected String |
getInRefType() |
String |
getNomenclaturalCitation(Reference 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 . |
String |
getTitleCache(Reference thisRef)
Returns the computed
title cache . |
protected String |
getTitleWithoutYearAndAuthor(Reference reference,
boolean isAbbrev) |
String |
getTokenizedNomenclaturalTitel(Reference section)
Returns the nomenclatural title with micro reference represented as token
which can later be replaced by the real data.
|
protected UUID |
getUuid() |
static SectionDefaultCacheStrategy |
NewInstance()
Factory method
|
getInRefAuthorPart, getTitleCache, getTokenizedNomenclaturalTitel
addYear, getBeforeMicroReference, getCitation
isBlank, isCollection, isNotBlank, isPrimitive, isSingleCdmBaseObject, isUserType, Nz
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBeforeMicroReference
getCitation
protected UUID getUuid()
getUuid
in class StrategyBase
protected String getInRefType()
getInRefType
in class InRefDefaultCacheStrategyBase
public static SectionDefaultCacheStrategy NewInstance()
protected String getTitleWithoutYearAndAuthor(Reference reference, boolean isAbbrev)
getTitleWithoutYearAndAuthor
in class NomRefDefaultCacheStrategyBase
public String getTokenizedNomenclaturalTitel(Reference section)
NomRefDefaultCacheStrategyBase
getTokenizedNomenclaturalTitel
in class InRefDefaultCacheStrategyBase
section
- The referenceINomenclaturalReference.MICRO_REFERENCE_TOKEN
public String getTitleCache(Reference thisRef)
IIdentifiableEntityCacheStrategy
title cache
.getTitleCache
in interface IIdentifiableEntityCacheStrategy<Reference>
getTitleCache
in class InRefDefaultCacheStrategyBase
thisRef
- the identifiable entitypublic String getAbbrevTitleCache(Reference thisRef)
IReferenceBaseCacheStrategy
abbrev title
getAbbrevTitleCache
in interface IReferenceBaseCacheStrategy
getAbbrevTitleCache
in class InRefDefaultCacheStrategyBase
public String getNomenclaturalCitation(Reference nomenclaturalReference, String microReference)
INomenclaturalReferenceCacheStrategy
reference
supplied - including
(abbreviated) title but not authors - and on the given details.cache strategy
.getNomenclaturalCitation
in interface INomenclaturalReferenceCacheStrategy
getNomenclaturalCitation
in class NomRefDefaultCacheStrategyBase
nomenclaturalReference
- The nomenclatural referencemicroReference
- the string with the details (generally pages)
corresponding to the nomenclatural reference supplied
as the first argumentINomenclaturalReference.getNomenclaturalCitation(String)
,
name.TaxonNameBase#getNomenclaturalReference()
,
strategy.cache.reference.INomenclaturalReferenceCacheStrategy
Copyright © 2007-2016 EDIT. All Rights Reserved.