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.UUID;
|
13
|
|
14
|
/**
|
15
|
* PLEASE LOOK AT NameRelationship and TaxonRelationship
|
16
|
* @author m.doering
|
17
|
*
|
18
|
* @param <T>
|
19
|
*/
|
20
|
public interface IRelated<T extends RelationshipBase> {
|
21
|
/**
|
22
|
* @param relation
|
23
|
*/
|
24
|
public void addRelationship(T relation);
|
25
|
|
26
|
/**
|
27
|
*
|
28
|
*/
|
29
|
public UUID getUuid();
|
30
|
|
31
|
}
|