Difference between revisions of "Extensions.Persistence.Save"
Jump to navigation
Jump to search
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); | |
</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 shall 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;"> | ||
− | + | 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]] |
Revision as of 11:01, 1 October 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);
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
Float Float1;
/// Flow
Persistence.Save(Float1);