1 14 15 package com.jdon.strutsutil.file; 16 17 import com.jdon.controller.model.Model; 18 19 public class UploadFile extends Model { 20 21 private String id; 22 23 private String name; 24 25 private String description; 26 27 private byte[] data; 28 29 private String contentType; 30 31 private int size; 32 33 private String parentId; 35 36 private String tempId; 37 38 public byte[] getData() { 39 return data; 40 } 41 42 public String getName() { 43 return name; 44 } 45 46 public void setData(byte[] data) { 47 this.data = data; 48 } 49 50 public void setName(String name) { 51 this.name = name; 52 } 53 54 public String getContentType() { 55 return contentType; 56 } 57 58 public void setContentType(String contentType) { 59 this.contentType = contentType; 60 } 61 62 public int getSize() { 63 return size; 64 } 65 66 public void setSize(int size) { 67 this.size = size; 68 } 69 70 public String getId() { 71 return id; 72 } 73 74 public void setId(String id) { 75 this.id = id; 76 } 77 78 public String getParentId() { 79 return parentId; 80 } 81 82 public void setParentId(String parentId) { 83 this.parentId = parentId; 84 } 85 86 public String getTempId() { 87 return tempId; 88 } 89 90 public void setTempId(String tempId) { 91 this.tempId = tempId; 92 } 93 94 97 public String getDescription() { 98 return description; 99 } 100 101 105 public void setDescription(String description) { 106 this.description = description; 107 } 108 } 109 | Popular Tags |