BrightSide Workbench Full Report + Source Code
ServerFile.java
Go to the documentation of this file.
1 /*
2  * TurrĂ³ i Cutiller Foundation. License notice.
3  * Copyright (C) 2011 Lluis TurrĂ³ Cutiller <http://www.turro.org/>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU Affero General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Affero General Public License for more details.
14  *
15  * You should have received a copy of the GNU Affero General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 package org.turro.wd.common.entities;
19 
20 import java.util.Date;
21 
26 public class ServerFile implements java.io.Serializable {
27 
28  private String path, owner, fileName, fileContentType, locker;
29  private boolean locked;
30  private long fileSize;
31  private java.util.Date modification;
32 
33  public String getFileContentType() {
34  return fileContentType;
35  }
36 
37  public void setFileContentType(String fileContentType) {
38  this.fileContentType = fileContentType;
39  }
40 
41  public String getFileName() {
42  return fileName;
43  }
44 
45  public void setFileName(String fileName) {
46  this.fileName = fileName;
47  }
48 
49  public long getFileSize() {
50  return fileSize;
51  }
52 
53  public void setFileSize(long fileSize) {
54  this.fileSize = fileSize;
55  }
56 
57  public boolean isLocked() {
58  return locked;
59  }
60 
61  public void setLocked(boolean locked) {
62  this.locked = locked;
63  }
64 
65  public String getLocker() {
66  return locker;
67  }
68 
69  public void setLocker(String locker) {
70  this.locker = locker;
71  }
72 
73  public Date getModification() {
74  return modification;
75  }
76 
77  public void setModification(Date modification) {
78  this.modification = modification;
79  }
80 
81  public String getOwner() {
82  return owner;
83  }
84 
85  public void setOwner(String owner) {
86  this.owner = owner;
87  }
88 
89  public String getPath() {
90  return path;
91  }
92 
93  public void setPath(String path) {
94  this.path = path;
95  }
96 
97 }
void setFileContentType(String fileContentType)
Definition: ServerFile.java:37
void setModification(Date modification)
Definition: ServerFile.java:77