Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (24 sloc) 1.14 KB
Tracing Attributes
Tracing
noreferences
@@description
<p align="justify">
MOTL allows the tracing of attributes at the model level. Attribute tracing can occur whenever an attribute value is changed (i.e. setter is called) or/and when the value is accessed (i.e. the getter method is called). Thus, attribute tracing can be made to occur any of the following modes:
</p>
<ul>
<li><b>set</b>: When the "set" keyword is specified before the traced attribute, tracing occurs when the attribute setter method is executed. This is also the default when no keyword is specified before the attribute</li>
<li><b>get</b>: When the "get" keyword is specified before the traced attribute, tracing occurs when the attribute setter method is executed</li>
<li><b>set,get</b>: When "set,get" is specified tracing occurs when both the getter and setter method are executed.</li>
</ul>
</p>
@@syntax
[[traceDirective]] [[traceEntity]] [[traceItem]] [[traceWhere]]
@@example
@@source manualexamples/TracingAttributes1.ump
@@endexample
@@example
@@source manualexamples/TracingAttributes2.ump
@@endexample
@@example
@@source manualexamples/TracingAttributes3.ump
@@endexample
You can’t perform that action at this time.