Derived settable associations
(Created page with "Derived attributes & associations are read-only, but you can also have writable associations that update other attributes or links when they are themselves set. Read here...")
 
No edit summary
Line 1: Line 1:
[[Derived attributes & associations]] are read-only, but you can also have writable associations that update other attributes or links when they are themselves set. Read here [[Derived settable attributes]] about how that works on attributes.
[[Derived attributes & associations]] are read-only, but you can also have writable associations that update other attributes or links when they are themselves set. Read here [[Derived settable attributes]] about how that works on attributes.
[[File:Derived settable class example.png|none|thumb|531x531px]]
EAL for the Class2Selection end of the derived settable association.
self.Class2 := vInputParameter;
self.SelectionLog := self.SelectionLog + DateTime.Now.asString + ': '+ vInputParameter.Name + '\r\n'
Here is the sample model to be loaded into the designer: [[:File:DerivedSettableExample.modlr]]

Revision as of 09:40, 18 February 2021

Derived attributes & associations are read-only, but you can also have writable associations that update other attributes or links when they are themselves set. Read here Derived settable attributes about how that works on attributes.

Derived settable class example.png

EAL for the Class2Selection end of the derived settable association.

self.Class2 := vInputParameter;
self.SelectionLog := self.SelectionLog + DateTime.Now.asString + ': '+ vInputParameter.Name + '\r\n'

Here is the sample model to be loaded into the designer: File:DerivedSettableExample.modlr

This page was edited 84 days ago on 02/10/2024. What links here