1 | public class DocumentImpl extends ItemImpl implements Document {↵ | | 1 | public class ↵
|
2 | private Blob content;↵ | | |
|
3 | private Calendar modified;↵ | | |
|
4 | private Calendar created↵ | | 2 | Alien extends Being {↵
|
| | | 3 | private String species;↵
|
| | | 4 | private Hive hive;↵
|
5 | ;↵ | | 5 | private List hivemates = new ArrayList();↵
|
6 | /**↵ | | 6 | /**↵
|
7 | * @return Returns the created.↵ | | 7 | * @return Returns the species.↵
|
8 | */↵ | | 8 | */↵
|
9 | public Calendar getCreated() {↵ | | 9 | public String getSpecies() {↵
|
10 | return created;↵ | | 10 | return species;↵
|
11 | }↵ | | 11 | }↵
|
12 | /**↵ | | 12 | /**↵
|
13 | * @param created The created to set.↵ | | 13 | * @param species The species to set.↵
|
14 | */↵ | | 14 | */↵
|
15 | public void setCreated(Calendar created) {↵ | | 15 | public void set↵
|
16 | this.created = created;↵ | | |
|
17 | }↵ | | |
|
18 | /**↵ | | |
|
19 | * @return Returns the modified.↵ | | |
|
20 | */↵ | | 16 | Species(String species) {↵
|
| | | 17 | this.species = species;↵
|
| | | 18 | }↵
|
21 | public Calendar getModified() {↵ | | 19 | public ↵
|
22 | return modified;↵ | | |
|
23 | }↵ | | |
|
24 | /**↵ | | |
|
25 | * @param modified The modified to set.↵ | | |
|
26 | */↵ | | |
|
27 | public void setModified(Calendar modified) {↵ | | |
|
28 | this.modified = modified;↵ | | |
|
29 | }↵ | | |
|
30 | /**↵ | | |
|
31 | * @return Returns the content.↵ | | |
|
32 | */↵ | | |
|
33 | public Blob getContent() {↵ | | |
|
34 | return content;↵ | | |
|
35 | }↵ | | |
|
36 | /**↵ | | |
|
37 | * @param content The content to set.↵ | | |
|
38 | */↵ | | |
|
39 | public void setContent(Blob content) {↵ | | |
|
40 | this.content = content | | 20 | Hive getHive() {↵
|
| | | 21 | return hive;↵
|
| | | 22 | }↵
|
| | | 23 | public void setHive(Hive hive) {↵
|
| | | 24 | this.hive = hive;↵
|
| | | 25 | }↵
|
| | | 26 | public List getHivemates() {↵
|
| | | 27 | return hivemates;↵
|
| | | 28 | }↵
|
| | | 29 | public void setHivemates(List hivemates) {↵
|
| | | 30 | this.hivemates = hivemates
|