1 | public class Object2 {↵ | | 1 | public class Document extends Item {↵
|
|
2 | private Long id;↵ | | 2 | private ↵
|
3 | private String dummy;↵ | | |
|
4 | private MainObject belongsToMainObj;↵ | | |
|
|
5 | public Long getI↵ | | 3 | Blob content;↵
|
|
| | | 4 | private Calendar modified;↵
|
|
| | | 5 | private Calendar created;↵
|
|
| | | 6 | /**↵
|
| | | 7 | * @return Returns the created.↵
|
| | | 8 | */↵
|
|
6 | d() {↵ | | 9 | public Calendar getCreated() {↵
|
|
7 | return id;↵ | | 10 | return created;↵
|
|
8 | }↵ | | 11 | }↵
|
|
9 | public void setId(Long l↵ | | 12 | /**↵
|
| | | 13 | * @param created The created to set.↵
|
| | | 14 | */↵
|
|
10 | ) {↵ | | 15 | public void setCreated(Calendar created) {↵
|
|
11 | this.id = l;↵ | | 16 | this.created = created;↵
|
|
12 | }↵ | | 17 | }↵
|
|
13 | ↵ | | 18 | ↵
|
14 | public String getDummy↵ | | 19 | /**↵
|
| | | 20 | * @return Returns the modified.↵
|
| | | 21 | */↵
|
|
15 | () {↵ | | 22 | public Calendar getModified() {↵
|
|
16 | return dummy;↵ | | 23 | return ↵
|
17 | }↵ | | |
|
|
18 | public void setDummy(String string↵ | | 24 | modified;↵
|
|
| | | 25 | }↵
|
|
| | | 26 | /**↵
|
| | | 27 | * @param modified The modified to set.↵
|
| | | 28 | */↵
|
|
19 | ) {↵ | | 29 | public void setModified(Calendar modified) {↵
|
|
20 | dummy = string;↵ | | 30 | ↵
|
21 | }↵ | | |
|
|
22 | public MainObject getBelongsToMainObj↵ | | 31 | this.modified = modified;↵
|
|
| | | 32 | }↵
|
|
| | | 33 | /**↵
|
| | | 34 | * @return Returns the content.↵
|
| | | 35 | */↵
|
|
23 | () {↵ | | 36 | public Blob getContent() {↵
|
|
24 | return belongsToMainObj;↵ | | 37 | return ↵
|
25 | }↵ | | |
|
|
26 | public void setBelongsToMainObj(MainObject objec↵ | | 38 | content;↵
|
|
| | | 39 | }↵
|
|
| | | 40 | /**↵
|
| | | 41 | * @param content The content to set.↵
|
| | | 42 | */↵
|
|
27 | t) {↵ | | 43 | public void setContent(Blob content) {↵
|
|
28 | belongsToMainObj = object | | 44 | this.content = content
|