The VM* Wiki

Official documentation for the VM* family of model manipulation languages.

User Tools

Site Tools


vmtl:semantics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vmtl:semantics [2015/08/27 11:18]
rvac
vmtl:semantics [2015/09/22 15:05]
rvac [The VMTL Metamodel]
Line 9: Line 9:
 ===== The VMTL Metamodel ===== ===== The VMTL Metamodel =====
  
-In VMTL, a **transformation** consists of one or more **rules**. Each rule has an execution **priority** expressed as a positive integer, with as a default value. Rules with higher ​priority take precedence over rules with lower priority. In case the highest priority ​is shared by several rules, one of the rules is randomly selected for execution.+In VMTL, a **transformation** consists of one or more **rules**. Each rule has an execution **priority** expressed as a positive integer, with ∞ as a default value. Rules with lower numerical values assigned to their priority ​attribute ​take precedence over rules with higher values. In case the lowest value is shared by several rules, one of the rules is randomly selected for execution.
  
 {{ :​vmtl:​metamodel.png?​direct|}} {{ :​vmtl:​metamodel.png?​direct|}}
Line 50: Line 50:
 | <​html><​span style="​white-space:​ nowrap; font-weight:​ bold">&​lt;&​lt;​VM Update&​gt;&​gt;</​span></​html>​ | Package, Comment | Stereotype applicable to Packages containing one Update Pattern. The Stereotype can also be applied to Comments included in Update Patterns, in which case the Stereotype Icon replaces the standard Comment notation. | {{ :​vmtl:​vm_update.png?​nolink&​50 |}} | | <​html><​span style="​white-space:​ nowrap; font-weight:​ bold">&​lt;&​lt;​VM Update&​gt;&​gt;</​span></​html>​ | Package, Comment | Stereotype applicable to Packages containing one Update Pattern. The Stereotype can also be applied to Comments included in Update Patterns, in which case the Stereotype Icon replaces the standard Comment notation. | {{ :​vmtl:​vm_update.png?​nolink&​50 |}} |
 | <​html><​span style="​white-space:​ nowrap; font-weight:​ bold">&​lt;&​lt;​VM Forbid&​gt;&​gt;</​span></​html>​ | Package, Comment | Stereotype applicable to Packages containing one Forbid Pattern. The Stereotype can also be applied to Comments included in Forbid Patterns, in which case the Stereotype Icon replaces the standard Comment notation. | {{ :​vmtl:​vm_forbid.png?​nolink&​50 |}} | | <​html><​span style="​white-space:​ nowrap; font-weight:​ bold">&​lt;&​lt;​VM Forbid&​gt;&​gt;</​span></​html>​ | Package, Comment | Stereotype applicable to Packages containing one Forbid Pattern. The Stereotype can also be applied to Comments included in Forbid Patterns, in which case the Stereotype Icon replaces the standard Comment notation. | {{ :​vmtl:​vm_forbid.png?​nolink&​50 |}} |
-| <​html><​span style="​white-space:​ nowrap; font-weight:​ bold">&​lt;&​lt;​VM Require&​gt;&​gt;</​span></​html>​ | Package, Comment | Stereotype applicable to Packages containing one Require Pattern. The Stereotype can also be applied to Comments included in Require Patterns, in which case the Stereotype Icon replaces the standard Comment notation. |  |+| <​html><​span style="​white-space:​ nowrap; font-weight:​ bold">&​lt;&​lt;​VM Require&​gt;&​gt;</​span></​html>​ | Package, Comment | Stereotype applicable to Packages containing one Require Pattern. The Stereotype can also be applied to Comments included in Require Patterns, in which case the Stereotype Icon replaces the standard Comment notation. | {{:​vmtl:​vm_require.png?​nolink&​50|}} ​|
  
 Some host modeling languages do not provide support for stereotypes and profiles. For such host languages, naming conventions must be used. For instance, in the case of BPMN, VMTL transformations must be contained in Packages having names prefixed by the "''​[VM Transformation]''"​ string. Some host modeling languages do not provide support for stereotypes and profiles. For such host languages, naming conventions must be used. For instance, in the case of BPMN, VMTL transformations must be contained in Packages having names prefixed by the "''​[VM Transformation]''"​ string.
vmtl/semantics.txt · Last modified: 2015/09/22 15:05 by rvac