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
> {
25 private String title_l10n
;
27 private String mimeType
;
36 public MediaDTO(UUID uuid
) {
37 super(Media
.class, uuid
);
40 public String
getUri() {
43 public void setUri(String uri
) {
47 public String
getTitle_l10n() {
50 public void setTitle_l10n(String title_l10n
) {
51 this.title_l10n
= title_l10n
;
54 public String
getMimeType() {
57 public void setMimeType(String mimeType
) {
58 this.mimeType
= mimeType
;
61 public Integer
getSize() {
64 public void setSize(Integer size
) {