(no commit message)
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / model / common / ISourceable.java
1 /**
2 * Copyright (C) 2009 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package eu.etaxonomy.cdm.model.common;
11
12 import java.util.Set;
13
14
15 public interface ISourceable<T extends IOriginalSource> {
16
17 /**
18 * Returns the set of original sources (citations) for this sourceable object
19 * @return
20 */
21 public Set<T> getSources();
22
23 /**
24 * Adds a source to this object
25 * @param source
26 */
27 public void addSource(T source);
28
29 /**
30 * Removes a source from this object
31 * @param source
32 */
33 public void removeSource(T source);
34
35 }