Difference between revisions of "Extensions.Persistence.Save"

From emotive
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
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>
  
Line 14: Line 14:
 
{| {{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.}}
+
{{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;
 
Float Float1;
  

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);

See also

Load