1 | public class Parent {↵ | | 1 | public class DocumentImpl extends ItemImpl implements Document {↵
|
2 | private Long id;↵ | | 2 | private ↵
|
3 | private Set deleteOrphanChildren;↵ | | |
|
4 | private Set children;↵ | | |
|
|
5 | public Long getId() {↵ | | |
|
6 | return id;↵ | | |
|
7 | }↵ | | |
|
|
8 | public void setId(Long id) {↵ | | |
|
9 | this.id = id;↵ | | |
|
10 | }↵ | | |
|
|
11 | public Set getDeleteOrphanChildren() {↵ | | |
|
12 | return deleteOrphanChildren;↵ | | |
|
13 | }↵ | | |
|
|
14 | public void setDeleteOrphanChildren(Set deleteOrphanChildren) {↵ | | |
|
15 | this.deleteOrphanChildren = deleteOrphanChildren;↵ | | |
|
16 | }↵ | | |
|
| | | 3 | Blob content;↵
|
| | | 4 | private Calendar modified;↵
|
| | | 5 | private Calendar created;↵
|
| | | 6 | /**↵
|
| | | 7 | * @return Returns the created.↵
|
| | | 8 | */↵
|
| | | 9 | public Calendar getCreated() {↵
|
| | | 10 | return created;↵
|
| | | 11 | }↵
|
| | | 12 | /**↵
|
| | | 13 | * @param created The created to set.↵
|
| | | 14 | */↵
|
| | | 15 | public void setCreated(Calendar created) {↵
|
| | | 16 | this.created = created;↵
|
| | | 17 | }↵
|
| | | 18 | /**↵
|
| | | 19 | * @return Returns the modified.↵
|
| | | 20 | */↵
|
| | | 21 | public Calendar getModified() {↵
|
| | | 22 | return modified;↵
|
| | | 23 | }↵
|
| | | 24 | /**↵
|
| | | 25 | * @param modified The modified to set.↵
|
| | | 26 | */↵
|
| | | 27 | public void setModified(Calendar modified) {↵
|
| | | 28 | this.modified = modified;↵
|
| | | 29 | }↵
|
| | | 30 | /**↵
|
| | | 31 | * @return Returns the content.↵
|
| | | 32 | */↵
|
17 | public Set getChildren() {↵ | | 33 | public Blob getContent() {↵
|
18 | return children;↵ | | 34 | return content;↵
|
19 | }↵ | | 35 | }↵
|
| | | 36 | /**↵
|
| | | 37 | * @param content The content to set.↵
|
| | | 38 | */↵
|
20 | public void setChildren(Set children) {↵ | | 39 | public void setContent(Blob content) {↵
|
21 | this.children = children;↵ | | 40 | this.content = content;↵
|
22 | | | 41 |
|