Project

General

Profile

Download (1.96 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2018 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
package eu.etaxonomy.cdm.vaadin.view.name;
10

    
11
/**
12
 * @author a.kohlbecker
13
 * @since Jan 11, 2018
14
 *
15
 */
16
public enum TaxonNamePopupEditorMode {
17

    
18
    /**
19
     * CombinationAuthorship BasionymAuthorship fields only visible if
20
     * not empty
21
     */
22
    AUTOFILL_AUTHORSHIP_DATA,
23

    
24
    /**
25
     * Editing of the nomenclatural reference is limited to editing the sub section of the
26
     * reference. Once the nomenclatural reference is set to a journal or book the user only can
27
     * change it to a reference of type {@link eu.etaxonomy.cdm.model.reference.ReferenceType.#Section Section} which
28
     * has the current reference as <code>inReference</code>. Whereas the book or journal can not be modified, the
29
     * section can be edited via a ReferencePopupEditor.
30
     *
31
     */
32
    NOMENCLATURALREFERENCE_SECTION_EDITING_ONLY,
33

    
34
    /**
35
     * setting the nomenclatural reference is required with the exception
36
     * that existing data is considered complete if the combination
37
     * authors are set.
38
     */
39
    REQUIRE_NOMENCLATURALREFERENCE,
40

    
41
    /**
42
     * The next higher name must be in the system or it needs to be entered. For species the next higher name is
43
     * the genus, for sub-species it is the species, etc.
44
     */
45
    VALIDATE_AGAINST_HIGHER_NAME_PART,
46

    
47
    /**
48
     * The name relation type {@link eu.etaxonomy.cdm.model.name.NameRelationshipType#ORTHOGRAPHIC_VARIANT} will be treated more
49
     * strictly if this mode is activated. The related name must have the same nomenclatural reference as the name being edited.
50
     * see https://dev.e-taxonomy.eu/redmine/issues/7899 for more details.
51
     *
52
     * @deprecated see https://dev.e-taxonomy.eu/redmine/issues/7961
53
     */
54
    @Deprecated
55
    ORTHOGRAPHIC_CORRECTION,
56

    
57
}
(12-12/14)