Commit 75605c54 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

mesh data is stored in "_"prefixed params

parent 853db2c2
Pipeline #3110 passed with stage
in 48 seconds
...@@ -9,29 +9,28 @@ function Mesh(jsonObject) { ...@@ -9,29 +9,28 @@ function Mesh(jsonObject) {
} }
Mesh.prototype.setSynonyms = function (synonyms) { Mesh.prototype.setSynonyms = function (synonyms) {
this.synonyms = synonyms; this._synonyms = synonyms;
}; };
Mesh.prototype.getSynonyms = function () { Mesh.prototype.getSynonyms = function () {
return this.synonyms; return this._synonyms;
}; };
Mesh.prototype.setName = function (name) { Mesh.prototype.setName = function (name) {
this.name = name; this._name = name;
}; };
Mesh.prototype.getName = function () { Mesh.prototype.getName = function () {
return this.name; return this._name;
}; };
Mesh.prototype.setId = function (id) { Mesh.prototype.setId = function (id) {
this.id = id; this._id = id;
}; };
Mesh.prototype.getId = function () { Mesh.prototype.getId = function () {
return this.id; return this._id;
}; };
Mesh.prototype.setDescription = function (description) { Mesh.prototype.setDescription = function (description) {
this.description = description; this._description = description;
}; };
Mesh.prototype.getDescription = function () { Mesh.prototype.getDescription = function () {
return this.description; return this._description;
}; };
module.exports = Mesh; module.exports = Mesh;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment