1 | public class DocumentImpl extends ItemImpl implements Document {↵ | | 1 | public class ↵
|
2 | private Blob content;↵ | | |
|
3 | private Calendar modified;↵ | | |
|
4 | private Calendar created↵ | | 2 | Employee extends Person {↵
|
| | | 3 | private String title;↵
|
| | | 4 | private BigDecimal salary;↵
|
5 | ;↵ | | 5 | private Employee manager;↵
|
6 | /**↵ | | 6 | /**↵
|
7 | * @return Returns the created.↵ | | 7 | * @return Returns the title.↵
|
8 | */↵ | | 8 | */↵
|
9 | public Calendar getCreated() {↵ | | 9 | public String getTitle() {↵
|
10 | return created;↵ | | 10 | return title;↵
|
11 | }↵ | | 11 | }↵
|
12 | /**↵ | | 12 | /**↵
|
13 | * @param created The created to set.↵ | | 13 | * @param title The title to set.↵
|
14 | */↵ | | 14 | */↵
|
15 | public void setCreated(Calendar created) {↵ | | 15 | public void set↵
|
16 | this.created = created↵ | | 16 | Title(String title) {↵
|
17 | ;↵ | | 17 | this.title = title;↵
|
18 | }↵ | | 18 | }↵
|
19 | /**↵ | | 19 | /**↵
|
20 | * @return Returns the modified.↵ | | 20 | * @return Returns the manager.↵
|
21 | */↵ | | 21 | */↵
|
22 | public Calendar getModified() {↵ | | 22 | public Employee getManager() {↵
|
23 | return modified;↵ | | 23 | return manager;↵
|
24 | }↵ | | 24 | }↵
|
25 | /**↵ | | 25 | /**↵
|
26 | * @param modified The modified to set.↵ | | 26 | * @param manager The manager to set.↵
|
27 | */↵ | | 27 | */↵
|
28 | public void setModified(Calendar modified) {↵ | | 28 | public void setM↵
|
29 | this.modified = modified↵ | | 29 | anager(Employee manager) {↵
|
30 | ;↵ | | 30 | this.manager = manager;↵
|
31 | }↵ | | 31 | }↵
|
32 | /**↵ | | 32 | /**↵
|
33 | * @return Returns the content.↵ | | 33 | * @return Returns the salary.↵
|
34 | */↵ | | 34 | */↵
|
35 | public Blob getContent() {↵ | | 35 | public BigDecimal getSalary() {↵
|
36 | return content;↵ | | 36 | return salary;↵
|
37 | }↵ | | 37 | }↵
|
38 | /**↵ | | 38 | /**↵
|
39 | * @param content The content to set.↵ | | 39 | * @param salary The salary to set.↵
|
40 | */↵ | | 40 | */↵
|
41 | public void setContent(Blob content) {↵ | | 41 | public void set↵
|
42 | this.content = content | | 42 | Salary(BigDecimal salary) {↵
|
| | | 43 | this.salary = salary
|