133:ef075cd7ce55 | 134:f47e82cd6077 |
---|---|
36 | 36 |
37 private final int id; | 37 private final int id; |
38 | 38 |
39 private String name; | 39 private String name; |
40 | 40 |
41 private WebColor color; | 41 private String node; |
42 | |
43 private WebColor color = new WebColor("000000"); | |
42 | 44 |
43 private int ordinal = 0; | 45 private int ordinal = 0; |
44 | 46 |
45 private String description = null; | 47 private String description = null; |
46 | 48 |
62 return name; | 64 return name; |
63 } | 65 } |
64 | 66 |
65 public void setName(String name) { | 67 public void setName(String name) { |
66 this.name = name; | 68 this.name = name; |
69 } | |
70 | |
71 public String getNode() { | |
72 return node == null ? String.valueOf(id) : node; | |
73 } | |
74 | |
75 public void setNode(String node) { | |
76 this.node = node; | |
67 } | 77 } |
68 | 78 |
69 public WebColor getColor() { | 79 public WebColor getColor() { |
70 return color; | 80 return color; |
71 } | 81 } |