diff --git a/frontend-js/src/main/js/map/data/Mesh.js b/frontend-js/src/main/js/map/data/Mesh.js index 612111fec621ccab07cc808cd37cf4125afedb83..500ef3a9a107101e11642b1478ca03731a5652a7 100644 --- a/frontend-js/src/main/js/map/data/Mesh.js +++ b/frontend-js/src/main/js/map/data/Mesh.js @@ -9,29 +9,28 @@ function Mesh(jsonObject) { } Mesh.prototype.setSynonyms = function (synonyms) { - this.synonyms = synonyms; + this._synonyms = synonyms; }; Mesh.prototype.getSynonyms = function () { - return this.synonyms; + return this._synonyms; }; Mesh.prototype.setName = function (name) { - this.name = name; + this._name = name; }; Mesh.prototype.getName = function () { - return this.name; + return this._name; }; Mesh.prototype.setId = function (id) { - this.id = id; + this._id = id; }; Mesh.prototype.getId = function () { - return this.id; + return this._id; }; Mesh.prototype.setDescription = function (description) { - this.description = description; + this._description = description; }; Mesh.prototype.getDescription = function () { - return this.description; + return this._description; }; - module.exports = Mesh;