Skip to content
Snippets Groups Projects
Commit f830d85f authored by Adam Laskowski's avatar Adam Laskowski
Browse files

SSDM-55: Changed JavaScript API - added isMutliValue to PropertyType

parent 651a552c
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -20,6 +20,7 @@ define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) { ...@@ -20,6 +20,7 @@ define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) {
prototype.registrator = null; prototype.registrator = null;
prototype.registrationDate = null; prototype.registrationDate = null;
prototype.metaData = null; prototype.metaData = null;
prototype.multiValue = null;
prototype.getFetchOptions = function() { prototype.getFetchOptions = function() {
return this.fetchOptions; return this.fetchOptions;
...@@ -143,6 +144,12 @@ define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) { ...@@ -143,6 +144,12 @@ define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) {
prototype.setMetaData = function(metaData) { prototype.setMetaData = function(metaData) {
this.metaData = metaData; this.metaData = metaData;
}; };
prototype.isMultiValue = function() {
return this.multiValue;
};
prototype.setMultiValue = function(multiValue) {
this.multiValue = multiValue;
};
}, { }, {
fetchOptions : "PropertyTypeFetchOptions", fetchOptions : "PropertyTypeFetchOptions",
permId : "PropertyTypePermId", permId : "PropertyTypePermId",
......
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