public interface INomenclaturalReference extends IReference, IWithAuthorAndDate
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MICRO_REFERENCE_TOKEN |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAbbrevTitleCache()
Returns the cached value for the abbreviated representation of this reference.
|
java.lang.String |
getNomenclaturalCitation(java.lang.String microReference)
Returns the citation string including the details (micro reference) information
from
taxon name . |
java.lang.String |
getYear()
Returns a string representation for the year of publication / creation
of a reference.
|
boolean |
isProtectedAbbrevTitleCache()
If true the
abbreviated title cache is not computed
on the fly but set by setAbbrevTitleCache(String) . |
void |
setAbbrevTitleCache(java.lang.String abbrevTitleCache)
Deprecated.
this method exists only for compliance with the java bean standard.
It usually has little effect as it will not protect the cache.
Use
setAbbrevTitleCache(String, boolean) instead to protect the cache. |
void |
setAbbrevTitleCache(java.lang.String abbrevTitleCache,
boolean isProtected)
Sets the
abbreviated title cache . |
void |
setProtectedAbbrevTitleCache(boolean protectedAbbrevTitleCache)
Sets the protected flag for the
abbreviated title cache . |
clone, getAbbrevTitle, getCacheStrategy, getReferenceAbstract, getTitle, getType, getUri, isOfType, setAbbrevTitle, setCacheStrategy, setReferenceAbstract, setTitle, setTitleCaches, setType, setUri
addCredit, addCredit, addExtension, addExtension, addIdentifier, addIdentifier, addIdentifier, addRights, generateTitle, getCredits, getCredits, getData, getExtensions, getIdentifiers, getLsid, getRights, getTitleCache, isProtectedTitleCache, removeCredit, removeCredit, removeExtension, removeIdentifier, removeIdentifier, removeRights, removeSources, replaceCredit, replaceIdentifier, resetTitleCache, setLsid, setProtectedTitleCache, setTitleCache, setTitleCache, toString
addAggregationSource, addImportSource, addPrimaryTaxonomicSource, addPrimaryTaxonomicSource, addSource, addSource, addSource, addSources, getSources, removeSource
addAnnotation, addMarker, getAnnotations, getMarkers, getMarkers, hasMarker, hasMarker, markerValue, removeAnnotation, removeMarker, removeMarker
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
addParsingProblem, getParsingProblem, getParsingProblems, getProblemEnds, getProblemStarts, hasProblem, hasProblem, removeParsingProblem, setParsingProblem, setProblemEnds, setProblemStarts
getAuthorship, getDatePublished, setAuthorship, setDatePublished, setDatePublished
static final java.lang.String MICRO_REFERENCE_TOKEN
java.lang.String getNomenclaturalCitation(java.lang.String microReference)
taxon name
.
E.g. if the references title cache is L., Sp. Pl. 3. 1757 the nomenclatural citation
may be something like L., Sp. Pl. 3: 45. 1757microReference
- the detail, e.g. a page number, a figure, ...java.lang.String getYear()
java.lang.String getAbbrevTitleCache()
abbreviated title
instead of the full title
.
The cache may be protected.IReference.getAbbrevTitle()
,
IReference.getTitle()
,
isProtectedAbbrevTitleCache()
@Deprecated void setAbbrevTitleCache(java.lang.String abbrevTitleCache)
setAbbrevTitleCache(String, boolean)
instead to protect the cache.abbreviated title cache
abbrevTitleCache
- void setAbbrevTitleCache(java.lang.String abbrevTitleCache, boolean isProtected)
abbreviated title cache
.abbrevTitleCache
- isProtected
- wether or not the cache should be protected. Usually one may
want to set isProtected to true
boolean isProtectedAbbrevTitleCache()
abbreviated title cache
is not computed
on the fly but set by setAbbrevTitleCache(String)
.IIdentifiableEntity.isProtectedTitleCache()
void setProtectedAbbrevTitleCache(boolean protectedAbbrevTitleCache)
abbreviated title cache
.protectedAbbrevTitleCache
- Copyright © 2007-2020 EDIT. All Rights Reserved.