Project

General

Profile

Download (1.44 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2017 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
import java.util.UUID;
12

    
13
import eu.etaxonomy.cdm.model.common.VersionableEntity;
14

    
15
public abstract class TypeDesignationSetIds<BASE_T extends VersionableEntity> {
16

    
17
    protected UUID registrationUuid;
18
    protected BASE_T baseEntity;
19
    protected UUID typifiedNameUuid;
20
    /**
21
     * The UUID of the article, book, book section in which the type designation is being published.
22
     * Never a section. This information is only relevant for type designation to be initially created.
23
     */
24
    protected UUID publishedUnitUuid;
25

    
26
    protected TypeDesignationSetIds(UUID publishedUnitUuid, UUID registrationUuid, BASE_T baseEntity, UUID typifiedNameUuid) {
27
        this.publishedUnitUuid = publishedUnitUuid;
28
        this.registrationUuid = registrationUuid;
29
        this.baseEntity = baseEntity;
30
        this.typifiedNameUuid = typifiedNameUuid;
31
    }
32

    
33
    public UUID getTypifiedNameUuid(){
34
        return typifiedNameUuid;
35
    }
36

    
37
    public UUID getRegistrationUUID() {
38
        return registrationUuid;
39
    }
40

    
41
    public BASE_T getBaseEntity() {
42
        return baseEntity;
43
    }
44

    
45
    public UUID getPublishedUnitUuid() {
46
        return publishedUnitUuid;
47
    }
48
}
(18-18/18)