Project

General

Profile

Download (1.58 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
import eu.etaxonomy.cdm.ref.TypedEntityReference;
15

    
16
public abstract class TypeDesignationWorkingsetIds<BASE_T extends VersionableEntity> {
17

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

    
27
    protected TypeDesignationWorkingsetIds(UUID publishedUnitUuid, UUID registrationUuid, TypedEntityReference<BASE_T> baseEntityRef, UUID typifiedNameUuid) {
28
        this.publishedUnitUuid = publishedUnitUuid;
29
        this.registrationUuid = registrationUuid;
30
        this.baseEntityRef = baseEntityRef;
31
        this.typifiedNameUuid = typifiedNameUuid;
32
    }
33

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

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

    
42
    public TypedEntityReference<BASE_T> getBaseEntityRef() {
43
        return baseEntityRef;
44
    }
45

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