Skip to content
Snippets Groups Projects
Commit a7424b7e authored by hjank's avatar hjank
Browse files

# replaced inputValue with chosenValue in contextInfoModel and parameterModel

+ added chosenOperator in contextInfoModel
parent 1564a949
No related branches found
No related tags found
No related merge requests found
......@@ -13,8 +13,9 @@ function ContextInformation() {
this._min = "";
this._max = "";
this._default = "";
this._inputValue = "";
this._chosenValue = "";
this._operators = [];
this._chosenOperator = "";
this._enums = [];
this._parameters = [];
......@@ -46,14 +47,18 @@ ContextInformation.prototype.getDefault = function () {
return this._default;
};
ContextInformation.prototype.getInputValue = function () {
return this._inputValue;
ContextInformation.prototype.getChosenValue = function () {
return this._chosenValue;
};
ContextInformation.prototype.getOperators = function () {
return this._operators;
};
ContextInformation.prototype.getChosenOperator = function () {
return this._chosenOperator;
};
ContextInformation.prototype.getEnums = function () {
return this._enums;
};
......@@ -90,14 +95,18 @@ ContextInformation.prototype.setDefault = function (def) {
this._default = def;
};
ContextInformation.prototype.setInputValue = function (value) {
this._inputValue = value;
ContextInformation.prototype.setChosenValue = function (value) {
this._chosenValue = value;
};
ContextInformation.prototype.setOperators = function (operators) {
this._operators = operators;
};
ContextInformation.prototype.setChosenOperator = function (operator) {
this._chosenOperator = operator;
};
ContextInformation.prototype.setEnums = function (enums) {
this._enums = enums;
};
......
......@@ -9,7 +9,7 @@ function Parameter() {
this._min = "";
this._max = "";
this._default = "";
this._inputValue = "";
this._chosenValue = "";
this._enums = [];
return this;
......@@ -36,8 +36,8 @@ Parameter.prototype.getDefault = function () {
return this._default;
};
Parameter.prototype.getInputValue = function () {
return this._inputValue;
Parameter.prototype.getChosenValue = function () {
return this._chosenValue;
};
Parameter.prototype.getEnums = function () {
......@@ -69,8 +69,8 @@ Parameter.prototype.setDefault = function (def) {
this._default = def;
};
Parameter.prototype.setInputValue = function (value) {
this._inputValue = value;
Parameter.prototype.setChosenValue = function (value) {
this._chosenValue = value;
};
Parameter.prototype.setEnums = function (enums) {
......
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