ConfigurationSetting
ConfigurationSetting.Rd
Class representing a PetroVisor ConfigurationSetting object.
Public fields
name
The name of the configuration setting.
numeric_value
The numeric value of the configuration setting.
string_value
The string value of the configuration setting.
list_value
The list value of the configuration setting (type list).
enumeration_value
The enumeration value of the configuration setting (named list).
dictionary_value
The dictionary value of the configuration setting (named list).
value_type
The value type of the configuration setting. Must be one of:
"Numeric"
,"String"
,"NumericWithUnit"
,"List"
,"Enumeration"
,"Dictionary"
,"StringWithType"
,"ListWithType"
,"StringFromValues"
,"ListFromValues"
unit_name
The name of the unit associated with the numeric value if the valueType is
"Numeric with unit"
.possible_values
A list containing the possible values of the configuration setting.
is_system
This flaf specifies, whether the configuration setting is a PetroVisor system setting (immutable).
description
The description of the item.
labels
A list of strings holding the labels of the item.
Methods
Method new()
Create a new ConfigurationSetting instance.
Usage
ConfigurationSetting$new(
name = NULL,
numeric_value = NULL,
string_value = NULL,
list_value = list(),
enumeration_value = list(),
dictionary_value = list(),
value_type = c("Numeric", "String", "NumericWithUnit", "List", "Enumeration",
"Dictionary", "StringWithType", "ListWithType", "StringFromValues", "ListFromValues"),
unit_name = NULL,
possible_values = list(),
is_system = NULL,
description = NULL,
labels = list()
)
Arguments
name
The name of the configuration setting.
numeric_value
The numeric value of the configuration setting.
string_value
The string value of the configuration setting.
list_value
The list value of the configuration setting.
enumeration_value
The enumeration value of the configuration setting (named list).
dictionary_value
The dictionary value of the configuration setting (named list).
value_type
The value type of the configuration setting. Must be one of:
"Numeric"
,"String"
,"NumericWithUnit"
,"List"
,"Enumeration"
,"Dictionary"
,"StringWithType"
,"ListWithType"
,"StringFromValues"
,"ListFromValues"
unit_name
The name of the unit associated with the numeric value if the valueType is
"Numeric with unit"
.possible_values
A list containing the possible values of the configuration setting.
is_system
This flaf specifies, whether the configuration setting is a PetroVisor system setting (immutable).
description
The description of the item.
labels
A list of strings holding the labels of the item.