1 | public class BagOwner {↵ | | 1 | public class Suite {↵
|
2 | private String name;↵ | | 2 | private Long id;↵
|
3 | private BagOwner parent;↵ | | 3 | private ↵
|
4 | private List children = new ArrayLis↵ | | 4 | String location;↵
|
5 | t();↵ | | 5 | private Set notes = new HashSet();↵
|
|
6 | public BagOwner() {↵ | | 6 | public Suite() {↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public BagOwner(String name) {↵ | | 8 | public ↵
|
9 | this.name = name↵ | | 9 | Suite(String location) {↵
|
10 | ;↵ | | 10 | this.location = location;↵
|
11 | }↵ | | 11 | }↵
|
|
12 | public String getName() {↵ | | 12 | public Long getId() {↵
|
13 | return name;↵ | | 13 | return id;↵
|
14 | }↵ | | 14 | }↵
|
|
15 | public void setName(String name) {↵ | | 15 | public void setId(Long id) {↵
|
16 | this.name = name;↵ | | 16 | this.id = id;↵
|
17 | }↵ | | 17 | }↵
|
|
18 | public BagOwner getParent() {↵ | | 18 | public String getLocation() {↵
|
19 | return parent;↵ | | 19 | return location;↵
|
20 | }↵ | | 20 | }↵
|
|
21 | public void setParent(BagOwner parent) {↵ | | 21 | public void set↵
|
22 | this.parent = parent↵ | | 22 | Location(String location) {↵
|
23 | ;↵ | | 23 | this.location = location;↵
|
24 | }↵ | | 24 | }↵
|
|
25 | public List getChildren() {↵ | | 25 | public Set getNotes() {↵
|
26 | return children;↵ | | 26 | return notes;↵
|
27 | }↵ | | 27 | }↵
|
|
28 | public void setChildren(List children) {↵ | | 28 | public void set↵
|
29 | this.children = children | | 29 | Notes(Set notes) {↵
|
| | | 30 | this.notes = notes
|