1
|
/**
|
2
|
* Copyright (C) 2007 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.name;
|
11
|
|
12
|
import java.util.Set;
|
13
|
|
14
|
import javax.persistence.Transient;
|
15
|
|
16
|
/**
|
17
|
* Common interface for all type designation subclasses.
|
18
|
*
|
19
|
* @author a.mueller
|
20
|
* @since 07.08.2008
|
21
|
*/
|
22
|
public interface ITypeDesignation {
|
23
|
|
24
|
|
25
|
/**
|
26
|
* Shortcut to retrieve the information if the status of
|
27
|
* <i>this</i> type designation is considered to be a "lectotype" status
|
28
|
* in the sense that it usually should have a designation reference.
|
29
|
* For details see Type {@link TypeDesignationStatusBase#hasDesignationSource()}
|
30
|
*
|
31
|
* @see TypeDesignationStatusBase#hasDesignationSource()
|
32
|
*/
|
33
|
@Transient
|
34
|
public boolean hasDesignationSource();
|
35
|
|
36
|
// /**
|
37
|
// * Returns the {@link HomotypicalGroup homotypical group} that is typified
|
38
|
// * in <i>this</i> type designation.
|
39
|
// *
|
40
|
// * @see #getTypeSpecimen()
|
41
|
// * @deprecated homotypical group can not be set and always seems to be <code>null</code>.
|
42
|
// * Probably it is a relict of an old version.
|
43
|
// * See also https://dev.e-taxonomy.eu/redmine/issues/2173
|
44
|
// */
|
45
|
// public HomotypicalGroup getHomotypicalGroup();
|
46
|
|
47
|
/**
|
48
|
* Returns the set of {@link TaxonName taxon names} included in the
|
49
|
* {@link HomotypicalGroup homotypical group} typified in <i>this</i> type designation.
|
50
|
*/
|
51
|
public Set<TaxonName> getTypifiedNames();
|
52
|
|
53
|
}
|