1 | public class Eye {↵ | | 1 | public class SubMulti extends Multi {↵
|
2 | private long id;↵ | | 2 | private float amount;↵
|
3 | private String name;↵ | | 3 | private S↵
|
4 | private Jay jay;↵ | | |
|
5 | private Set jays = new HashSet();↵ | | |
|
| | | 4 | ubMulti parent;↵
|
| | | 5 | private List children;↵
|
| | | 6 | private List moreChildren;↵
|
6 | /**↵ | | 7 | /**↵
|
7 | * @return Returns the id.↵ | | 8 | * Returns the amount.↵
|
| | | 9 | * @return float↵
|
8 | */↵ | | 10 | */↵
|
9 | public long getId() {↵ | | 11 | public float getAmount() {↵
|
10 | return id;↵ | | 12 | return amount;↵
|
11 | }↵ | | 13 | }↵
|
| | | 14 | ↵
|
12 | /**↵ | | 15 | /**↵
|
13 | * @param id The id↵ | | 16 | * Sets the amount.↵
|
14 | to set.↵ | | 17 | * @param amount The amount to set↵
|
15 | */↵ | | 18 | */↵
|
16 | public void setId(long id) {↵ | | 19 | public void set↵
|
17 | this.id = id↵ | | 20 | Amount(float amount) {↵
|
18 | ;↵ | | 21 | this.amount = amount;↵
|
19 | }↵ | | 22 | }↵
|
| | | 23 | ↵
|
20 | /**↵ | | 24 | /**↵
|
21 | * @return Returns the jay.↵ | | 25 | * Returns the ↵
|
22 | */↵ | | |
|
23 | public Jay getJay↵ | | 26 | childen.↵
|
| | | 27 | * @return List↵
|
| | | 28 | */↵
|
24 | () {↵ | | 29 | public List getChildren() {↵
|
25 | return jay;↵ | | 30 | return children;↵
|
26 | }↵ | | 31 | }↵
|
| | | 32 | ↵
|
27 | /**↵ | | 33 | /**↵
|
28 | * @param jay The jay to set.↵ | | 34 | * Returns the parent.↵
|
| | | 35 | * @return SubMulti↵
|
29 | */↵ | | 36 | */↵
|
30 | public void setJay(Jay jay) {↵ | | 37 | public ↵
|
31 | this.jay = jay↵ | | 38 | SubMulti getParent() {↵
|
32 | ;↵ | | 39 | return parent;↵
|
33 | }↵ | | 40 | }↵
|
| | | 41 | ↵
|
34 | /**↵ | | 42 | /**↵
|
35 | * @return Returns the jays.↵ | | 43 | * ↵
|
36 | */↵ | | |
|
37 | public Set getJays() {↵ | | |
|
38 | return jays↵ | | 44 | Sets the childen.↵
|
| | | 45 | * @param childen The childen to set↵
|
| | | 46 | */↵
|
| | | 47 | public void setChildren(List children) {↵
|
39 | ;↵ | | 48 | this.children = children;↵
|
40 | }↵ | | 49 | }↵
|
| | | 50 | ↵
|
41 | /**↵ | | 51 | /**↵
|
42 | ↵ | | 52 | * Sets the parent.↵
|
43 | * @param jays The jays to set.↵ | | 53 | * @param parent The parent to set↵
|
44 | */↵ | | 54 | */↵
|
45 | public void setJays(Set jays) {↵ | | 55 | public void setParent(SubMulti parent) {↵
|
46 | this.jays = jays;↵ | | 56 | this.parent = parent;↵
|
47 | }↵ | | 57 | }↵
|
| | | 58 | ↵
|
48 | /**↵ | | 59 | /**↵
|
49 | * @return Returns the name.↵ | | 60 | * Returns the moreChildren.↵
|
| | | 61 | * @return List↵
|
50 | */↵ | | 62 | */↵
|
51 | public String getName() {↵ | | 63 | public List getMoreChildren() {↵
|
52 | return name;↵ | | 64 | return moreChildren;↵
|
53 | }↵ | | 65 | }↵
|
|
54 | /**↵ | | 66 | /**↵
|
55 | * @param name The name↵ | | 67 | * Sets the moreChildren.↵
|
56 | to set.↵ | | 68 | * @param moreChildren The moreChildren to set↵
|
57 | */↵ | | 69 | */↵
|
58 | public void setName(String name) {↵ | | 70 | public void set↵
|
59 | this.name = name | | 71 | MoreChildren(List moreChildren) {↵
|
| | | 72 | this.moreChildren = moreChildren
|