1 43 package net.jforum.entities; 44 45 import java.util.Date ; 46 47 51 public class AttachmentInfo 52 { 53 private int id; 54 private int attachId; 55 private int downloadCount; 56 57 private String physicalFilename; 58 private String realFilename; 59 private String comment; 60 private String mimetype; 61 62 private long uploadTimeInMillis; 63 private long filesize; 64 65 private boolean hasThumb; 66 67 private Date uploadTime; 68 private AttachmentExtension extension; 69 70 73 public int getAttachId() 74 { 75 return this.attachId; 76 } 77 78 81 public void setAttachId(int attachId) 82 { 83 this.attachId = attachId; 84 } 85 86 89 public String getComment() 90 { 91 return this.comment; 92 } 93 94 97 public void setComment(String comment) 98 { 99 this.comment = comment; 100 } 101 102 105 public int getDownloadCount() 106 { 107 return this.downloadCount; 108 } 109 110 113 public void setDownloadCount(int downloadCount) 114 { 115 this.downloadCount = downloadCount; 116 } 117 118 121 public AttachmentExtension getExtension() 122 { 123 return this.extension; 124 } 125 126 129 public void setExtension(AttachmentExtension extension) 130 { 131 this.extension = extension; 132 } 133 134 137 public long getFilesize() 138 { 139 return this.filesize; 140 } 141 142 145 public void setFilesize(long filesize) 146 { 147 this.filesize = filesize; 148 } 149 150 153 public boolean isHasThumb() 154 { 155 return this.hasThumb; 156 } 157 158 161 public void setHasThumb(boolean hasThumb) 162 { 163 this.hasThumb = hasThumb; 164 } 165 166 169 public int getId() 170 { 171 return this.id; 172 } 173 174 177 public void setId(int id) 178 { 179 this.id = id; 180 } 181 182 185 public String getMimetype() 186 { 187 return this.mimetype; 188 } 189 190 193 public void setMimetype(String mimetype) 194 { 195 this.mimetype = mimetype; 196 } 197 198 201 public String getPhysicalFilename() 202 { 203 return this.physicalFilename; 204 } 205 206 209 public void setPhysicalFilename(String physicalFilename) 210 { 211 this.physicalFilename = physicalFilename; 212 } 213 214 217 public String getRealFilename() 218 { 219 return this.realFilename; 220 } 221 222 225 public void setRealFilename(String realFilename) 226 { 227 this.realFilename = realFilename; 228 } 229 230 233 public Date getUploadTime() 234 { 235 return this.uploadTime; 236 } 237 238 241 public void setUploadTime(Date uploadTime) 242 { 243 this.uploadTime = uploadTime; 244 } 245 246 249 public long getUploadTimeInMillis() 250 { 251 return this.uploadTimeInMillis; 252 } 253 254 257 public void setUploadTimeInMillis(long uploadTimeInMillis) 258 { 259 this.uploadTimeInMillis = uploadTimeInMillis; 260 } 261 } 262 | Popular Tags |