2 * Copyright (C) 2018 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
.media
.Media
;
14 import eu
.etaxonomy
.cdm
.ref
.TypedEntityReference
;
17 * @author a.kohlbecker
21 public class MediaDTO
extends TypedEntityReference
<Media
> {
23 private static final long serialVersionUID
= 1981292478312137355L;
27 private String title_l10n
;
29 private String mimeType
;
38 public MediaDTO(UUID uuid
) {
39 super(Media
.class, uuid
);
42 public String
getUri() {
45 public void setUri(String uri
) {
49 public String
getTitle_l10n() {
52 public void setTitle_l10n(String title_l10n
) {
53 this.title_l10n
= title_l10n
;
56 public String
getMimeType() {
59 public void setMimeType(String mimeType
) {
60 this.mimeType
= mimeType
;
63 public Integer
getSize() {
66 public void setSize(Integer size
) {