1 | public class ServerImpl implements Server {
↵ | | 1 | public class Alien extends Being {↵
|
2 | private Long id;↵ | | 2 | private ↵
|
3 | private String serverTyp↵ | | 3 | String species;↵
|
4 | e;
↵ | | 4 | private Hive hive;↵
|
5 | private Address address;↵ | | 5 | private ↵
|
6 |
↵ | | 6 | List hivemates = new ArrayList();↵
|
| | | 7 | /**↵
|
| | | 8 | * @return Returns the species.↵
|
| | | 9 | */↵
|
7 | public Long getId() {
↵ | | 10 | public String getSpecies() {↵
|
8 | return id;↵ | | 11 | return ↵
|
9 | }↵ | | |
|
|
10 | public void setId(Long id↵ | | 12 | species;↵
|
| | | 13 | }↵
|
| | | 14 | /**↵
|
| | | 15 | * @param species The species to set.↵
|
| | | 16 | */↵
|
11 | ) {
↵ | | 17 | public void setSpecies(String species) {↵
|
12 | this.id = id;↵ | | 18 | this.↵
|
13 | }↵ | | |
|
14 |
↵ | | 19 | species = species;↵
|
| | | 20 | }↵
|
15 | public String getServerType() {
↵ | | 21 | public Hive getHive() {↵
|
16 | return serverType;↵ | | 22 | return ↵
|
17 | }↵ | | |
|
|
18 | public void setServerType(String serverTyp↵ | | 23 | hive;↵
|
| | | 24 | }↵
|
19 | e) {
↵ | | 25 | public void setHive(Hive hive) {↵
|
20 | this.serverType = serverType;↵ | | 26 | this.↵
|
21 | }↵ | | |
|
|
22 | public Address getAddres↵ | | 27 | hive = hive;↵
|
| | | 28 | }↵
|
23 | s() {
↵ | | 29 | public List getHivemates() {↵
|
24 | return address;
↵ | | 30 | return hivemates;↵
|
25 | }↵ | | 31 | }↵
|
26 |
↵ | | |
|
27 | public void setAddress(Address address) {
↵ | | 32 | public void setHivemates(List hivemates) {↵
|
28 | this.address = address;
↵ | | 33 | this.hivemates = hivemates;↵
|
29 | | | 34 |
|