Exolynk variable to show & change data with rights and additional settings
Methods
Protocols
protocol get access
let output = value.access
Get the variable access HashMap.
Exaple:
let variable = new;
variable.access = Write;
let access = variable.access;
assert!;
assert_eq!;
access = Read;
variable.access = access;
let access = variable.access;
assert_eq!;
protocol set access
value.access = input
Set the variable access. It can be either set as Map or access which will set the default right uuid.
Exaple:
let variable = new;
variable.access = Write;
let access = variable.access;
assert!;
assert_eq!;
access = Read;
variable.access = access;
let access = variable.access;
assert_eq!;
protocol get setting
let output = value.setting
Get the setting of the variable.
Exaple:
let variable = new;
// Set the StringSetting directly and get it back
variable.setting = new;
let setting = variable.setting;
assert!;
variable.setting = "";
let setting = variable.setting;
assert_eq!;
protocol set setting
value.setting = input
Set the setting of the variable.
Exaple:
let variable = new;
// Set the ReferenceSetting directly and get it back
variable.setting = new;
let setting = variable.setting;
assert!;
variable.setting = "";
let setting = variable.setting;
assert_eq!;
protocol get settings
Deprecated:Please use 'variable.setting' instead
let output = value.settings
Get the settings of the variable.
Exaple:
let variable = new;
// Set the StringSetting directly and get it back
variable.setting = String;
let setting = variable.setting;
assert!;
protocol set settings
Deprecated:Please use 'variable.setting' instead
value.settings = input
Get the settings of the variable.
Exaple:
let variable = new;
// Set the StringSetting directly and get it back
variable.setting = String;
let setting = variable.setting;
assert!;