1 | public class PropertySet {↵ | | 1 | public class Child {↵
|
2 | private Long id;↵ | | 2 | private Long id;↵
|
3 | private String name;↵ | | 3 | private String name;↵
|
4 | private PropertyValue someSpecificProperty;↵ | | 4 | private P↵
|
5 | private Map generalProperties = new HashMap()↵ | | 5 | arent parent;↵
|
6 | ;↵ | | 6 | private ChildInfo info;↵
|
|
7 | public PropertySet() {↵ | | 7 | public Child() {↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public PropertySet(String name) {↵ | | 9 | public Child(String name) {↵
|
10 | this.name = name;↵ | | 10 | this.name = name;↵
|
11 | }↵ | | 11 | }↵
|
|
12 | public Long getId() {↵ | | 12 | public Long getId() {↵
|
13 | return id;↵ | | 13 | return id;↵
|
14 | }↵ | | 14 | }↵
|
|
15 | public void setId(Long id) {↵ | | 15 | public void setId(Long id) {↵
|
16 | this.id = id;↵ | | 16 | this.id = id;↵
|
17 | }↵ | | 17 | }↵
|
|
18 | public String getName() {↵ | | 18 | public String getName() {↵
|
19 | return name;↵ | | 19 | return name;↵
|
20 | }↵ | | 20 | }↵
|
|
21 | public void setName(String name) {↵ | | 21 | public void setName(String name) {↵
|
22 | this.name = name;↵ | | 22 | this.name = name;↵
|
23 | }↵ | | 23 | }↵
|
|
24 | public PropertyValue getSomeSpecificProperty() {↵ | | 24 | public P↵
|
25 | return someSpecificProperty↵ | | 25 | arent getParent() {↵
|
26 | ;↵ | | 26 | return parent;↵
|
27 | }↵ | | 27 | }↵
|
|
28 | public void setSomeSpecificProperty(PropertyValue someSpecificProperty) {↵ | | 28 | public void set↵
|
29 | this.someSpecificProperty = someSpecificProperty↵ | | 29 | Parent(Parent parent) {↵
|
30 | ;↵ | | 30 | this.parent = parent;↵
|
31 | }↵ | | 31 | }↵
|
|
32 | public Map getGeneralProperties() {↵ | | 32 | public ↵
|
33 | return generalProperties;↵ | | |
|
34 | }↵ | | |
|
|
35 | public void setGeneralProperties(Map generalProperties) {↵ | | |
|
36 | this.generalProperties = generalProperties↵ | | 33 | ChildInfo getInfo() {↵
|
| | | 34 | return info;↵
|
| | | 35 | }↵
|
|
| | | 36 | public void setInfo(ChildInfo info) {↵
|
37 | ;↵ | | 37 | this.info = info;↵
|
38 | | | 38 |
|