eu.etaxonomy.cdm.strategy.cache.reference
Class InRefDefaultCacheStrategyBase<T extends Reference>

java.lang.Object
  extended by eu.etaxonomy.cdm.strategy.StrategyBase
      extended by eu.etaxonomy.cdm.strategy.cache.reference.NomRefDefaultCacheStrategyBase<T>
          extended by eu.etaxonomy.cdm.strategy.cache.reference.InRefDefaultCacheStrategyBase<T>
All Implemented Interfaces:
IIdentifiableEntityCacheStrategy<T>, INomenclaturalReferenceCacheStrategy<T>, IReferenceBaseCacheStrategy<T>, IStrategy, Serializable
Direct Known Subclasses:
BookSectionDefaultCacheStrategy, GenericDefaultCacheStrategy

public abstract class InRefDefaultCacheStrategyBase<T extends Reference>
extends NomRefDefaultCacheStrategyBase<T>

Author:
a.mueller
See Also:
Serialized Form

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.strategy.cache.reference.NomRefDefaultCacheStrategyBase
afterAuthor, afterYear, beforeMicroReference, beforeYear
 
Constructor Summary
InRefDefaultCacheStrategyBase()
           
 
Method Summary
protected  String getInRefAuthorPart(Reference book, String seperator)
           
protected abstract  String getInRefType()
           
 String getTitleCache(T thisRef)
          returns the composed scientific taxon name string without authors nor year
protected  String getTitleCache(T thisRef, boolean inRefIsObligatory)
           
 String getTokenizedNomenclaturalTitel(T generic)
          returns the composed author string
protected  String getTokenizedNomenclaturalTitel(T thisRef, boolean inRefIsObligatory)
           
 
Methods inherited from class eu.etaxonomy.cdm.strategy.cache.reference.NomRefDefaultCacheStrategyBase
addYear, getBeforeMicroReference, getCitation, getNomenclaturalCitation, getNomRefTitleWithoutYearAndAuthor
 
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
 

Constructor Detail

InRefDefaultCacheStrategyBase

public InRefDefaultCacheStrategyBase()
Method Detail

getInRefType

protected abstract String getInRefType()

getTokenizedNomenclaturalTitel

public String getTokenizedNomenclaturalTitel(T generic)
Description copied from interface: INomenclaturalReferenceCacheStrategy
returns the composed author string

Specified by:
getTokenizedNomenclaturalTitel in interface INomenclaturalReferenceCacheStrategy<T extends Reference>
Overrides:
getTokenizedNomenclaturalTitel in class NomRefDefaultCacheStrategyBase<T extends Reference>
Returns:

getTokenizedNomenclaturalTitel

protected String getTokenizedNomenclaturalTitel(T thisRef,
                                                boolean inRefIsObligatory)

getInRefAuthorPart

protected String getInRefAuthorPart(Reference book,
                                    String seperator)

getTitleCache

public String getTitleCache(T thisRef)
Description copied from interface: INomenclaturalReferenceCacheStrategy
returns the composed scientific taxon name string without authors nor year

Specified by:
getTitleCache in interface IIdentifiableEntityCacheStrategy<T extends Reference>
Specified by:
getTitleCache in interface INomenclaturalReferenceCacheStrategy<T extends Reference>
Overrides:
getTitleCache in class NomRefDefaultCacheStrategyBase<T extends Reference>
Returns:

getTitleCache

protected String getTitleCache(T thisRef,
                               boolean inRefIsObligatory)


Copyright © 2007-2013 EDIT. All Rights Reserved.