1 | public class Document extends Item {↵ | | 1 | public class Speech {↵
|
| | | 2 |
↵
|
2 | private Blob content;↵ | | 3 | private ↵
|
|
3 | private Calendar modified;↵ | | |
|
|
4 | private Calendar created;↵ | | |
|
|
5 | /**↵ | | |
|
6 | * @return Returns the created.↵ | | |
|
7 | */↵ | | |
|
|
8 | public Calendar getCreate↵ | | 4 | Integer id;↵
|
| | | 5 | private String name;↵
|
| | | 6 | private Double length;↵
|
|
9 | d() {↵ | | 7 | public Integer getId() {↵
|
| | | 8 |
↵
|
10 | return created;↵ | | 9 | return id;↵
|
| | | 10 |
↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | |
|
13 | * @param created The created to set.↵ | | |
|
14 | */↵ | | |
|
|
15 | public void setCreated(Calendar create↵ | | |
|
|
16 | d) {↵ | | 12 | public void setId(Integer id) {↵
|
| | | 13 |
↵
|
17 | this.created = created;↵ | | 14 | this.id = id;↵
|
| | | 15 |
↵
|
18 | }↵ | | 16 | }↵
|
|
19 | /**↵ | | |
|
20 | * @return Returns the modified.↵ | | |
|
21 | */↵ | | |
|
|
22 | public Calendar getModified↵ | | |
|
|
23 | () {↵ | | 17 | public Double getLength() {↵
|
| | | 18 |
↵
|
24 | return modified;↵ | | 19 | return ↵
|
|
25 | }↵ | | |
|
|
26 | /**↵ | | |
|
27 | * @param modified The modified to set.↵ | | |
|
28 | */↵ | | |
|
|
29 | public void setModified(Calendar modified↵ | | 20 | length;↵
|
| | | 21 | }↵
|
|
30 | ) {↵ | | 22 | public void setLength(Double length) {↵
|
| | | 23 |
↵
|
31 | this.modified = modified;↵ | | 24 | this.↵
|
|
32 | }↵ | | |
|
|
33 | /**↵ | | |
|
34 | * @return Returns the content.↵ | | |
|
35 | */↵ | | |
|
|
36 | public Blob getContent↵ | | 25 | length = length;↵
|
| | | 26 | }↵
|
|
37 | () {↵ | | 27 | public String getName() {↵
|
| | | 28 |
↵
|
38 | return content;↵ | | 29 | return ↵
|
|
39 | }↵ | | |
|
|
40 | /**↵ | | |
|
41 | * @param content The content to set.↵ | | |
|
42 | */↵ | | |
|
|
43 | public void setContent(Blob content↵ | | 30 | name;↵
|
| | | 31 | }↵
|
|
44 | ) {↵ | | 32 | public void setName(String name) {↵
|
| | | 33 |
↵
|
45 | this.content = content; | | 34 | this.↵
|
| | | 35 | name = name;↵
|
| | | 36 |
|