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