Updated Resource

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widget-common-event@113654 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-03-18 17:26:30 +00:00
parent 9a783981a0
commit e29b09704f
1 changed files with 4 additions and 6 deletions

View File

@ -2,8 +2,6 @@ package org.gcube.portlets.user.td.widgetcommonevent.shared.thumbnail;
import java.io.Serializable;
import org.gcube.portlets.user.td.widgetcommonevent.shared.mime.MimeTypeSupport;
/**
* Thumbnail for Tabular Data Manager
*
@ -15,13 +13,13 @@ public class ThumbnailTD implements Serializable {
private static final long serialVersionUID = 897893891284145975L;
private String url;
private MimeTypeSupport mimeType;
private String mimeType;
public ThumbnailTD() {
}
public ThumbnailTD(String url, MimeTypeSupport mimeType) {
public ThumbnailTD(String url, String mimeType) {
super();
this.url = url;
this.mimeType = mimeType;
@ -35,11 +33,11 @@ public class ThumbnailTD implements Serializable {
this.url = url;
}
public MimeTypeSupport getMimeType() {
public String getMimeType() {
return mimeType;
}
public void setMimeType(MimeTypeSupport mimeType) {
public void setMimeType(String mimeType) {
this.mimeType = mimeType;
}