1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.exoplatform.services.cms.documents.model;
18
19 import java.util.Calendar;
20
21
22
23
24
25 public class Document {
26 private String id;
27
28 private String name;
29
30 private String title;
31
32 private String path;
33
34 private String workspace;
35
36 private String state;
37
38 private String author;
39
40 private String lastEditor;
41
42 private Calendar lastModified;
43
44 private Calendar dateCreated;
45
46 public Document(String id,
47 String name,
48 String title,
49 String path,
50 String workspace,
51 String state,
52 String author,
53 String lastEditor,
54 Calendar lastModified,
55 Calendar dateCreated) {
56 this.id = id;
57 this.title = title;
58 this.path = path;
59 this.workspace = workspace;
60 this.state = state;
61 this.author = author;
62 this.lastEditor = lastEditor;
63 this.lastModified = lastModified;
64 this.dateCreated = dateCreated;
65 this.dateCreated = dateCreated;
66 this.name = name;
67
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 getTitle() {
79 return title;
80 }
81
82 public void setTitle(String title) {
83 this.title = title;
84 }
85
86 public String getPath() {
87 return path;
88 }
89
90 public void setPath(String path) {
91 this.path = path;
92 }
93
94 public String getWorkspace() {
95 return workspace;
96 }
97
98 public void setWorkspace(String workspace) {
99 this.workspace = workspace;
100 }
101
102 public String getState() {
103 return state;
104 }
105
106 public void setState(String state) {
107 this.state = state;
108 }
109
110 public String getAuthor() {
111 return author;
112 }
113
114 public void setAuthor(String author) {
115 this.author = author;
116 }
117
118 public String getLastEditor() {
119 return lastEditor;
120 }
121
122 public void setLastEditor(String lastEditor) {
123 this.lastEditor = lastEditor;
124 }
125
126 public Calendar getLastModified() {
127 return lastModified;
128 }
129
130 public void setLastModified(Calendar lastModified) {
131 this.lastModified = lastModified;
132 }
133
134 public Calendar getDateCreated() {
135 return dateCreated;
136 }
137
138 public void setDateCreated(Calendar dateCreated) {
139 this.dateCreated = dateCreated;
140 }
141
142 public String getName() {
143 return name;
144 }
145
146 public void setName(String name) {
147 this.name = name;
148 }
149
150 }