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