Difference between revisions of "Extensions.Persistence.Save"
Jump to navigation
Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''Save'''}}Category:Persistence == Classification == {{ClassificationActivity | Save | UPDATING... | Action | Extensions.Persistence|OTX Persiste...") |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''Save'''}}[[Category:Persistence]] | {{DISPLAYTITLE:OTX '''Save'''}}[[Category:Persistence]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | Save | | + | {{ClassificationActivity | Save| Saves the value of an OTX variable | [[Action]] | [[Extensions.Persistence|OTX Persistence extension]] | [[Extensions.Persistence#Actions|Persistence Relates Actions]] | [[Extensions.Persistence.PersistenceSaveException|PersistenceSaveException]]| [[Extensions.Persistence.PersistenceChk001|Persistence_Chk001]] }} |
== 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 value); | |
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== Description == | == Description == | ||
− | + | The '''Save''' activity saves the value of an OTX variable of a valid data type to the storage. | |
− | |||
− | |||
− | |||
− | |||
== Properties == | == Properties == | ||
− | |||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{ | + | {{TableRowPropertie2| Value| - | [[Variable]] | - | [1..1] |The Variable to be stored persistently. The variable will have a valid data type, which is checked by a new checker rule.}} |
|} | |} | ||
− | |||
== OTL Examples == | == OTL Examples == | ||
− | |||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | /// Local Declarations | |
− | + | Float Float1; | |
− | // | + | /// Flow |
− | + | ||
− | + | Persistence.Save(Float1); | |
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== See also == | == See also == | ||
<!--[[Extensions.Persistence.Save|Save]]--> | <!--[[Extensions.Persistence.Save|Save]]--> | ||
[[Extensions.Persistence.Load|Load]] | [[Extensions.Persistence.Load|Load]] |
Latest revision as of 08:52, 4 December 2019
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 will have a valid data type, which is checked by a new checker rule. |
OTL Examples
/// Local Declarations
Float Float1;
/// Flow
Persistence.Save(Float1);