eu.etaxonomy.cdm.strategy.cache.name
Class ZooNameDefaultCacheStrategy

java.lang.Object
  extended by eu.etaxonomy.cdm.strategy.StrategyBase
      extended by eu.etaxonomy.cdm.strategy.cache.name.NameCacheStrategyBase<T>
          extended by eu.etaxonomy.cdm.strategy.cache.name.NonViralNameDefaultCacheStrategy<ZoologicalName>
              extended by eu.etaxonomy.cdm.strategy.cache.name.ZooNameDefaultCacheStrategy
All Implemented Interfaces:
IIdentifiableEntityCacheStrategy<ZoologicalName>, INameCacheStrategy<ZoologicalName>, INonViralNameCacheStrategy<ZoologicalName>, IStrategy, Serializable
Direct Known Subclasses:
ZooNameNoMarkerCacheStrategy

public class ZooNameDefaultCacheStrategy
extends NonViralNameDefaultCacheStrategy<ZoologicalName>
implements INonViralNameCacheStrategy<ZoologicalName>

See Also:
Serialized Form

Field Summary
protected  String AuthorYearSeperator
           
 
Fields inherited from class eu.etaxonomy.cdm.strategy.cache.name.NonViralNameDefaultCacheStrategy
BasionymAuthorCombinationAuthorSeperator, BasionymEnd, BasionymStart, ExAuthorSeperator, NameAuthorSeperator
 
Constructor Summary
protected ZooNameDefaultCacheStrategy()
          Constructor
 
Method Summary
 String getAuthorYearSeperator()
           
protected  List<TaggedText> getInfraSpeciesTaggedNameCache(ZoologicalName nonViralName)
          Creates the tag list for an infraspecific taxon.
protected  String getNonCacheAuthorshipCache(ZoologicalName nonViralName)
          Returns the authorshipcache string for the atomized authorship fields.
 UUID getUuid()
           
static ZooNameDefaultCacheStrategy NewInstance()
          Factory method
 void setAuthorYearSeperator(String authorYearSeperator)
           
 
Methods inherited from class eu.etaxonomy.cdm.strategy.cache.name.NonViralNameDefaultCacheStrategy
addAppendedTaggedPhrase, addInfraGenericPart, createString, createString, getAuthorAndExAuthor, getAuthorshipCache, getBasionymAuthorCombinationAuthorSeperator, getBasionymEnd, getBasionymStart, getExAuthorSeperator, getFullTitleCache, getFullTitleCache, getGenusOrUninomialTaggedNameCache, getInfraGenusTaggedNameCache, getInfraSpeciesTaggedNameCache, getLastEpithet, getNameAuthorSeperator, getNameCache, getRanklessTaggedNameCache, getSpeciesAggregateTaggedCache, getSpeciesTaggedNameCache, getTaggedFullTitle, getTaggedName, getTaggedTitle, getTitleCache, getTitleCache, nameIncludesAuthorship, NewInstance, setBasionymAuthorCombinationAuthorSeperator, setBasionymEnd, setBasionymStart, setExAuthorSeperator, setNameAuthorSeperator
 
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.name.INonViralNameCacheStrategy
getAuthorshipCache, getLastEpithet, getNameCache
 
Methods inherited from interface eu.etaxonomy.cdm.strategy.cache.name.INameCacheStrategy
getFullTitleCache, getFullTitleCache, getTaggedFullTitle, getTaggedName, getTaggedTitle, getTitleCache
 
Methods inherited from interface eu.etaxonomy.cdm.strategy.cache.common.IIdentifiableEntityCacheStrategy
getTitleCache
 

Field Detail

AuthorYearSeperator

protected String AuthorYearSeperator
Constructor Detail

ZooNameDefaultCacheStrategy

protected ZooNameDefaultCacheStrategy()
Constructor

Method Detail

getUuid

public UUID getUuid()
Overrides:
getUuid in class NonViralNameDefaultCacheStrategy<ZoologicalName>

NewInstance

public static ZooNameDefaultCacheStrategy NewInstance()
Factory method

Returns:

getAuthorYearSeperator

public String getAuthorYearSeperator()
Returns:
Strings that separates the author part and the year part

setAuthorYearSeperator

public void setAuthorYearSeperator(String authorYearSeperator)

getNonCacheAuthorshipCache

protected String getNonCacheAuthorshipCache(ZoologicalName nonViralName)
Description copied from class: NonViralNameDefaultCacheStrategy
Returns the authorshipcache string for the atomized authorship fields. Does not use the authorshipfield.

Overrides:
getNonCacheAuthorshipCache in class NonViralNameDefaultCacheStrategy<ZoologicalName>
Returns:

getInfraSpeciesTaggedNameCache

protected List<TaggedText> getInfraSpeciesTaggedNameCache(ZoologicalName nonViralName)
Description copied from class: NonViralNameDefaultCacheStrategy
Creates the tag list for an infraspecific taxon. In include is true the result will contain

Overrides:
getInfraSpeciesTaggedNameCache in class NonViralNameDefaultCacheStrategy<ZoologicalName>
Returns:


Copyright © 2007-2013 EDIT. All Rights Reserved.