public interface ISourceable<T extends IOriginalSource>
Modifier and Type | Method and Description |
---|---|
T |
addAggregationSource(ICdmTarget target)
Adds a source which links to another CDM object as source.
|
T |
addImportSource(java.lang.String id,
java.lang.String idNamespace,
Reference reference,
java.lang.String microReference)
Adds a
source of type OriginalSourceType.Import
to this object. |
T |
addPrimaryTaxonomicSource(Reference reference)
Adds a
source of type
OriginalSourceType.PrimaryTaxonomicSource
to this object. |
T |
addPrimaryTaxonomicSource(Reference reference,
java.lang.String microReference)
Adds a
source of type OriginalSourceType.PrimaryTaxonomicSource
to this object. |
T |
addSource(OriginalSourceType type,
Reference reference,
java.lang.String microReference,
java.lang.String originalInformation) |
T |
addSource(OriginalSourceType type,
java.lang.String id,
java.lang.String idNamespace,
Reference reference,
java.lang.String microReference)
Adds a source that is newly created by its components.
|
void |
addSource(T source)
Adds a source to this object
|
void |
addSources(java.util.Set<T> sources)
Adds a set of original sources (citations) for this sourceable object
|
java.util.Set<T> |
getSources()
Returns the set of original sources (citations) for this sourceable object
|
void |
removeSource(T source)
Removes a source from this object
|
java.util.Set<T> getSources()
void addSources(java.util.Set<T> sources)
void addSource(T source)
source
- T addSource(OriginalSourceType type, java.lang.String id, java.lang.String idNamespace, Reference reference, java.lang.String microReference)
null no source is added.
T addSource(OriginalSourceType type, Reference reference, java.lang.String microReference, java.lang.String originalInformation)
type
- reference
- microReference
- originalInformation
- T addAggregationSource(ICdmTarget target)
target
- the target CDM sourcevoid removeSource(T source)
source
- T addImportSource(java.lang.String id, java.lang.String idNamespace, Reference reference, java.lang.String microReference)
source
of type OriginalSourceType.Import
to this object.idInSource
- the id used in the sourceidNamespace
- the namespace for the id in the sourcereference
- the source as a reference
microReference
- the details (e.g. page number) in the referenceT addPrimaryTaxonomicSource(Reference reference, java.lang.String microReference)
source
of type OriginalSourceType.PrimaryTaxonomicSource
to this object.reference
- the source as a reference
microReference
- the details (e.g. page number) in the referenceT addPrimaryTaxonomicSource(Reference reference)
source
of type
OriginalSourceType.PrimaryTaxonomicSource
to this object.reference
- the source as a reference
Copyright © 2007-2020 EDIT. All Rights Reserved.