<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>4.4.1. Model Manipulation Rule</title><link href="style.css" rel="stylesheet" type="text/css"><meta content="DocBook XSL Stylesheets V1.72.0" name="generator"><link rel="start" href="index.html" title="The VIATRA2 Model Transformation Framework"><link rel="up" href="sec_ASMModelManipulationRules.html" title="4.4. Model Manipulation Rules"><link rel="prev" href="sec_ASMModelManipulationRules.html" title="4.4. Model Manipulation Rules"><link rel="next" href="def_CreateRule.html" title="4.4.2. Create Rule"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table summary="Navigation header" width="100%"><tr><th align="center" colspan="3">4.4.1. Model Manipulation Rule</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="sec_ASMModelManipulationRules.html">Prev</a> </td><th align="center" width="60%">4.4. Model Manipulation Rules</th><td align="right" width="20%"> <a accesskey="n" href="def_CreateRule.html">Next</a></td></tr></table><hr></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="def_ModelManipulationRule"></a>4.4.1. Model Manipulation Rule</h4></div></div></div><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Tip: Description"><tr><td valign="top" align="center" rowspan="2" width="25"><img alt="[Tip]" src="images/tip.png"></td><th align="left"><a name="def_ModelManipulationRule_Description"></a>Description</th></tr><tr><td valign="top" align="left"><p> | |
In VIATRA, standard ASM rules are extended with rules for manipulating the model space. | |
</p></td></tr></table></div><div class="important" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Important: Syntax"><tr><td valign="top" align="center" rowspan="2" width="25"><img alt="[Important]" src="images/important.png"></td><th align="left"><a name="def_ModelManipulationRule_Syntax"></a>Syntax</th></tr><tr><td valign="top" align="left"><pre class="programlisting"> | |
ModelManipulationRuleAST ::= <a href="def_CreateRule.html" title="4.4.2. Create Rule">CreateRuleAST</a> | <a href="def_DeleteRule.html" title="4.4.3. Delete Rule">DeleteRuleAST</a> | <a href="def_CopyRule.html" title="4.4.4. Copy Rule">CopyRuleAST</a> | |
| <a href="def_MoveRule.html" title="4.4.5. Move Rule">MoveRuleAST</a> | <a href="def_ElementUpdateRule.html" title="4.4.6. Element Update Rule">ElementUpdateRuleAST</a> | |
</pre><p> | |
The rules introduced in this section are special extensions to the ASM | |
language. They provide an interface to the model space to allow | |
</p><div class="itemizedlist"><ul type="disc"><li><p>creation (<a href="def_CreateRule.html" title="4.4.2. Create Rule">create rule</a>, <a href="def_CopyRule.html" title="4.4.4. Copy Rule">copy rule</a>), | |
</p></li><li><p>change (<a href="def_MoveRule.html" title="4.4.5. Move Rule">move rule</a>, <a href="def_ElementUpdateRule.html" title="4.4.6. Element Update Rule">element update rule</a>), or | |
</p></li><li><p>deletion of model elements (<a href="def_DeleteRule.html" title="4.4.3. Delete Rule">delete rule</a>). | |
</p></li></ul></div></td></tr></table></div><div class="highlights"><a name="def_ModelManipulationRule_Remarks"></a><p><b>Remarks. </b> | |
Most model manipulation operations | |
can also be carried out by <a href="def_GTRuleDef.html" title="3.1.1. Graph Transformation Rule Definition">graph transformation rules</a>. | |
</p></div></div><div class="navfooter"><hr><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="sec_ASMModelManipulationRules.html">Prev</a> </td><td align="center" width="20%"><a accesskey="u" href="sec_ASMModelManipulationRules.html">Up</a></td><td align="right" width="40%"> <a accesskey="n" href="def_CreateRule.html">Next</a></td></tr><tr><td valign="top" align="left" width="40%">4.4. Model Manipulation Rules </td><td align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td valign="top" align="right" width="40%"> 4.4.2. Create Rule</td></tr></table></div></body></html> |