diff --git a/api-openbis-javascript/src/v3/as/dto/dataset/DataSet.js b/api-openbis-javascript/src/v3/as/dto/dataset/DataSet.js index 878a8272466c49e76abaca35985096712b501b1e..532f7d576d97f04dec4356824d10bca0db0c6813 100644 --- a/api-openbis-javascript/src/v3/as/dto/dataset/DataSet.js +++ b/api-openbis-javascript/src/v3/as/dto/dataset/DataSet.js @@ -425,6 +425,96 @@ define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) { prototype.setSampleProperties = function(sampleProperties) { this.sampleProperties = sampleProperties; }; + prototype.getIntegerProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getMultilineVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setMultilineVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getBooleanProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setBooleanProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getControlledVocabularyProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setControlledVocabularyProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getSampleProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setSampleProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getHyperlinkProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setHyperlinkProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getXmlProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setXmlProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getIntegerArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getStringArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setStringArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getJsonProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setJsonProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; prototype.getDataProducer = function() { return this.dataProducer; }; diff --git a/api-openbis-javascript/src/v3/as/dto/dataset/create/DataSetCreation.js b/api-openbis-javascript/src/v3/as/dto/dataset/create/DataSetCreation.js index 2f4e6fff88e247d928a82adeb7026acb61a74541..032716b1d8cc3e3333280b0e651d005935ed0878 100644 --- a/api-openbis-javascript/src/v3/as/dto/dataset/create/DataSetCreation.js +++ b/api-openbis-javascript/src/v3/as/dto/dataset/create/DataSetCreation.js @@ -102,6 +102,96 @@ define([ "stjs" ], function(stjs) { prototype.setProperties = function(properties) { this.properties = properties; }; + prototype.getIntegerProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getMultilineVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setMultilineVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getBooleanProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setBooleanProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getControlledVocabularyProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setControlledVocabularyProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getSampleProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setSampleProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getHyperlinkProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setHyperlinkProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getXmlProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setXmlProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getIntegerArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getStringArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setStringArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getJsonProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setJsonProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; prototype.getContainerIds = function() { return this.containerIds; }; diff --git a/api-openbis-javascript/src/v3/as/dto/dataset/update/DataSetUpdate.js b/api-openbis-javascript/src/v3/as/dto/dataset/update/DataSetUpdate.js index d122f4555fa908733d0abe307554df38b9985ac2..bfd89ec147ee7e890e5f478197445f5c6406e5c5 100644 --- a/api-openbis-javascript/src/v3/as/dto/dataset/update/DataSetUpdate.js +++ b/api-openbis-javascript/src/v3/as/dto/dataset/update/DataSetUpdate.js @@ -113,6 +113,96 @@ define([ "stjs", "as/dto/common/update/FieldUpdateValue", "as/dto/common/update/ prototype.setProperties = function(properties) { this.properties = properties; }; + prototype.getIntegerProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getMultilineVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setMultilineVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getBooleanProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setBooleanProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getControlledVocabularyProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setControlledVocabularyProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getSampleProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setSampleProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getHyperlinkProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setHyperlinkProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getXmlProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setXmlProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getIntegerArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getStringArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setStringArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getJsonProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setJsonProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; prototype.getTagIds = function() { return this.tagIds; }; diff --git a/api-openbis-javascript/src/v3/as/dto/experiment/Experiment.js b/api-openbis-javascript/src/v3/as/dto/experiment/Experiment.js index 5f4b5c5e61bb68b4db3069bd64a17589c2aab31a..92eddf528fd4bd83caf3942fa7ecdd85dfdb6938 100644 --- a/api-openbis-javascript/src/v3/as/dto/experiment/Experiment.js +++ b/api-openbis-javascript/src/v3/as/dto/experiment/Experiment.js @@ -244,6 +244,96 @@ define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) { prototype.setSampleProperties = function(sampleProperties) { this.sampleProperties = sampleProperties; }; + prototype.getIntegerProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getMultilineVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setMultilineVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getBooleanProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setBooleanProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getControlledVocabularyProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setControlledVocabularyProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getSampleProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setSampleProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getHyperlinkProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setHyperlinkProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getXmlProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setXmlProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getIntegerArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getStringArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setStringArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getJsonProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setJsonProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; prototype.getTags = function() { if (this.getFetchOptions() && this.getFetchOptions().hasTags()) { return this.tags; diff --git a/api-openbis-javascript/src/v3/as/dto/experiment/create/ExperimentCreation.js b/api-openbis-javascript/src/v3/as/dto/experiment/create/ExperimentCreation.js index 13c20725733be31abc7b3804413c90e25b566243..d5af878a2912a65750180b85ee917aaa33aa157c 100644 --- a/api-openbis-javascript/src/v3/as/dto/experiment/create/ExperimentCreation.js +++ b/api-openbis-javascript/src/v3/as/dto/experiment/create/ExperimentCreation.js @@ -52,6 +52,96 @@ define([ "stjs" ], function(stjs) { prototype.setProperties = function(properties) { this.properties = properties; }; + prototype.getIntegerProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getMultilineVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setMultilineVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getBooleanProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setBooleanProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getControlledVocabularyProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setControlledVocabularyProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getSampleProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setSampleProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getHyperlinkProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setHyperlinkProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getXmlProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setXmlProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getIntegerArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getStringArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setStringArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getJsonProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setJsonProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; prototype.getAttachments = function() { return this.attachments; }; diff --git a/api-openbis-javascript/src/v3/as/dto/experiment/update/ExperimentUpdate.js b/api-openbis-javascript/src/v3/as/dto/experiment/update/ExperimentUpdate.js index 7154cda99c6b963d9623e5fe457dd2b2afad9e8a..b34d7714a3a1f8cbbcb39fb63e1aa1753846a690 100644 --- a/api-openbis-javascript/src/v3/as/dto/experiment/update/ExperimentUpdate.js +++ b/api-openbis-javascript/src/v3/as/dto/experiment/update/ExperimentUpdate.js @@ -62,6 +62,96 @@ define([ "stjs", "as/dto/common/update/FieldUpdateValue", "as/dto/common/update/ prototype.setProperties = function(properties) { this.properties = properties; }; + prototype.getIntegerProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getMultilineVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setMultilineVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getBooleanProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setBooleanProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getControlledVocabularyProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setControlledVocabularyProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getSampleProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setSampleProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getHyperlinkProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setHyperlinkProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getXmlProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setXmlProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getIntegerArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getStringArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setStringArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getJsonProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setJsonProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; prototype.setProjectId = function(projectId) { this.projectId.setValue(projectId); }; diff --git a/api-openbis-javascript/src/v3/as/dto/material/Material.js b/api-openbis-javascript/src/v3/as/dto/material/Material.js index d710fa0e5f3f3e19675ea37e3f549d7b65923678..59d747cd0f0bd3adb39cf5df89f36e5d17e4b642 100644 --- a/api-openbis-javascript/src/v3/as/dto/material/Material.js +++ b/api-openbis-javascript/src/v3/as/dto/material/Material.js @@ -99,6 +99,96 @@ define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) { prototype.setProperties = function(properties) { this.properties = properties; }; + prototype.getIntegerProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getMultilineVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setMultilineVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getBooleanProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setBooleanProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getControlledVocabularyProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setControlledVocabularyProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getSampleProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setSampleProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getHyperlinkProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setHyperlinkProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getXmlProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setXmlProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getIntegerArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getStringArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setStringArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getJsonProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setJsonProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; prototype.getMaterialProperty = function(propertyName) { var properties = this.getMaterialProperties(); return properties ? properties[propertyName] : null; diff --git a/api-openbis-javascript/src/v3/as/dto/material/create/MaterialCreation.js b/api-openbis-javascript/src/v3/as/dto/material/create/MaterialCreation.js index 39a11d5963c6fd9202695053de072cf92ed01c1d..f41bd5a21868c32bf57e111a9e53ef5aada6b5c6 100644 --- a/api-openbis-javascript/src/v3/as/dto/material/create/MaterialCreation.js +++ b/api-openbis-javascript/src/v3/as/dto/material/create/MaterialCreation.js @@ -57,6 +57,96 @@ define([ "stjs" ], function(stjs) { prototype.setProperties = function(properties) { this.properties = properties; }; + prototype.getIntegerProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getMultilineVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setMultilineVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getBooleanProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setBooleanProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getControlledVocabularyProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setControlledVocabularyProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getSampleProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setSampleProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getHyperlinkProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setHyperlinkProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getXmlProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setXmlProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getIntegerArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getStringArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setStringArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getJsonProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setJsonProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; }, { typeId : "IEntityTypeId", creationId : "CreationId", diff --git a/api-openbis-javascript/src/v3/as/dto/material/update/MaterialUpdate.js b/api-openbis-javascript/src/v3/as/dto/material/update/MaterialUpdate.js index 004c1c4f9b71912de77102bf674166d0e6b9e2f5..48034e981a5d435e3480e258f175ee73b623e495 100644 --- a/api-openbis-javascript/src/v3/as/dto/material/update/MaterialUpdate.js +++ b/api-openbis-javascript/src/v3/as/dto/material/update/MaterialUpdate.js @@ -35,6 +35,96 @@ define([ "stjs", "as/dto/common/update/IdListUpdateValue" ], function(stjs, IdLi prototype.setProperties = function(properties) { this.properties = properties; }; + prototype.getIntegerProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getMultilineVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setMultilineVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getBooleanProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setBooleanProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getControlledVocabularyProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setControlledVocabularyProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getSampleProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setSampleProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getHyperlinkProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setHyperlinkProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getXmlProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setXmlProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getIntegerArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getStringArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setStringArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getJsonProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setJsonProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; prototype.getTagIds = function() { return this.tagIds; }; diff --git a/api-openbis-javascript/src/v3/as/dto/sample/Sample.js b/api-openbis-javascript/src/v3/as/dto/sample/Sample.js index 375f349f34e5b805018bd6a5f77c574e2d3c9e6e..99695a3495eb5384531b431f92972339cf6ff01e 100644 --- a/api-openbis-javascript/src/v3/as/dto/sample/Sample.js +++ b/api-openbis-javascript/src/v3/as/dto/sample/Sample.js @@ -204,6 +204,96 @@ define([ "stjs", "util/Exceptions", "as/dto/common/Relationship" ], function(stj prototype.setSampleProperties = function(sampleProperties) { this.sampleProperties = sampleProperties; }; + prototype.getIntegerProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getMultilineVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setMultilineVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getBooleanProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setBooleanProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getControlledVocabularyProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setControlledVocabularyProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getSampleProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setSampleProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getHyperlinkProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setHyperlinkProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getXmlProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setXmlProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getIntegerArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getStringArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setStringArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getJsonProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setJsonProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; prototype.getParents = function() { if (this.getFetchOptions() && this.getFetchOptions().hasParents()) { return this.parents; diff --git a/api-openbis-javascript/src/v3/as/dto/sample/create/SampleCreation.js b/api-openbis-javascript/src/v3/as/dto/sample/create/SampleCreation.js index fae67eca69e318095133c65e1bc58bf16d2948fb..61e717b3f8ecc226262cbc8ccbe9befcbb11f9cb 100644 --- a/api-openbis-javascript/src/v3/as/dto/sample/create/SampleCreation.js +++ b/api-openbis-javascript/src/v3/as/dto/sample/create/SampleCreation.js @@ -122,6 +122,96 @@ define([ "stjs", "as/dto/common/Relationship" ], function(stjs, Relationship) { prototype.setProperties = function(properties) { this.properties = properties; }; + prototype.getIntegerProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getMultilineVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setMultilineVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getBooleanProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setBooleanProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getControlledVocabularyProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setControlledVocabularyProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getSampleProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setSampleProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getHyperlinkProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setHyperlinkProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getXmlProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setXmlProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getIntegerArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getStringArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setStringArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getJsonProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setJsonProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; prototype.getCreationId = function() { return this.creationId; }; diff --git a/api-openbis-javascript/src/v3/as/dto/sample/update/SampleUpdate.js b/api-openbis-javascript/src/v3/as/dto/sample/update/SampleUpdate.js index f0ab14f75b3edb60dceacf2338fb50343cc0b186..216bd09c018845360a10c7b68d84e27cf41d5b89 100644 --- a/api-openbis-javascript/src/v3/as/dto/sample/update/SampleUpdate.js +++ b/api-openbis-javascript/src/v3/as/dto/sample/update/SampleUpdate.js @@ -118,6 +118,96 @@ define([ "stjs", "as/dto/common/update/FieldUpdateValue", "as/dto/common/update/ prototype.setProperties = function(properties) { this.properties = properties; }; + prototype.getIntegerProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getMultilineVarcharProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setMultilineVarcharProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getBooleanProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setBooleanProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getControlledVocabularyProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setControlledVocabularyProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getSampleProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setSampleProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getHyperlinkProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setHyperlinkProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getXmlProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setXmlProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getIntegerArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setIntegerArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getRealArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setRealArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getStringArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setStringArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getTimestampArrayProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setTimestampArrayProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; + prototype.getJsonProperty = function(propertyName) { + return this.getProperty(propertyName); + }; + prototype.setJsonProperty = function(propertyName, propertyValue) { + this.setProperty(propertyName, propertyValue); + }; prototype.getTagIds = function() { return this.tagIds; };