1 | public class Zoo {↵ | | 1 | public class Po {↵
|
2 | private Long id;↵ | | 2 | private long id;↵
|
3 | private String name;↵ | | 3 | private String value;↵
|
4 | private Classification classification;↵ | | 4 | private ↵
|
5 | private Map animals;↵ | | |
|
6 | private Map mammals;↵ | | |
|
7 | private Address address;↵ | | |
|
| | | 5 | Set set;↵
|
| | | 6 | private List list;↵
|
| | | 7 | private Top top;↵
|
| | | 8 | private Lower lower;↵
|
| | | 9 | /**↵
|
| | | 10 | * Returns the id.↵
|
| | | 11 | * @return long↵
|
| | | 12 | */↵
|
8 | public Long getId() {↵ | | 13 | public long getId() {↵
|
9 | return id;↵ | | 14 | return id;↵
|
10 | }↵ | | 15 | }↵
|
| | | 16 | ↵
|
| | | 17 | /**↵
|
| | | 18 | * Returns the value.↵
|
| | | 19 | * @return String↵
|
| | | 20 | */↵
|
| | | 21 | public String getValue() {↵
|
| | | 22 | return value;↵
|
| | | 23 | }↵
|
| | | 24 | ↵
|
| | | 25 | /**↵
|
| | | 26 | * Sets the id.↵
|
| | | 27 | * @param id The id to set↵
|
| | | 28 | */↵
|
11 | public void setId(Long id) {↵ | | 29 | public void setId(long id) {↵
|
12 | this.id = id;↵ | | 30 | this.id = id;↵
|
13 | }↵ | | 31 | }↵
|
| | | 32 | ↵
|
14 | public String getName() {↵ | | 33 | ↵
|
15 | return name;↵ | | |
|
16 | }↵ | | |
|
| | | 34 | /**↵
|
| | | 35 | * Sets the value.↵
|
| | | 36 | * @param value The value to set↵
|
| | | 37 | */↵
|
17 | public void setName(String name) {↵ | | 38 | public void setValue(String value) {↵
|
18 | this.name = name;↵ | | 39 | this.↵
|
19 | }↵ | | |
|
| | | 40 | value = value;↵
|
| | | 41 | }↵
|
| | | 42 | ↵
|
| | | 43 | /**↵
|
| | | 44 | * Returns the set.↵
|
| | | 45 | * @return Set↵
|
| | | 46 | */↵
|
20 | public Map getMammals() {↵ | | 47 | public Set getSet() {↵
|
21 | return mammals;↵ | | 48 | return ↵
|
22 | }↵ | | |
|
|
23 | public void setMammals(Map mammals) {↵ | | |
|
24 | this.mammals = mammals;↵ | | |
|
25 | }↵ | | |
|
| | | 49 | set;↵
|
| | | 50 | }↵
|
| | | 51 | ↵
|
| | | 52 | /**↵
|
| | | 53 | * Sets the set.↵
|
| | | 54 | * @param set The set to set↵
|
| | | 55 | */↵
|
| | | 56 | public void setSet(Set set) {↵
|
| | | 57 | this.set = set;↵
|
| | | 58 | }↵
|
| | | 59 | ↵
|
| | | 60 | /**↵
|
| | | 61 | * Returns the list.↵
|
| | | 62 | * @return List↵
|
| | | 63 | */↵
|
26 | public Map getAnimals() {↵ | | 64 | public ↵
|
27 | return animals;↵ | | |
|
28 | }↵ | | |
|
|
29 | public void setAnimals(Map animals↵ | | 65 | List getList() {↵
|
| | | 66 | return list;↵
|
| | | 67 | }↵
|
| | | 68 | ↵
|
| | | 69 | /**↵
|
| | | 70 | * Sets the list.↵
|
| | | 71 | * @param list The list to set↵
|
| | | 72 | */↵
|
30 | ) {↵ | | 73 | public void setList(List list) {↵
|
31 | this.animals = animals;↵ | | 74 | this.list = list;↵
|
32 | }↵ | | 75 | }↵
|
| | | 76 | ↵
|
33 | public Address getAddress() {↵ | | 77 | public Lower getLower() {↵
|
34 | return address;↵ | | 78 | return lower;↵
|
35 | }↵ | | 79 | }↵
|
|
36 | public void setAddress(Address address) {↵ | | 80 | public ↵
|
37 | this.address = address;↵ | | |
|
38 | }↵ | | |
|
|
39 | public Classification getClassification() {↵ | | |
|
40 | return classification;↵ | | |
|
41 | }↵ | | |
|
|
42 | public void setClassification(Classification classification) {↵ | | |
|
43 | this.classification = classification↵ | | 81 | Top getTop() {↵
|
| | | 82 | return top;↵
|
| | | 83 | }↵
|
|
| | | 84 | public void setLower(Lower lower) {↵
|
| | | 85 | this.lower = lower;↵
|
| | | 86 | }↵
|
|
| | | 87 | public void setTop(Top top) {↵
|
44 | ;↵ | | 88 | this.top = top;↵
|
45 | | | 89 |
|