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