1 | public class PropertySet {
↵ | | 1 | public class Point implements Serializable {↵
|
2 | private Long id;↵ | | 2 | private ↵
|
3 | private String name;↵ | | |
|
4 | private PropertyValue someSpecificProperty;↵ | | |
|
5 | private Map generalProperties = new HashMap();↵ | | |
|
|
6 | public PropertySe↵ | | 3 | BigDecimal x;↵
|
| | | 4 | private BigDecimal y;↵
|
| | | 5 | private String description;↵
|
| | | 6 | private Object row;↵
|
|
7 | t() {
↵ | | 7 | Point() {}↵
|
8 | }↵ | | 8 | ↵
|
9 |
↵ | | |
|
10 | public PropertySet(String name) {
↵ | | 9 | public Point(BigDecimal x, BigDecimal y) {↵
|
11 | this.name = name;↵ | | 10 | this.↵
|
12 | }↵ | | |
|
|
13 | public Long↵ | | 11 | x = x;↵
|
| | | 12 | this.y = y;↵
|
| | | 13 | }↵
|
|
14 | getId() {
↵ | | 14 | public BigDecimal getX() {↵
|
15 | return id;↵ | | 15 | return ↵
|
16 | }↵ | | |
|
|
17 | public void setId(Long id↵ | | 16 | x;↵
|
| | | 17 | }↵
|
|
18 | ) {
↵ | | 18 | void setX(BigDecimal x) {↵
|
19 | this.id = id;↵ | | 19 | this.x = ↵
|
20 | }↵ | | |
|
|
21 | public String getName↵ | | 20 | x;↵
|
| | | 21 | }↵
|
|
22 | () {
↵ | | 22 | public BigDecimal getY() {↵
|
23 | return name;↵ | | 23 | return ↵
|
24 | }↵ | | |
|
|
25 | public void setName(String name↵ | | 24 | y;↵
|
| | | 25 | }↵
|
|
26 | ) {
↵ | | 26 | void setY(BigDecimal y) {↵
|
27 | this.name = name;↵ | | 27 | this.↵
|
28 | }↵ | | |
|
|
29 | public PropertyValue getSomeSpecificProperty↵ | | 28 | y = y;↵
|
| | | 29 | }↵
|
|
30 | () {
↵ | | 30 | public String getDescription() {↵
|
31 | return someSpecificProperty;↵ | | 31 | return ↵
|
32 | }↵ | | |
|
|
33 | public void setSomeSpecificProperty(PropertyValue someSpecificProperty↵ | | 32 | description;↵
|
| | | 33 | }↵
|
|
34 | ) {
↵ | | 34 | public void setDescription(String description) {↵
|
35 | this.someSpecificProperty = someSpecificProperty;↵ | | 35 | this.↵
|
36 | }↵ | | |
|
|
37 | public Map getGeneralProperties↵ | | 36 | description = description;↵
|
| | | 37 | }↵
|
|
38 | () {
↵ | | 38 | public Object getRow() {↵
|
39 | return generalProperties;↵ | | 39 | return ↵
|
40 | }↵ | | |
|
|
41 | public void setGeneralProperties(Map generalProperties↵ | | 40 | row;↵
|
| | | 41 | }↵
|
|
42 | ) {
↵ | | 42 | public void setRow(Object row) {↵
|
43 | this.generalProperties = generalProperties | | 43 | this.row = row
|