cdmlib/cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/IRelated.java @ 6f7d91bd
1 | ad908d9f | m.doering | package eu.etaxonomy.cdm.model.common; |
---|---|---|---|
2 | |||
3 | 32b86483 | Andreas Müller | import java.util.UUID; |
4 | |||
5 | b43db0f3 | m.doering | /**
|
6 | * PLEASE LOOK AT NameRelationship and TaxonRelationship
|
||
7 | * @author m.doering
|
||
8 | *
|
||
9 | * @param <T>
|
||
10 | */
|
||
11 | ad908d9f | m.doering | public interface IRelated<T extends RelationshipBase> { |
12 | 32b86483 | Andreas Müller | /**
|
13 | * @param relation
|
||
14 | */
|
||
15 | ad908d9f | m.doering | public void addRelationship(T relation); |
16 | 32b86483 | Andreas Müller | |
17 | /**
|
||
18 | *
|
||
19 | */
|
||
20 | public UUID getUuid(); |
||
21 | ad908d9f | m.doering | }
|