diff --git a/frontend-js/src/main/js/map/data/MiriamType.js b/frontend-js/src/main/js/map/data/MiriamType.js index efda3b897722129cfe0430cc1e73765d461d5256..57b7387244aaadd90aeef121fad18de1f763dd96 100644 --- a/frontend-js/src/main/js/map/data/MiriamType.js +++ b/frontend-js/src/main/js/map/data/MiriamType.js @@ -10,6 +10,7 @@ function MiriamType(data, name) { self.setUris(data.uris); self.setHomepage(data.homepage); self.setName(name); + self.setCommonName(data.commonName); self.setRegistryIdentifier(data.registryIdentifier); } @@ -40,6 +41,14 @@ MiriamType.prototype.getName = function() { return this._name; }; +MiriamType.prototype.setCommonName = function(commonName) { + this._commonName = commonName; +}; + +MiriamType.prototype.getCommonName = function() { + return this._commonName; +}; + MiriamType.prototype.setRegistryIdentifier = function(registryIdentifier) { this._registryIdentifier = registryIdentifier; };