eu.etaxonomy.cdm.model.common
Interface ISourceable<T extends IOriginalSource>

All Known Subinterfaces:
IArticle, IBook, IBookSection, ICdDvd, IDatabase, IGeneric, IIdentifiableEntity, IInProceedings, IJournal, IMap, INomenclaturalReference, IPatent, IPersonalCommunication, IPrintedUnitBase, IPrintSeries, IProceedings, IPublicationBase, IReference, IReport, ISectionBase, IThesis, IVolumeReference, IWebPage
All Known Implementing Classes:
AbsenceTerm, AgentBase, AnnotationType, BacterialName, BotanicalName, CategoricalData, Classification, Collection, CommonTaxonName, Continent, CultivarPlantName, DefinedTermBase, DerivationEventType, DerivedUnit, DerivedUnitBase, DescriptionBase, DescriptionElementBase, DeterminationModifier, Distribution, DnaSample, ExtensionType, Feature, FeatureTree, FieldObservation, Figure, Fossil, HybridRelationshipType, IdentifiableEntity, IdentifiableMediaEntity, IndividualsAssociation, Institution, InstitutionType, Language, LivingBeing, MarkerType, MeasurementUnit, Media, MediaKey, Modifier, NamedArea, NamedAreaLevel, NamedAreaType, NameRelationshipType, NameTypeDesignationStatus, NaturalLanguageTerm, NomenclaturalStatusType, NonViralName, Observation, OpenUrlReference, OrderedTermBase, OrderedTermVocabulary, Person, PhylogeneticTree, PolytomousKey, PresenceAbsenceTermBase, PresenceTerm, PreservationMethod, QuantitativeData, Rank, Reference, ReferencedMediaBase, ReferenceSystem, RelationshipTermBase, RightsTerm, Scope, Sequence, Sex, Specimen, SpecimenDescription, SpecimenOrObservationBase, SpecimenTypeDesignationStatus, Stage, State, StatisticalMeasure, Synonym, SynonymRelationshipType, Taxon, TaxonBase, TaxonDescription, TaxonInteraction, TaxonNameBase, TaxonNameDescription, TaxonRelationshipType, TdwgArea, Team, TeamOrPersonBase, TermBase, TermVocabulary, TextData, TextFormat, TypeDesignationStatusBase, ViralName, WaterbodyOrCountry, ZoologicalName

public interface ISourceable<T extends IOriginalSource>


Method Summary
 T addSource(String id, String idNamespace, Reference citation, String microCitation)
          Adds a source that is newly created by its components.
 void addSource(T source)
          Adds a source to this object
 Set<T> getSources()
          Returns the set of original sources (citations) for this sourceable object
 void removeSource(T source)
          Removes a source from this object
 

Method Detail

getSources

Set<T> getSources()
Returns the set of original sources (citations) for this sourceable object

Returns:

addSource

void addSource(T source)
Adds a source to this object

Parameters:
source -

addSource

T addSource(String id,
            String idNamespace,
            Reference citation,
            String microCitation)
Adds a source that is newly created by its components. If all components are null no source is added.

Parameters:
id -
idNamespace -
citation -
microCitation -

removeSource

void removeSource(T source)
Removes a source from this object

Parameters:
source -


Copyright © 2007-2013 EDIT. All Rights Reserved.