1 | public class Document extends Item {↵ | | 1 | public class Employee extends Person {↵
|
|
2 | private Blob content;↵ | | 2 | private ↵
|
|
3 | private Calendar modified;↵ | | |
|
|
4 | private Calendar created↵ | | 3 | 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 setTitle(String title) {↵
|
|
16 | this.created = created;↵ | | 16 | this.title = title;↵
|
|
17 | }↵ | | 17 | }↵
|
|
18 | /**↵ | | 18 | /**↵
|
19 | * @return Returns the modified.↵ | | 19 | * @return Returns the manager.↵
|
20 | */↵ | | 20 | */↵
|
|
21 | public Calendar getModified() {↵ | | 21 | public Employee getManager() {↵
|
|
22 | return modified;↵ | | 22 | return manager;↵
|
|
23 | }↵ | | 23 | }↵
|
|
24 | /**↵ | | 24 | /**↵
|
25 | * @param modified The modified to set.↵ | | 25 | * @param manager The manager to set.↵
|
26 | */↵ | | 26 | */↵
|
|
27 | public void setModified(Calendar modified) {↵ | | 27 | public void setManager(Employee manager) {↵
|
|
28 | this.modified = modified;↵ | | 28 | this.manager = manager;↵
|
|
29 | }↵ | | 29 | }↵
|
|
30 | /**↵ | | 30 | /**↵
|
31 | * @return Returns the content.↵ | | 31 | * @return Returns the salary.↵
|
32 | */↵ | | 32 | */↵
|
|
33 | public Blob getContent() {↵ | | 33 | public BigDecimal getSalary() {↵
|
|
34 | return content;↵ | | 34 | return salary;↵
|
|
35 | }↵ | | 35 | }↵
|
|
36 | /**↵ | | 36 | /**↵
|
37 | * @param content The content to set.↵ | | 37 | * @param salary The salary to set.↵
|
38 | */↵ | | 38 | */↵
|
|
39 | public void setContent(Blob content) {↵ | | 39 | public void setSalary(BigDecimal salary) {↵
|
|
40 | this.content = content; | | 40 | this.salary = salary;↵
|
| | | 41 |
|