(id, key)
| 201 | } |
| 202 | |
| 203 | removeKey(id, key) { |
| 204 | const mapping = this.getMapping(id); |
| 205 | const index = mapping.keys.indexOf(key); |
| 206 | if (index !== -1) { |
| 207 | mapping.keys.splice(index, 1); |
| 208 | } |
| 209 | return this; |
| 210 | } |
| 211 | |
| 212 | addProperty(id, propName, value) { |
| 213 | const mapping = this.getMapping(id); |