|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.etaxonomy.cdm.model.common.CdmBase
eu.etaxonomy.cdm.model.common.VersionableEntity<T>
eu.etaxonomy.cdm.model.common.AnnotatableEntity<T>
eu.etaxonomy.cdm.model.common.IdentifiableEntity
eu.etaxonomy.cdm.model.media.IdentifyableMediaEntity
eu.etaxonomy.cdm.model.reference.ReferenceBase
eu.etaxonomy.cdm.model.reference.StrictReferenceBase
eu.etaxonomy.cdm.model.reference.Generic
public class Generic
This class represents all references which cannot be clearly assigned to a
particular reference
subclass. Therefore attributes which are
characteristic for a unique reference subclass are not necessary here.
This class corresponds, according to the TDWG ontology, to the publication type terms (from PublicationTypeTerm):
Field Summary |
---|
Fields inherited from class eu.etaxonomy.cdm.model.reference.ReferenceBase |
---|
cacheStrategy |
Fields inherited from class eu.etaxonomy.cdm.model.common.IdentifiableEntity |
---|
NOT_PROTECTED, PROTECTED |
Fields inherited from class eu.etaxonomy.cdm.model.common.AnnotatableEntity |
---|
annotations, markers |
Fields inherited from interface eu.etaxonomy.cdm.model.reference.INomenclaturalReference |
---|
MICRO_REFERENCE_TOKEN |
Constructor Summary | |
---|---|
Generic()
Class constructor: creates a new empty generic reference instance only containing the default cache strategy . |
Method Summary | |
---|---|
Generic |
clone()
Clones this generic reference. |
String |
generateTitle()
Generates, according to the default cache strategy
assigned to this generic reference, a string that identifies this
reference and returns it. |
String |
getCitation()
Returns a formatted string containing the entire reference citation, including authors, corresponding to this generic reference. |
String |
getEditor()
Returns the string representing the name of the editor of this generic reference. |
String |
getNomenclaturalCitation(String microReference)
Returns a formatted string containing the entire citation used for nomenclatural purposes based on this generic reference - including (abbreviated) title but not authors - and on the given details. |
String |
getPages()
Returns the string representing the page(s) where the content of this generic reference is located. |
String |
getPlacePublished()
Returns the string representing the name of the place (mostly the city) where this generic reference has been published. |
String |
getPublisher()
Returns the string representing the name of the publisher of this generic reference. |
String |
getSeries()
Returns the string representing the series (for instance for books or within journals) - and series part - in which this generic reference was published. |
String |
getVolume()
Returns the string representing the volume (for instance for books or within journals) in which this generic reference was published. |
static Generic |
NewInstance()
Creates a new empty generic reference instance only containing the default cache strategy . |
void |
setEditor(String editor)
|
void |
setPages(String pages)
|
void |
setPlacePublished(String placePublished)
|
void |
setPublisher(String publisher)
|
void |
setSeries(String series)
|
void |
setVolume(String volume)
|
Methods inherited from class eu.etaxonomy.cdm.model.reference.StrictReferenceBase |
---|
getDatePublished, getTitle, getYear, setDatePublished, setTitle |
Methods inherited from class eu.etaxonomy.cdm.model.reference.ReferenceBase |
---|
getAuthorTeam, getHasProblem, getUri, isNomenclaturallyRelevant, setAuthorTeam, setHasProblem, setNomenclaturallyRelevant, setUri |
Methods inherited from class eu.etaxonomy.cdm.model.media.IdentifyableMediaEntity |
---|
addMedia, getMedia, removeMedia, setMedia |
Methods inherited from class eu.etaxonomy.cdm.model.common.IdentifiableEntity |
---|
addExtension, addRights, addSource, getExtensions, getLsid, getPersistentTitleCache, getRights, getSources, getTitleCache, isProtectedTitleCache, removeExtension, removeRights, removeSource, setExtensions, setLsid, setPersistentTitleCache, setProtectedTitleCache, setRights, setSources, setTitleCache, setTitleCache, toString |
Methods inherited from class eu.etaxonomy.cdm.model.common.AnnotatableEntity |
---|
addAnnotation, addMarker, getAnnotations, getMarkers, removeAnnotation, removeMarker, setAnnotations, setMarkers |
Methods inherited from class eu.etaxonomy.cdm.model.common.VersionableEntity |
---|
equals, getNextVersion, getPreviousVersion, getUpdated, getUpdatedBy, getValidFrom, getValidTo, hashCode, setNextVersion, setPreviousVersion, setUpdated, setUpdatedBy |
Methods inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
---|
addPropertyChangeListener, addPropertyChangeListener, clone, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUuid, hasListeners, invokeSetMethod, invokeSetMethodWithNull, removePropertyChangeListener, removePropertyChangeListener, setCreated, setCreatedBy, setId, setUuid |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface eu.etaxonomy.cdm.model.reference.INomenclaturalReference |
---|
getHasProblem, getYear |
Methods inherited from interface eu.etaxonomy.cdm.model.common.IIdentifiableEntitiy |
---|
addExtension, addRights, addSource, getExtensions, getLsid, getRights, getSources, getTitleCache, isProtectedTitleCache, removeExtension, removeRights, removeSource, setLsid, setProtectedTitleCache, setTitleCache, setTitleCache, toString |
Constructor Detail |
---|
public Generic()
default cache strategy
.
GenericDefaultCacheStrategy
Method Detail |
---|
public static Generic NewInstance()
default cache strategy
.
Generic()
,
GenericDefaultCacheStrategy
public String getPublisher()
publication
.
getEditor()
public void setPublisher(String publisher)
getPublisher()
public String getPlacePublished()
publication
.
public void setPlacePublished(String placePublished)
getPlacePublished()
public String getEditor()
physical printed unit
.
getPublisher()
public void setEditor(String editor)
getEditor()
public String getSeries()
physical printed unit
or an article
.
public void setSeries(String series)
getSeries()
public String getVolume()
physical printed unit
or an article
.
public void setVolume(String volume)
getVolume()
public String getPages()
physical printed unit
or an article
.
public void setPages(String pages)
getPages()
public String getCitation()
StrictReferenceBase
.
getCitation
in class StrictReferenceBase
getNomenclaturalCitation(String)
,
StrictReferenceBase.getCitation()
public String getNomenclaturalCitation(String microReference)
getNomenclaturalCitation
in interface INomenclaturalReference
microReference
- the string with the details (generally pages)
within this generic reference
getCitation()
public String generateTitle()
default cache strategy
assigned to this generic reference, a string that identifies this
reference and returns it. This string may be stored in the inherited
titleCache
attribute.ReferenceBase
.
generateTitle
in interface IIdentifiableEntitiy
generateTitle
in class ReferenceBase
getCitation()
,
IdentifiableEntity.getTitleCache()
,
IdentifiableEntity.generateTitle()
public Generic clone()
StrictReferenceBase
.
clone
in class StrictReferenceBase
StrictReferenceBase.clone()
,
IdentifyableMediaEntity.clone()
,
Object.clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |