2 * Copyright (C) 2017 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
9 package eu
.etaxonomy
.cdm
.vaadin
.view
.name
;
11 import java
.util
.UUID
;
13 import eu
.etaxonomy
.cdm
.model
.common
.VersionableEntity
;
15 public abstract class TypeDesignationSetIds
<BASE_T
extends VersionableEntity
> {
17 protected UUID registrationUuid
;
18 protected BASE_T baseEntity
;
19 protected UUID typifiedNameUuid
;
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.
24 protected UUID publishedUnitUuid
;
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
;
33 public UUID
getTypifiedNameUuid(){
34 return typifiedNameUuid
;
37 public UUID
getRegistrationUUID() {
38 return registrationUuid
;
41 public BASE_T
getBaseEntity() {
45 public UUID
getPublishedUnitUuid() {
46 return publishedUnitUuid
;