The VM* Wiki

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

User Tools

Site Tools


vmtl:annotations

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 Both sides next revision
vmtl:annotations [2015/09/21 14:44]
rvac
vmtl:annotations [2015/09/22 10:12]
rvac [Clauses]
Line 68: Line 68:
 |''​create''​ | Creates the annotated pattern model element in the target model. \\ \\ If a model element not included in the ''​Find''​ pattern of a rule is included in the rule's ''​Produce''​ pattern, the element is implicitly created in the target model. In such cases, using the ''​create''​ clause is optional.|Produce,​ Update | ''​create''​ | |''​create''​ | Creates the annotated pattern model element in the target model. \\ \\ If a model element not included in the ''​Find''​ pattern of a rule is included in the rule's ''​Produce''​ pattern, the element is implicitly created in the target model. In such cases, using the ''​create''​ clause is optional.|Produce,​ Update | ''​create''​ |
 |''​create singleton''​ | Creates the annotated pattern model element in the target model only if it does not exist in the source model. |Produce, Update | ''​create''​ | |''​create singleton''​ | Creates the annotated pattern model element in the target model only if it does not exist in the source model. |Produce, Update | ''​create''​ |
-|''​delete''​ | Deletes the annotated pattern model element from the source model. \\ \\ If the annotated pattern model element cannot be matched in the source model, this annotation has no effect. \\ \\ If a model element included in the ''​Find''​ pattern of a rule is not included in the rules'​s ''​Produce''​ pattern, the element is implicitly deleted in the target model. In such cases, using the ''​delete''​ clause is optional. | Produce, Update | ''​delete''​ |+|''​delete''​ | Deletes the annotated pattern model element from the source model. \\ \\ If a model element included in the ''​Find''​ pattern of a rule is not included in the rules'​s ''​Produce''​ pattern, the element is implicitly deleted in the target model. In such cases, using the ''​delete''​ clause is optional. | Produce, Update | ''​delete''​ |
 |''​either''​| Exactly one of the annotated model elements must be matched in the source model. | Find, Forbid, Require | ''​either''​ | |''​either''​| Exactly one of the annotated model elements must be matched in the source model. | Find, Forbid, Require | ''​either''​ |
 |''​indirect''​| The annotated model element, which must represent a relation, can be matched to a chain of relations of the same type (i.e. its transitive closure) in the source model. | Find, Forbid, Require | ''​indirect''​ | |''​indirect''​| The annotated model element, which must represent a relation, can be matched to a chain of relations of the same type (i.e. its transitive closure) in the source model. | Find, Forbid, Require | ''​indirect''​ |
vmtl/annotations.txt ยท Last modified: 2015/09/22 15:02 by rvac