1 | public class Suite {↵ | | 1 | public class MySibling {↵
|
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 entity;↵
|
|
5 | public Suite() {↵ | | 5 | public MySibling() {↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public Suite(String location) {↵ | | 7 | public ↵
|
8 | this.location = location↵ | | 8 | MySibling(String name) {↵
|
9 | ;↵ | | 9 | this.name = name;↵
|
10 | }↵ | | 10 | }↵
|
|
11 | public Long getId() {↵ | | 11 | public Long getId() {↵
|
12 | return id;↵ | | 12 | return id;↵
|
13 | }↵ | | 13 | }↵
|
|
14 | public void setId(Long id) {↵ | | 14 | public void setId(Long id) {↵
|
15 | this.id = id;↵ | | 15 | this.id = id;↵
|
16 | }↵ | | 16 | }↵
|
|
17 | public String getLocation() {↵ | | 17 | public String getName() {↵
|
18 | return location;↵ | | 18 | return name;↵
|
19 | }↵ | | 19 | }↵
|
|
20 | public void setLocation(String location) {↵ | | 20 | public void set↵
|
21 | this.location = location↵ | | 21 | Name(String name) {↵
|
22 | ;↵ | | 22 | this.name = name;↵
|
23 | }↵ | | 23 | }↵
|
|
24 | public Set getNotes() {↵ | | 24 | public MyEntity getEntity() {↵
|
25 | return notes;↵ | | 25 | return entity;↵
|
26 | }↵ | | 26 | }↵
|
|
27 | public void setNotes(Set notes) {↵ | | 27 | public void setEntity(MyEntity entity) {↵
|
28 | this.notes = notes | | 28 | this.entity = entity
|