Project

General

Profile

Download (2 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. This also accounts for names realted to the name
36
     * being edites in the TaxonNamePopupEditor (basionyms, validation, replaced synonmys, ...).
37
     */
38
    REQUIRE_NOMENCLATURALREFERENCE,
39

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

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

    
56
}
(12-12/14)