1 | public class DocumentImpl extends ItemImpl implements Document {↵ | | 1 | public class MyEntity {
↵
|
2 | private Blob content;↵ | | 2 | private ↵
|
3 | private Calendar modified;↵ | | |
|
4 | private Calendar created;↵ | | |
|
5 | /**↵ | | |
|
6 | * @return Returns the created.↵ | | |
|
7 | */↵ | | |
|
8 | public Calendar getCreate↵ | | 3 | Long id;↵
|
| | | 4 | private String name;↵
|
| | | 5 | private MyEntity other;↵
|
|
9 | d() {↵ | | 6 | public Long getId() {
↵
|
10 | return created;↵ | | 7 | return id;
↵
|
11 | }↵ | | 8 | }↵
|
12 | /**↵ | | |
|
13 | * @param created The created to set.↵ | | |
|
14 | */↵ | | |
|
15 | public void setCreated(Calendar create↵ | | |
|
|
16 | d) {↵ | | 9 | public void setId(Long id) {
↵
|
17 | this.created = created;↵ | | 10 | this.id = id;
↵
|
18 | }↵ | | 11 | }↵
|
19 | /**↵ | | |
|
20 | * @return Returns the modified.↵ | | |
|
21 | */↵ | | |
|
22 | public Calendar getModified↵ | | |
|
|
23 | () {↵ | | 12 | public String getName() {
↵
|
24 | return modified;↵ | | 13 | return ↵
|
25 | }↵ | | |
|
26 | /**↵ | | |
|
27 | * @param modified The modified to set.↵ | | |
|
28 | */↵ | | |
|
29 | public void setModified(Calendar modified↵ | | 14 | name;↵
|
| | | 15 | }↵
|
|
30 | ) {↵ | | 16 | public void setName(String name) {
↵
|
31 | this.modified = modified;↵ | | 17 | this.↵
|
32 | }↵ | | |
|
33 | /**↵ | | |
|
34 | * @return Returns the content.↵ | | |
|
35 | */↵ | | 18 | name = name;↵
|
| | | 19 | }↵
|
| | | 20 |
↵
|
36 | public Blob getContent() {↵ | | 21 | public MyEntity getOther() {
↵
|
37 | return content;↵ | | 22 | return ↵
|
38 | }↵ | | |
|
39 | /**↵ | | |
|
40 | * @param content The content to set.↵ | | |
|
41 | */↵ | | |
|
42 | public void setContent(Blob content↵ | | 23 | other;↵
|
| | | 24 | }↵
|
|
43 | ) {↵ | | 25 | public void setOther(MyEntity other) {
↵
|
44 | this.content = content;↵ | | 26 | this.other = other;
↵
|
45 | | | 27 |
|