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