@Entity public class DescriptionElementSource extends OriginalSourceBase<DescriptionElementBase>
IOriginalSource
that can be used with description elements
.
Additionally to the core functionally of IOriginalSource a taxon name
can be stored that points to the name used in the source. This is needed because description always belong
to accepted taxa while the referenced citations may use synonym names.
The use of "originalNameString" within a DescriptionElementSource has to be discussed.
In general this string is to be used for different representations of the sourced object. In this classes
context it could also stand for the string representation of the taxon name used in the source. This
may make sense if the taxon name is not available in the CDM and the user for some reason does not want
to create a new ful taxon name
.annotations, markers
CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
DescriptionElementSource()
Deprecated.
for internal use only
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clones this versionable entity.
|
boolean |
equalsByShallowCompare(ReferencedEntityBase other)
Indicates whether some other object is "equal to" this one.
|
TaxonName |
getNameUsedInSource() |
static DescriptionElementSource |
NewAggregationInstance(ICdmTarget target) |
static DescriptionElementSource |
NewDataImportInstance(java.lang.String id) |
static DescriptionElementSource |
NewDataImportInstance(java.lang.String id,
java.lang.String idNamespace) |
static DescriptionElementSource |
NewDataImportInstance(java.lang.String id,
java.lang.String idNamespace,
Reference ref) |
static DescriptionElementSource |
NewInstance(OriginalSourceType type)
Factory method
|
static DescriptionElementSource |
NewInstance(OriginalSourceType type,
java.lang.String id,
java.lang.String idNamespace,
Reference citation) |
static DescriptionElementSource |
NewInstance(OriginalSourceType type,
java.lang.String id,
java.lang.String idNamespace,
Reference citation,
java.lang.String microCitation) |
static DescriptionElementSource |
NewInstance(OriginalSourceType type,
java.lang.String id,
java.lang.String idNamespace,
Reference citation,
java.lang.String microReference,
TaxonName nameUsedInSource,
java.lang.String originalNameString) |
static DescriptionElementSource |
NewInstance(OriginalSourceType type,
java.lang.String id,
java.lang.String idNamespace,
Reference citation,
java.lang.String microReference,
TaxonName nameUsedInSource,
java.lang.String originalNameString,
ICdmTarget target) |
static DescriptionElementSource |
NewPrimarySourceInstance(Reference citation,
java.lang.String microCitation) |
static DescriptionElementSource |
NewPrimarySourceInstance(Reference citation,
java.lang.String microReference,
TaxonName nameUsedInSource,
java.lang.String originalNameString) |
void |
setNameUsedInSource(TaxonName nameUsedInSource) |
addLink, getCdmSource, getIdInSource, getIdNamespace, getLinks, getType, removeLink, setCdmSource, setIdInSource, setIdNamespace, setLinks, setType, toString
getCitation, getCitationMicroReference, getOriginalNameString, setCitation, setCitationMicroReference, setOriginalNameString
addAnnotation, addMarker, addMarker, getAnnotations, getAnnotations, getMarkers, getMarkers, hasMarker, hasMarker, markerValue, removeAnnotation, removeMarker, removeMarker, setAnnotations
cloneLanguageString, equals, getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
addPropertyChangeListener, addPropertyChangeListener, addToSetWithChangeEvent, deproxy, deproxy, fireOnCreateEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUserFriendlyDescription, getUserFriendlyFieldName, getUserFriendlyTypeName, getUuid, hashCode, hasListeners, initListener, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isBlank, isInstanceOf, isNotBlank, isPersited, removeFromSetWithChangeEvent, removePropertyChangeListener, removePropertyChangeListener, replaceInList, setCreated, setCreatedBy, setId, setNewEntityListener, setUuid
finalize, getClass, notify, notifyAll, wait, wait, wait
getCitation, getCitationMicroReference, setCitation, setCitationMicroReference
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
@Deprecated protected DescriptionElementSource()
public static DescriptionElementSource NewInstance(OriginalSourceType type)
public static DescriptionElementSource NewDataImportInstance(java.lang.String id)
public static DescriptionElementSource NewDataImportInstance(java.lang.String id, java.lang.String idNamespace)
public static DescriptionElementSource NewDataImportInstance(java.lang.String id, java.lang.String idNamespace, Reference ref)
public static DescriptionElementSource NewInstance(OriginalSourceType type, java.lang.String id, java.lang.String idNamespace, Reference citation)
public static DescriptionElementSource NewInstance(OriginalSourceType type, java.lang.String id, java.lang.String idNamespace, Reference citation, java.lang.String microCitation)
public static DescriptionElementSource NewInstance(OriginalSourceType type, java.lang.String id, java.lang.String idNamespace, Reference citation, java.lang.String microReference, TaxonName nameUsedInSource, java.lang.String originalNameString)
public static DescriptionElementSource NewInstance(OriginalSourceType type, java.lang.String id, java.lang.String idNamespace, Reference citation, java.lang.String microReference, TaxonName nameUsedInSource, java.lang.String originalNameString, ICdmTarget target)
public static DescriptionElementSource NewAggregationInstance(ICdmTarget target)
public static DescriptionElementSource NewPrimarySourceInstance(Reference citation, java.lang.String microCitation)
public static DescriptionElementSource NewPrimarySourceInstance(Reference citation, java.lang.String microReference, TaxonName nameUsedInSource, java.lang.String originalNameString)
public TaxonName getNameUsedInSource()
public void setNameUsedInSource(TaxonName nameUsedInSource)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
VersionableEntity
clone
in class OriginalSourceBase<DescriptionElementBase>
java.lang.CloneNotSupportedException
Object.clone()
public boolean equalsByShallowCompare(ReferencedEntityBase other)
ReferencedEntityBase
equalsByShallowCompare
in class OriginalSourceBase<DescriptionElementBase>
Copyright © 2007-2020 EDIT. All Rights Reserved.