eu.etaxonomy.cdm.strategy.cache.reference
Class ArticleDefaultCacheStrategy<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.ArticleDefaultCacheStrategy<T>
All Implemented Interfaces:
IIdentifiableEntityCacheStrategy<T>, INomenclaturalReferenceCacheStrategy<T>, IReferenceBaseCacheStrategy<T>, IStrategy, Serializable

public class ArticleDefaultCacheStrategy<T extends Reference>
extends NomRefDefaultCacheStrategyBase<T>
implements INomenclaturalReferenceCacheStrategy<T>

See Also:
Serialized Form

Field Summary
static String UNDEFINED_JOURNAL
           
 
Fields inherited from class eu.etaxonomy.cdm.strategy.cache.reference.NomRefDefaultCacheStrategyBase
afterAuthor, afterYear, beforeMicroReference, beforeYear
 
Method Summary
protected  String getNomRefTitleWithoutYearAndAuthor(T article)
           
protected  String getSeriesAndVolPart(String series, String volume, boolean needsComma, String nomRefCache)
           
 String getTitleCache(T article)
          returns the composed scientific taxon name string without authors nor year
protected  UUID getUuid()
           
static ArticleDefaultCacheStrategy NewInstance()
          Factory method
 
Methods inherited from class eu.etaxonomy.cdm.strategy.cache.reference.NomRefDefaultCacheStrategyBase
addYear, getBeforeMicroReference, getCitation, getNomenclaturalCitation, getTokenizedNomenclaturalTitel
 
Methods inherited from class eu.etaxonomy.cdm.strategy.StrategyBase
isCollection, isPrimitive, isSingleCdmBaseObject, isUserType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.etaxonomy.cdm.strategy.cache.reference.INomenclaturalReferenceCacheStrategy
getBeforeMicroReference, getNomenclaturalCitation, getTokenizedNomenclaturalTitel
 
Methods inherited from interface eu.etaxonomy.cdm.strategy.cache.reference.IReferenceBaseCacheStrategy
getCitation
 

Field Detail

UNDEFINED_JOURNAL

public static final String UNDEFINED_JOURNAL
See Also:
Constant Field Values
Method Detail

getUuid

protected UUID getUuid()
Specified by:
getUuid in class StrategyBase

NewInstance

public static ArticleDefaultCacheStrategy NewInstance()
Factory method

Returns:

getTitleCache

public String getTitleCache(T article)
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:

getNomRefTitleWithoutYearAndAuthor

protected String getNomRefTitleWithoutYearAndAuthor(T article)
Specified by:
getNomRefTitleWithoutYearAndAuthor in class NomRefDefaultCacheStrategyBase<T extends Reference>

getSeriesAndVolPart

protected String getSeriesAndVolPart(String series,
                                     String volume,
                                     boolean needsComma,
                                     String nomRefCache)


Copyright © 2007-2013 EDIT. All Rights Reserved.