(idToRemove)
| 175 | } |
| 176 | |
| 177 | removeMapping(idToRemove) { |
| 178 | this.mappingItems.delete(idToRemove); |
| 179 | // remove any references to this mapping in other mappings' properties |
| 180 | this.applyToEntityRefs(idToRemove, this.removeProperty); |
| 181 | |
| 182 | return this; |
| 183 | } |
| 184 | |
| 185 | applyToEntityRefs(id, applyFunc) { |
| 186 | this.getValues().forEach((mapping) => { |
no test coverage detected