Skip to content
Snippets Groups Projects
Commit 77b82d43 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

common name of miriam type passed

parent f510c25b
No related branches found
No related tags found
1 merge request!58some refactoring giving additional Rest API functionlaity
......@@ -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;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment