1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package net.sf.oxclient.beans;
17
18 import java.io.Serializable;
19 import java.sql.Timestamp;
20 import org.apache.commons.lang.builder.ToStringBuilder;
21
22
23
24
25
26 public abstract class OXBean implements Serializable {
27
28 private String id = null;
29 private Folder parent = null;
30 private Timestamp created = null;
31
32 public Timestamp getCreated() {
33 return this.created;
34 }
35
36 public String getId() {
37 return this.id;
38 }
39
40 public Folder getParent() {
41 return this.parent;
42 }
43
44 public void setCreated(final Timestamp created) {
45 this.created = created;
46 }
47
48 public void setId(final String id) {
49 this.id = id;
50 }
51
52 public void setParent(final Folder parent) {
53 this.parent = parent;
54 }
55
56
57
58
59 @Override
60 public String toString() {
61 return new ToStringBuilder(this)
62 .append("created", this.created)
63 .append("id", this.id)
64 .toString();
65 }
66 }