1 | public class Master implements Serializable {↵ | | 1 | public class Being {↵
|
2 | private Long id;↵ | | 2 | private long id;↵
|
3 | private String name;↵ | | 3 | private String identity;↵
|
4 | private Detail detail;↵ | | 4 | private ↵
|
5 | public Detail getDetail() {↵ | | |
|
6 | return detail↵ | | 5 | String location;↵
|
7 | ;↵ | | 6 | private String species;↵
|
8 | }↵ | | 7 | ↵
|
9 | public void setDetail(Detail detail) {↵ | | 8 | public void set↵
|
10 | this.detail = detail↵ | | 9 | Location(String location) {↵
|
11 | ;↵ | | 10 | this.location = location;↵
|
12 | }↵ | | 11 | }↵
|
13 | public Long getId() {↵ | | 12 | public String getLocation() {↵
|
14 | return id;↵ | | 13 | return location;↵
|
15 | }↵ | | 14 | }↵
|
16 | public void setId(Long id) {↵ | | 15 | public void set↵
|
17 | this.id = id↵ | | 16 | Species(String species) {↵
|
18 | ;↵ | | 17 | this.species = species;↵
|
19 | }↵ | | 18 | }↵
|
20 | public String getName() {↵ | | 19 | public String getSpecies() {↵
|
21 | return name;↵ | | 20 | return species;↵
|
22 | }↵ | | 21 | }↵
|
23 | public void setName(String name) {↵ | | 22 | public void set↵
|
24 | this.name = name↵ | | 23 | Identity(String identity) {↵
|
| | | 24 | this.identity = identity;↵
|
| | | 25 | }↵
|
| | | 26 | public String getIdentity() {↵
|
25 | ;↵ | | 27 | return identity;↵
|
26 | | | 28 |
|