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