1 | public class Department {↵ | | 1 | public class DocumentImpl extends ItemImpl implements Document {↵
|
2 | private Long id;↵ | | 2 | private ↵
|
3 | private String name;↵ | | |
|
4 | private Set salespersons = new HashSet();↵ | | |
|
|
5 | public Long getId() {↵ | | |
|
6 | return id;↵ | | |
|
7 | }↵ | | |
|
|
8 | public void setId(Long id) {↵ | | |
|
9 | this.id = id;↵ | | |
|
10 | }↵ | | |
|
|
11 | public String getName() {↵ | | |
|
12 | return name;↵ | | |
|
13 | }↵ | | |
|
|
14 | public void setName(String name↵ | | 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 | */↵
|
| | | 15 | public void setCreated(Calendar created) {↵
|
| | | 16 | this.created = created;↵
|
| | | 17 | }↵
|
| | | 18 | /**↵
|
| | | 19 | * @return Returns the modified.↵
|
| | | 20 | */↵
|
| | | 21 | public Calendar getModified() {↵
|
| | | 22 | return modified;↵
|
| | | 23 | }↵
|
| | | 24 | /**↵
|
| | | 25 | * @param modified The modified to set.↵
|
| | | 26 | */↵
|
15 | ) {↵ | | 27 | public void setModified(Calendar modified) {↵
|
16 | this.name = name;↵ | | 28 | this.↵
|
17 | }↵ | | |
|
|
18 | public Set getSalespersons() {↵ | | |
|
19 | return salespersons;↵ | | |
|
20 | }↵ | | |
|
|
21 | public void setSalespersons(Set salespersons) {↵ | | |
|
22 | this.salespersons = salespersons | | 29 | modified = modified;↵
|
| | | 30 | }↵
|
| | | 31 | /**↵
|
| | | 32 | * @return Returns the content.↵
|
| | | 33 | */↵
|
| | | 34 | public Blob getContent() {↵
|
| | | 35 | return content;↵
|
| | | 36 | }↵
|
| | | 37 | /**↵
|
| | | 38 | * @param content The content to set.↵
|
| | | 39 | */↵
|
| | | 40 | public void setContent(Blob content) {↵
|
| | | 41 | this.content = content
|