Element <memstore>¶
Purpose: Deprecated setup declaration: accepted with a warning and ignored; no custom store is created.
Why: Accepted with a warning for existing descriptors; the built-in Memstore needs no declaration.
Example¶
1 | |
Decision guide¶
Business value: Keeps existing models executable while directing users to the built-in mem source and target.
-
Use when
- Reading an existing model that still declares a Memstore.
-
Choose another approach when
- Writing a new model: use target='mem' and source='mem' with sourceEntity directly.
Complete examples¶
Run an existing model with a deprecated Memstore declaration
Keep the old declaration while upgrading; it warns without changing Memstore reads or writes.
| legacy-memstore/datamimic.xml | |
|---|---|
1 2 3 4 5 6 7 | |
Rules and invalid combinations¶
W005 — Deprecated Memstore Declaration Ignored
Why: The descriptor declares a Memstore even though the runtime provides the built-in mem source and target.
Resolution: Remove the declaration when updating the model; keep its data-producing and data-reading steps.
Allowed parents / Allowed children¶
Allowed parents: else, else-if, if, setup, while
Allowed children:
None
Attributes¶
Show all 1 attributes
id
Legacy identifier; the declaration is ignored and does not rename the built-in mem source or target.
required; string.