1 | public class PropertySet {
↵ | | 1 | public class Site {↵
|
2 | private Long id;
↵ | | 2 | private String name;↵
|
3 | private String name;↵ | | 3 | private String ↵
|
4 | private PropertyValue someSpecificProperty;↵ | | |
|
5 | private Map generalPropertie↵ | | 4 | description;↵
|
| | | 5 | private Set employees = new HashSet();↵
|
6 | s = new HashMap();↵ | | 6 | private Set managers = new Hash↵
|
|
7 | public PropertySet() {↵ | | |
|
8 | }↵ | | |
|
|
9 | public PropertySet↵ | | 7 | Set();↵
|
|
| | | 8 | Site() {}↵
|
10 | (String name) {
↵ | | 9 | public Site(String name) {↵
|
11 | this.name = name;
↵ | | 10 | this.name=name;↵
|
12 | }↵ | | 11 | }↵
|
13 |
↵ | | |
|
14 | public Long getId() {
↵ | | 12 | public Set getManagers() {↵
|
15 | return id;↵ | | 13 | return ↵
|
16 | }↵ | | |
|
17 |
↵ | | 14 | managers;↵
|
| | | 15 | }↵
|
18 | public void setId(Long id) {
↵ | | 16 | public void setManagers(Set managers) {↵
|
19 | this.id = id;↵ | | 17 | this.↵
|
20 | }↵ | | |
|
21 |
↵ | | 18 | managers = managers;↵
|
| | | 19 | }↵
|
22 | public String getName() {
↵ | | 20 | public String getDescription() {↵
|
23 | return name;↵ | | 21 | return ↵
|
24 | }↵ | | |
|
25 |
↵ | | 22 | description;↵
|
| | | 23 | }↵
|
26 | public void setName(String name) {
↵ | | 24 | public void setDescription(String description) {↵
|
27 | this.name = name;↵ | | 25 | this.↵
|
28 | }↵ | | |
|
|
29 | public PropertyValue getSomeSpecificProperty↵ | | 26 | description = description;↵
|
| | | 27 | }↵
|
30 | () {
↵ | | 28 | public Set getEmployees() {↵
|
31 | return someSpecificProperty;↵ | | 29 | return ↵
|
32 | }↵ | | |
|
|
33 | public void setSomeSpecificProperty(PropertyValue someSpecificProperty↵ | | 30 | employees;↵
|
| | | 31 | }↵
|
34 | ) {
↵ | | 32 | public void setEmployees(Set employees) {↵
|
35 | this.someSpecificProperty = someSpecificProperty;↵ | | 33 | this.↵
|
36 | }↵ | | |
|
|
37 | public Map getGeneralProperties↵ | | 34 | employees = employees;↵
|
| | | 35 | }↵
|
38 | () {
↵ | | 36 | public String getName() {↵
|
39 | return generalProperties;↵ | | 37 | return ↵
|
40 | }↵ | | |
|
|
41 | public void setGeneralProperties(Map generalProperties↵ | | 38 | name;↵
|
| | | 39 | }↵
|
42 | ) {
↵ | | 40 | public void setName(String name) {↵
|
43 | this.generalProperties = generalProperties | | 41 | this.name = name
|