1 | public class Suite {↵ | | 1 | public class MyChild {↵
|
2 | private Long id;↵ | | 2 | private Long id;↵
|
3 | private String location;↵ | | 3 | private String name;↵
|
4 | private Set notes = new HashSet();↵ | | 4 | private MyEntity inverseParent;↵
|
|
5 | public Suite() {↵ | | 5 | public MyChild() {↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public Suite(String location) {↵ | | 7 | public MyChild(String name) {↵
|
8 | this.location = location;↵ | | 8 | this.name = name;↵
|
9 | }↵ | | 9 | }↵
|
|
10 | public Long getId() {↵ | | 10 | public Long getId() {↵
|
11 | return id;↵ | | 11 | return id;↵
|
12 | }↵ | | 12 | }↵
|
|
13 | public void setId(Long id) {↵ | | 13 | public void setId(Long id) {↵
|
14 | this.id = id;↵ | | 14 | this.id = id;↵
|
15 | }↵ | | 15 | }↵
|
|
16 | public String getLocation() {↵ | | 16 | public String getName() {↵
|
17 | return location;↵ | | 17 | return name;↵
|
18 | }↵ | | 18 | }↵
|
|
19 | public void setLocation(String location) {↵ | | 19 | public void set↵
|
20 | this.location = location↵ | | 20 | Name(String name) {↵
|
21 | ;↵ | | 21 | this.name = name;↵
|
22 | }↵ | | 22 | }↵
|
|
23 | public Set getNotes() {↵ | | 23 | public MyEntity getInverseParent() {↵
|
24 | return notes;↵ | | 24 | return inverseParent;↵
|
25 | }↵ | | 25 | }↵
|
|
26 | public void setNotes(Set notes) {↵ | | 26 | public void set↵
|
27 | this.notes = notes↵ | | 27 | InverseParent(MyEntity inverseParent) {↵
|
28 | ;↵ | | 28 | this.inverseParent = inverseParent;↵
|
29 | | | 29 |
|