1 | public class MyInterfaceImpl implements MyInterface {
↵ | | 1 | public class Parent {↵
|
2 | private String key1;
↵ | | 2 | private Long id;↵
|
3 | private String key2;
↵ | | 3 | private String name;↵
|
4 | private String name;↵ | | 4 | private ↵
|
|
5 | public String getKey1↵ | | 5 | Collection children = new HashSet();↵
|
| | | 6 | /**↵
|
| | | 7 | * @return Returns the children.↵
|
| | | 8 | */↵
|
6 | () {
↵ | | 9 | public Collection getChildren() {↵
|
7 | return key1;↵ | | 10 | return ↵
|
8 | }↵ | | |
|
|
9 | public void setKey1(String key1↵ | | 11 | children;↵
|
| | | 12 | }↵
|
| | | 13 | /**↵
|
| | | 14 | * @param children The children to set.↵
|
| | | 15 | */↵
|
10 | ) {
↵ | | 16 | public void setChildren(Collection children) {↵
|
11 | this.key1 = key1;↵ | | 17 | this.↵
|
12 | }↵ | | |
|
13 |
↵ | | 18 | children = children;↵
|
| | | 19 | }↵
|
| | | 20 | /**↵
|
| | | 21 | * @return Returns the id.↵
|
| | | 22 | */↵
|
14 | public String getKey2() {
↵ | | 23 | public Long getId() {↵
|
15 | return key2;↵ | | 24 | return ↵
|
16 | }↵ | | |
|
17 |
↵ | | 25 | id;↵
|
| | | 26 | }↵
|
| | | 27 | /**↵
|
| | | 28 | * @param id The id to set.↵
|
| | | 29 | */↵
|
18 | public void setKey2(String key2) {
↵ | | 30 | public void setId(Long id) {↵
|
19 | this.key2 = key2;↵ | | 31 | this.↵
|
20 | }↵ | | |
|
21 |
↵ | | 32 | id = id;↵
|
| | | 33 | }↵
|
| | | 34 | /**↵
|
| | | 35 | * @return Returns the name.↵
|
| | | 36 | */↵
|
22 | public String getName() {
↵ | | 37 | public String getName() {↵
|
23 | return name;
↵ | | 38 | return name;↵
|
24 | }↵ | | 39 | }↵
|
25 |
↵ | | |
|
| | | 40 | /**↵
|
| | | 41 | * @param name The name to set.↵
|
| | | 42 | */↵
|
26 | public void setName(String name) {
↵ | | 43 | public void setName(String name) {↵
|
27 | this.name = name;
↵ | | 44 | this.name = name;↵
|
28 | | | 45 |
|