2 * Copyright (C) 2014 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
.api
.service
.dto
;
11 import java
.util
.UUID
;
13 import eu
.etaxonomy
.cdm
.model
.common
.IdentifiableEntity
;
16 * DTO for any CdmBase.
22 //might extend CdmBase in future, when a default formatter is available for all CdmBase classes
23 public class EntityDTO
<T
extends IdentifiableEntity
> extends EntityDTOBase
<T
> {
25 public EntityDTO(T entity
){
29 public EntityDTO(UUID entityUuid
, String titleCache
){
30 super(entityUuid
, titleCache
);
37 public String
toString() {
38 return "(" + cdmEntity
.getTitleCache() + "; " + cdmEntity
.getUuid() + ")";