/** * This file is part of General Entity Annotator Benchmark. * * General Entity Annotator Benchmark is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * General Entity Annotator Benchmark is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with General Entity Annotator Benchmark. If not, see <http://www.gnu.org/licenses/>. */ package org.aksw.gerbil.transfer; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; /** * Container file to upload files with blueimp/jQuery plugin * * @author didier * */ @JsonIgnoreProperties({"bytes"}) public class FileMeta { private String name; private String size; private String url; private String thumbnailUrl; private String deleteUrl; private String deleteType; private String error; private String fileType; private byte[] bytes; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getSize() { return size; } public void setSize(String size) { this.size = size; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getThumbnailUrl() { return thumbnailUrl; } public void setThumbnailUrl(String thumbnailUrl) { this.thumbnailUrl = thumbnailUrl; } public String getDeleteUrl() { return deleteUrl; } public void setDeleteUrl(String deleteUrl) { this.deleteUrl = deleteUrl; } public String getDeleteType() { return deleteType; } public void setDeleteType(String deleteType) { this.deleteType = deleteType; } public String getError() { return error; } public void setError(String error) { this.error = error; } public void setFileType(String fileType) { this.fileType = fileType; } public String getFileType() { return fileType; } public byte[] getBytes() { return bytes; } public void setBytes(byte[] bytes) { this.bytes = bytes; } }