1 | public class Suite {
↵ | | 1 | public class Organization {↵
|
2 | private Long id;
↵ | | 2 | private long id;↵
|
3 | private String location;↵ | | 3 | private String ↵
|
4 | private Set note↵ | | 4 | name;↵
|
| | | 5 | private Collection employments;↵
|
|
| | | 6 | public Organization(String name) {↵
|
| | | 7 | this.name = name;↵
|
5 | s = new HashSet();↵ | | 8 | employments = new HashSet();↵
|
6 |
↵ | | |
|
| | | 9 | }↵
|
|
7 | public Suite() {↵ | | 10 | public ↵
|
8 | }↵ | | |
|
|
9 | public Suite(String location) {↵ | | |
|
10 | this.location = location;↵ | | |
|
11 | }↵ | | |
|
12 |
↵ | | 11 | Organization() {}↵
|
|
| | | 12 | /**↵
|
| | | 13 | * @return Returns the employments.↵
|
| | | 14 | */↵
|
13 | public Long getId() {
↵ | | 15 | public Collection getEmployments() {↵
|
14 | return id;↵ | | 16 | return ↵
|
15 | }↵ | | |
|
|
16 | public void setId(Long id↵ | | 17 | employments;↵
|
| | | 18 | }↵
|
| | | 19 | /**↵
|
| | | 20 | * @param employments The employments to set.↵
|
| | | 21 | */↵
|
17 | ) {
↵ | | 22 | public void setEmployments(Collection employments) {↵
|
18 | this.id = id;↵ | | 23 | this.↵
|
19 | }↵ | | |
|
20 |
↵ | | 24 | employments = employments;↵
|
| | | 25 | }↵
|
| | | 26 | /**↵
|
| | | 27 | * @return Returns the id.↵
|
| | | 28 | */↵
|
21 | public String getLocation() {
↵ | | 29 | public long getId() {↵
|
22 | return location;↵ | | 30 | return ↵
|
23 | }↵ | | |
|
|
24 | public void setLocation(String location↵ | | 31 | id;↵
|
| | | 32 | }↵
|
| | | 33 | /**↵
|
| | | 34 | * @param id The id to set.↵
|
| | | 35 | */↵
|
25 | ) {
↵ | | 36 | public void setId(long id) {↵
|
26 | this.location = location;↵ | | 37 | this.↵
|
27 | }↵ | | |
|
28 |
↵ | | 38 | id = id;↵
|
| | | 39 | }↵
|
| | | 40 | /**↵
|
| | | 41 | * @return Returns the name.↵
|
| | | 42 | */↵
|
29 | public Set getNotes() {
↵ | | 43 | public String getName() {↵
|
30 | return notes;↵ | | 44 | return n↵
|
31 | }↵ | | |
|
32 |
↵ | | 45 | ame;↵
|
| | | 46 | }↵
|
| | | 47 | /**↵
|
| | | 48 | * @param name The name to set.↵
|
| | | 49 | */↵
|
33 | public void setNotes(Set notes) {
↵ | | 50 | public void setName(String name) {↵
|
34 | this.notes = notes | | 51 | this.name = name
|