1 | public class Po {↵ | | 1 | public class X {↵
|
|
2 | private long id;↵ | | 2 | private long id;↵
|
3 | private String value;↵ | | 3 | private ↵
|
4 | private Set set;↵ | | |
|
5 | private List list;↵ | | |
|
6 | private Top top;↵ | | |
|
7 | private Lower lower;↵ | | 4 | Y y;↵
|
| | | 5 | private List xxs = new ArrayList();↵
|
|
8 | /**↵ | | 6 | /**↵
|
9 | * Returns the id.↵ | | 7 | * Returns the id.↵
|
10 | * @return long↵ | | 8 | * @return long↵
|
11 | */↵ | | 9 | */↵
|
12 | public long getId() {↵ | | 10 | public long getId() {↵
|
13 | return id;↵ | | 11 | return id;↵
|
14 | }↵ | | 12 | }↵
|
15 | ↵ | | |
|
16 | /**↵ | | 13 | /**↵
|
17 | * Returns the value.↵ | | 14 | * Returns the y.↵
|
18 | * @return String↵ | | 15 | * @return Y↵
|
19 | */↵ | | 16 | */↵
|
20 | public String getValue() {↵ | | 17 | public Y getY() {↵
|
21 | return value;↵ | | 18 | return y;↵
|
22 | }↵ | | 19 | }↵
|
23 | ↵ | | |
|
24 | /**↵ | | 20 | /**↵
|
25 | * Sets the id.↵ | | 21 | * Sets the id.↵
|
26 | * @param id The id to set↵ | | 22 | * @param id The id to set↵
|
27 | */↵ | | 23 | */↵
|
28 | public void setId(long id) {↵ | | 24 | public void setId(long id) {↵
|
29 | this.id = id;↵ | | 25 | this.id = id;↵
|
30 | }↵ | | 26 | }↵
|
31 | ↵ | | |
|
32 | /**↵ | | 27 | /**↵
|
33 | * Sets the value.↵ | | 28 | * Sets the y.↵
|
34 | * @param value The value to set↵ | | 29 | * @param y The y to set↵
|
35 | */↵ | | 30 | */↵
|
36 | public void setValue(String value) {↵ | | 31 | public void set↵
|
37 | this.value = value;↵ | | |
|
38 | }↵ | | |
|
39 | ↵ | | |
|
40 | /**↵ | | |
|
41 | * Returns the set.↵ | | |
|
42 | * @return Set↵ | | |
|
43 | */↵ | | 32 | Y(Y y) {↵
|
| | | 33 | this.y = y;↵
|
| | | 34 | }↵
|
| | | 35 | ↵
|
44 | public Set getSet() {↵ | | 36 | public List getXxs() {↵
|
45 | return set;↵ | | 37 | return xxs;↵
|
46 | }↵ | | 38 | }↵
|
47 | ↵ | | |
|
48 | /**↵ | | |
|
49 | * Sets the set.↵ | | |
|
50 | * @param set The set to set↵ | | |
|
51 | */↵ | | |
|
52 | public void setSet(Set set) {↵ | | 39 | public void setXxs(List xxs) {↵
|
53 | this.set = set;↵ | | 40 | this.↵
|
54 | }↵ | | |
|
55 | ↵ | | |
|
56 | /**↵ | | |
|
57 | * Returns the list.↵ | | |
|
58 | * @return List↵ | | |
|
59 | */↵ | | |
|
60 | public List getList() {↵ | | |
|
61 | return list;↵ | | |
|
62 | }↵ | | |
|
63 | ↵ | | |
|
64 | /**↵ | | |
|
65 | * Sets the list.↵ | | |
|
66 | * @param list The list to set↵ | | |
|
67 | */↵ | | |
|
68 | public void setList(List list↵ | | 41 | xxs = xxs;↵
|
| | | 42 | }↵
|
|
| | | 43 | public static class XX {↵
|
| | | 44 | private Long id;↵
|
| | | 45 | private X x;↵
|
| | | 46 | private XX() {}↵
|
69 | ) {↵ | | 47 | public XX(X x) {↵
|
70 | this.list = list;↵ | | 48 | this.x = x;↵
|
71 | }↵ | | 49 | }↵
|
72 | ↵ | | 50 | ↵
|
73 | public Lower getLower() {↵ | | 51 | public Long getId() {↵
|
74 | return lower;↵ | | 52 | return id;↵
|
75 | }↵ | | 53 | }↵
|
|
76 | public Top getTop() {↵ | | 54 | public void setId(Long id) {↵
|
77 | return top;↵ | | 55 | this.id = id;↵
|
78 | }↵ | | 56 | }↵
|
|
79 | public void setLower(Lower lower) {↵ | | 57 | public ↵
|
80 | this.lower = lower↵ | | 58 | X getX() {↵
|
81 | ;↵ | | 59 | return x;↵
|
82 | }↵ | | 60 | }↵
|
|
83 | public void setTop(Top top) {↵ | | 61 | public void setX(X x) {↵
|
84 | this.top = top | | 62 | this.x = x
|