Skip to content

Commit 3d923cb

Browse files
authored
mamba translator
1 parent 1522718 commit 3d923cb

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

cg/mamba2OCL.cstl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,15 @@ _1 ( ) |-->execute _1()
617617
_1 . _2 |-->execute (_1.new_1(_2`functionArguments))<when> _2 id_or_function_call, _2`functionName Create
618618

619619
_1 . _2 |-->execute _1.persist()<when> _2 id_or_function_call, _2`functionName Save
620+
_1 . _2 |-->execute _1.persist()<when> _2 id_or_function_call, _2`functionName Insert
621+
_1 . _2 |-->execute _1.persist()<when> _2 id_or_function_call, _2`functionName Update
622+
_1 . _2 |-->execute _1.persist()<when> _2 id_or_function_call, _2`functionName Merge
623+
624+
_1 . _2 |-->execute _1.retrieve()<when> _2 id_or_function_call, _2`functionName Refresh
625+
626+
_1 . _2 |-->execute _1->isDeleted()<when> _2 id_or_function_call, _2`functionName Delete
627+
_1 . _2 |-->execute _1->isDeleted()<when> _2 id_or_function_call, _2`functionName DeleteAll
628+
620629

621630
_1 . _2 |-->_1 := lambda _x : OclAny in (_1->apply(_x) & (_2`functionArguments)->apply(_x))<when> _1 Function, _2 id_or_function_call, _2`functionName And
622631
_1 . _2 |-->_1 := lambda _x : OclAny in (_1->apply(_x) or (_2`functionArguments)->apply(_x))<when> _1 Function, _2 id_or_function_call, _2`functionName Or

0 commit comments

Comments
 (0)