Difference between revisions of "Extensions.Persistence.Save"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | Persistence.Save(Variable); | + | Persistence.Save(Variable value); |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 11:29, 7 November 2018
Classification
Name | Save |
Short Description | Saves the value of an OTX variable |
Class | Action |
Extension | OTX Persistence extension |
Group | Persistence Relates Actions |
Exceptions | PersistenceSaveException |
Checker Rules | Persistence_Chk001 |
Standard Compliant | Yes |
OTL Syntax
Persistence.Save(Variable value);
Description
The Save activity saves the value of an OTX variable of a valid data type to the storage.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Value | - | Variable | - | [1..1] | The Variable to be stored persistently. The variable shall have a valid data type, which is checked by a new checker rule. |
OTL Examples
/// Local Declarations
Float Float1;
/// Flow
Persistence.Save(Float1);