sccd_metamodel.py 323 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614
  1. # -*- coding: utf-8 -*-
  2. from mvk.impl.python.constants import CreateConstants, UpdateConstants
  3. from mvk.impl.python.datatype import TypeFactory, Type, IntegerType, StringType, \
  4. BooleanType, FloatType
  5. from mvk.impl.python.datavalue import MappingValue, \
  6. LocationValue, StringValue, FloatValue, \
  7. IntegerValue, BooleanValue, InfiniteValue, Iterator
  8. from mvk.impl.python.object import ClabjectReference, Clabject
  9. from mvk.mvk import MvK
  10. class Gen():
  11. def __init__(self):
  12. self.mvk = MvK()
  13. def instance(self):
  14. cl = self.mvk.create(MappingValue({
  15. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams'),
  16. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms'),
  17. CreateConstants.ATTRS_KEY: MappingValue({
  18. StringValue('SimpleClassDiagrams.name'): StringValue('SCCD')})
  19. }))
  20. cl = self.mvk.create(MappingValue({
  21. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  22. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  23. CreateConstants.ATTRS_KEY: MappingValue({
  24. StringValue('Attribute.name'): StringValue('author'),
  25. StringValue('Attribute.type'): StringType()})
  26. }))
  27. cl = self.mvk.create(MappingValue({
  28. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  29. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  30. CreateConstants.ATTRS_KEY: MappingValue({
  31. StringValue('Attribute.name'): StringValue('description'),
  32. StringValue('Attribute.type'): StringType()})
  33. }))
  34. cl = self.mvk.create(MappingValue({
  35. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  36. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  37. CreateConstants.ATTRS_KEY: MappingValue({
  38. StringValue('Attribute.name'): StringValue('name'),
  39. StringValue('Attribute.type'): StringType(),
  40. StringValue('Attribute.default'): StringValue('')})
  41. }))
  42. cl = self.mvk.create(MappingValue({
  43. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  44. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  45. CreateConstants.ATTRS_KEY: MappingValue({
  46. StringValue('Class.is_abstract'): BooleanValue(False),
  47. StringValue('Class.name'): StringValue('MethodCallStm')})
  48. }))
  49. cl = self.mvk.create(MappingValue({
  50. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  51. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  52. CreateConstants.ATTRS_KEY: MappingValue({
  53. StringValue('Class.is_abstract'): BooleanValue(False),
  54. StringValue('Class.name'): StringValue('Not')})
  55. }))
  56. cl = self.mvk.create(MappingValue({
  57. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  58. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  59. CreateConstants.ATTRS_KEY: MappingValue({
  60. StringValue('Class.is_abstract'): BooleanValue(False),
  61. StringValue('Class.name'): StringValue('Mod')})
  62. }))
  63. cl = self.mvk.create(MappingValue({
  64. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  65. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  66. CreateConstants.ATTRS_KEY: MappingValue({
  67. StringValue('Class.is_abstract'): BooleanValue(False),
  68. StringValue('Class.name'): StringValue('While')})
  69. }))
  70. cl = self.mvk.create(MappingValue({
  71. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  72. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  73. CreateConstants.ATTRS_KEY: MappingValue({
  74. StringValue('Class.is_abstract'): BooleanValue(False),
  75. StringValue('Class.name'): StringValue('GEThan')})
  76. }))
  77. cl = self.mvk.create(MappingValue({
  78. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  79. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  80. CreateConstants.ATTRS_KEY: MappingValue({
  81. StringValue('Class.is_abstract'): BooleanValue(False),
  82. StringValue('Class.name'): StringValue('Inheritance')})
  83. }))
  84. cl = self.mvk.create(MappingValue({
  85. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  86. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Inheritance'),
  87. CreateConstants.ATTRS_KEY: MappingValue({
  88. StringValue('Attribute.name'): StringValue('priority'),
  89. StringValue('Attribute.type'): IntegerType()})
  90. }))
  91. cl = self.mvk.create(MappingValue({
  92. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  93. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  94. CreateConstants.ATTRS_KEY: MappingValue({
  95. StringValue('Class.is_abstract'): BooleanValue(False),
  96. StringValue('Class.name'): StringValue('State')})
  97. }))
  98. cl = self.mvk.create(MappingValue({
  99. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  100. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  101. CreateConstants.ATTRS_KEY: MappingValue({
  102. StringValue('Class.is_abstract'): BooleanValue(False),
  103. StringValue('Class.name'): StringValue('DictArgument')})
  104. }))
  105. cl = self.mvk.create(MappingValue({
  106. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  107. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  108. CreateConstants.ATTRS_KEY: MappingValue({
  109. StringValue('Class.is_abstract'): BooleanValue(True),
  110. StringValue('Class.name'): StringValue('AbsMethod')})
  111. }))
  112. cl = self.mvk.create(MappingValue({
  113. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  114. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  115. CreateConstants.ATTRS_KEY: MappingValue({
  116. StringValue('Class.is_abstract'): BooleanValue(False),
  117. StringValue('Class.name'): StringValue('Target')})
  118. }))
  119. cl = self.mvk.create(MappingValue({
  120. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  121. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  122. CreateConstants.ATTRS_KEY: MappingValue({
  123. StringValue('Class.is_abstract'): BooleanValue(False),
  124. StringValue('Class.name'): StringValue('ActionBlock')})
  125. }))
  126. cl = self.mvk.create(MappingValue({
  127. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  128. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  129. CreateConstants.ATTRS_KEY: MappingValue({
  130. StringValue('Class.is_abstract'): BooleanValue(False),
  131. StringValue('Class.name'): StringValue('Selection')})
  132. }))
  133. cl = self.mvk.create(MappingValue({
  134. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  135. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  136. CreateConstants.ATTRS_KEY: MappingValue({
  137. StringValue('Class.is_abstract'): BooleanValue(True),
  138. StringValue('Class.name'): StringValue('AtomValue')})
  139. }))
  140. cl = self.mvk.create(MappingValue({
  141. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  142. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  143. CreateConstants.ATTRS_KEY: MappingValue({
  144. StringValue('Class.is_abstract'): BooleanValue(False),
  145. StringValue('Class.name'): StringValue('Top')})
  146. }))
  147. cl = self.mvk.create(MappingValue({
  148. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  149. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  150. CreateConstants.ATTRS_KEY: MappingValue({
  151. StringValue('Class.is_abstract'): BooleanValue(False),
  152. StringValue('Class.name'): StringValue('Parenthesis')})
  153. }))
  154. cl = self.mvk.create(MappingValue({
  155. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  156. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  157. CreateConstants.ATTRS_KEY: MappingValue({
  158. StringValue('Class.is_abstract'): BooleanValue(False),
  159. StringValue('Class.name'): StringValue('Import')})
  160. }))
  161. cl = self.mvk.create(MappingValue({
  162. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  163. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Import'),
  164. CreateConstants.ATTRS_KEY: MappingValue({
  165. StringValue('Attribute.name'): StringValue('as'),
  166. StringValue('Attribute.type'): StringType()})
  167. }))
  168. cl = self.mvk.create(MappingValue({
  169. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  170. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Import'),
  171. CreateConstants.ATTRS_KEY: MappingValue({
  172. StringValue('Attribute.name'): StringValue('from'),
  173. StringValue('Attribute.type'): StringType()})
  174. }))
  175. cl = self.mvk.create(MappingValue({
  176. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  177. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Import'),
  178. CreateConstants.ATTRS_KEY: MappingValue({
  179. StringValue('Attribute.name'): StringValue('location'),
  180. StringValue('Attribute.type'): StringType()})
  181. }))
  182. cl = self.mvk.create(MappingValue({
  183. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  184. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  185. CreateConstants.ATTRS_KEY: MappingValue({
  186. StringValue('Class.is_abstract'): BooleanValue(False),
  187. StringValue('Class.name'): StringValue('Method')})
  188. }))
  189. cl = self.mvk.create(MappingValue({
  190. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  191. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Method'),
  192. CreateConstants.ATTRS_KEY: MappingValue({
  193. StringValue('Attribute.name'): StringValue('returnType'),
  194. StringValue('Attribute.type'): StringType()})
  195. }))
  196. cl = self.mvk.create(MappingValue({
  197. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  198. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Method'),
  199. CreateConstants.ATTRS_KEY: MappingValue({
  200. StringValue('Attribute.name'): StringValue('name'),
  201. StringValue('Attribute.type'): StringType()})
  202. }))
  203. cl = self.mvk.create(MappingValue({
  204. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  205. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  206. CreateConstants.ATTRS_KEY: MappingValue({
  207. StringValue('Class.is_abstract'): BooleanValue(False),
  208. StringValue('Class.name'): StringValue('StateMachine')})
  209. }))
  210. cl = self.mvk.create(MappingValue({
  211. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  212. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  213. CreateConstants.ATTRS_KEY: MappingValue({
  214. StringValue('Class.is_abstract'): BooleanValue(True),
  215. StringValue('Class.name'): StringValue('AbsNavigationExpression')})
  216. }))
  217. cl = self.mvk.create(MappingValue({
  218. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  219. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  220. CreateConstants.ATTRS_KEY: MappingValue({
  221. StringValue('Class.is_abstract'): BooleanValue(False),
  222. StringValue('Class.name'): StringValue('Composition')})
  223. }))
  224. cl = self.mvk.create(MappingValue({
  225. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  226. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  227. CreateConstants.ATTRS_KEY: MappingValue({
  228. StringValue('Class.is_abstract'): BooleanValue(False),
  229. StringValue('Class.name'): StringValue('OrthogonalComponent')})
  230. }))
  231. cl = self.mvk.create(MappingValue({
  232. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  233. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  234. CreateConstants.ATTRS_KEY: MappingValue({
  235. StringValue('Class.is_abstract'): BooleanValue(True),
  236. StringValue('Class.name'): StringValue('Expression')})
  237. }))
  238. cl = self.mvk.create(MappingValue({
  239. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  240. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  241. CreateConstants.ATTRS_KEY: MappingValue({
  242. StringValue('Class.is_abstract'): BooleanValue(False),
  243. StringValue('Class.name'): StringValue('DotExpression')})
  244. }))
  245. cl = self.mvk.create(MappingValue({
  246. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  247. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.DotExpression'),
  248. CreateConstants.ATTRS_KEY: MappingValue({
  249. StringValue('Attribute.name'): StringValue('path'),
  250. StringValue('Attribute.type'): StringType()})
  251. }))
  252. cl = self.mvk.create(MappingValue({
  253. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  254. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  255. CreateConstants.ATTRS_KEY: MappingValue({
  256. StringValue('Class.is_abstract'): BooleanValue(False),
  257. StringValue('Class.name'): StringValue('And')})
  258. }))
  259. cl = self.mvk.create(MappingValue({
  260. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  261. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  262. CreateConstants.ATTRS_KEY: MappingValue({
  263. StringValue('Class.is_abstract'): BooleanValue(False),
  264. StringValue('Class.name'): StringValue('Dict')})
  265. }))
  266. cl = self.mvk.create(MappingValue({
  267. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  268. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  269. CreateConstants.ATTRS_KEY: MappingValue({
  270. StringValue('Class.is_abstract'): BooleanValue(True),
  271. StringValue('Class.name'): StringValue('AbsState')})
  272. }))
  273. cl = self.mvk.create(MappingValue({
  274. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  275. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.AbsState'),
  276. CreateConstants.ATTRS_KEY: MappingValue({
  277. StringValue('Attribute.name'): StringValue('name'),
  278. StringValue('Attribute.type'): StringType()})
  279. }))
  280. cl = self.mvk.create(MappingValue({
  281. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  282. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  283. CreateConstants.ATTRS_KEY: MappingValue({
  284. StringValue('Class.is_abstract'): BooleanValue(False),
  285. StringValue('Class.name'): StringValue('IfElse')})
  286. }))
  287. cl = self.mvk.create(MappingValue({
  288. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  289. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  290. CreateConstants.ATTRS_KEY: MappingValue({
  291. StringValue('Class.is_abstract'): BooleanValue(True),
  292. StringValue('Class.name'): StringValue('AbsMethodCall')})
  293. }))
  294. cl = self.mvk.create(MappingValue({
  295. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  296. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.AbsMethodCall'),
  297. CreateConstants.ATTRS_KEY: MappingValue({
  298. StringValue('Attribute.name'): StringValue('name'),
  299. StringValue('Attribute.type'): StringType()})
  300. }))
  301. cl = self.mvk.create(MappingValue({
  302. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  303. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  304. CreateConstants.ATTRS_KEY: MappingValue({
  305. StringValue('Class.is_abstract'): BooleanValue(False),
  306. StringValue('Class.name'): StringValue('Continue')})
  307. }))
  308. cl = self.mvk.create(MappingValue({
  309. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  310. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  311. CreateConstants.ATTRS_KEY: MappingValue({
  312. StringValue('Class.is_abstract'): BooleanValue(False),
  313. StringValue('Class.name'): StringValue('Return')})
  314. }))
  315. cl = self.mvk.create(MappingValue({
  316. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  317. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  318. CreateConstants.ATTRS_KEY: MappingValue({
  319. StringValue('Class.is_abstract'): BooleanValue(True),
  320. StringValue('Class.name'): StringValue('ID'),
  321. StringValue('Class.id_field'): StringValue('ID.id')})
  322. }))
  323. cl = self.mvk.create(MappingValue({
  324. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  325. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.ID'),
  326. CreateConstants.ATTRS_KEY: MappingValue({
  327. StringValue('Attribute.name'): StringValue('id'),
  328. StringValue('Attribute.type'): StringType()})
  329. }))
  330. cl = self.mvk.create(MappingValue({
  331. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  332. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  333. CreateConstants.ATTRS_KEY: MappingValue({
  334. StringValue('Class.is_abstract'): BooleanValue(True),
  335. StringValue('Class.name'): StringValue('Named'),
  336. StringValue('Class.id_field'): StringValue('Named.name')})
  337. }))
  338. cl = self.mvk.create(MappingValue({
  339. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  340. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Named'),
  341. CreateConstants.ATTRS_KEY: MappingValue({
  342. StringValue('Attribute.name'): StringValue('name'),
  343. StringValue('Attribute.type'): StringType()})
  344. }))
  345. cl = self.mvk.create(MappingValue({
  346. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  347. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  348. CreateConstants.ATTRS_KEY: MappingValue({
  349. StringValue('Class.is_abstract'): BooleanValue(False),
  350. StringValue('Class.name'): StringValue('Guard')})
  351. }))
  352. cl = self.mvk.create(MappingValue({
  353. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  354. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  355. CreateConstants.ATTRS_KEY: MappingValue({
  356. StringValue('Class.is_abstract'): BooleanValue(False),
  357. StringValue('Class.name'): StringValue('Raise')})
  358. }))
  359. cl = self.mvk.create(MappingValue({
  360. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  361. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  362. CreateConstants.ATTRS_KEY: MappingValue({
  363. StringValue('Class.is_abstract'): BooleanValue(False),
  364. StringValue('Class.name'): StringValue('Bottom')})
  365. }))
  366. cl = self.mvk.create(MappingValue({
  367. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  368. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  369. CreateConstants.ATTRS_KEY: MappingValue({
  370. StringValue('Class.is_abstract'): BooleanValue(True),
  371. StringValue('Class.name'): StringValue('Statement')})
  372. }))
  373. cl = self.mvk.create(MappingValue({
  374. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  375. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  376. CreateConstants.ATTRS_KEY: MappingValue({
  377. StringValue('Class.is_abstract'): BooleanValue(False),
  378. StringValue('Class.name'): StringValue('Scope')})
  379. }))
  380. cl = self.mvk.create(MappingValue({
  381. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  382. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  383. CreateConstants.ATTRS_KEY: MappingValue({
  384. StringValue('Class.is_abstract'): BooleanValue(False),
  385. StringValue('Class.name'): StringValue('MethodCall')})
  386. }))
  387. cl = self.mvk.create(MappingValue({
  388. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  389. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  390. CreateConstants.ATTRS_KEY: MappingValue({
  391. StringValue('Class.is_abstract'): BooleanValue(True),
  392. StringValue('Class.name'): StringValue('Assignment')})
  393. }))
  394. cl = self.mvk.create(MappingValue({
  395. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  396. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  397. CreateConstants.ATTRS_KEY: MappingValue({
  398. StringValue('Class.is_abstract'): BooleanValue(False),
  399. StringValue('Class.name'): StringValue('Or')})
  400. }))
  401. cl = self.mvk.create(MappingValue({
  402. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  403. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  404. CreateConstants.ATTRS_KEY: MappingValue({
  405. StringValue('Class.is_abstract'): BooleanValue(False),
  406. StringValue('Class.name'): StringValue('LThan')})
  407. }))
  408. cl = self.mvk.create(MappingValue({
  409. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  410. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  411. CreateConstants.ATTRS_KEY: MappingValue({
  412. StringValue('Class.is_abstract'): BooleanValue(False),
  413. StringValue('Class.name'): StringValue('LEThan')})
  414. }))
  415. cl = self.mvk.create(MappingValue({
  416. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  417. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  418. CreateConstants.ATTRS_KEY: MappingValue({
  419. StringValue('Class.is_abstract'): BooleanValue(False),
  420. StringValue('Class.name'): StringValue('BooleanValue')})
  421. }))
  422. cl = self.mvk.create(MappingValue({
  423. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  424. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.BooleanValue'),
  425. CreateConstants.ATTRS_KEY: MappingValue({
  426. StringValue('Attribute.name'): StringValue('value'),
  427. StringValue('Attribute.type'): BooleanType()})
  428. }))
  429. cl = self.mvk.create(MappingValue({
  430. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  431. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  432. CreateConstants.ATTRS_KEY: MappingValue({
  433. StringValue('Class.is_abstract'): BooleanValue(False),
  434. StringValue('Class.name'): StringValue('Mult')})
  435. }))
  436. cl = self.mvk.create(MappingValue({
  437. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  438. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  439. CreateConstants.ATTRS_KEY: MappingValue({
  440. StringValue('Class.is_abstract'): BooleanValue(False),
  441. StringValue('Class.name'): StringValue('RegularArgument')})
  442. }))
  443. cl = self.mvk.create(MappingValue({
  444. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  445. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  446. CreateConstants.ATTRS_KEY: MappingValue({
  447. StringValue('Class.is_abstract'): BooleanValue(False),
  448. StringValue('Class.name'): StringValue('GThan')})
  449. }))
  450. cl = self.mvk.create(MappingValue({
  451. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  452. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  453. CreateConstants.ATTRS_KEY: MappingValue({
  454. StringValue('Class.is_abstract'): BooleanValue(False),
  455. StringValue('Class.name'): StringValue('Div')})
  456. }))
  457. cl = self.mvk.create(MappingValue({
  458. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  459. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  460. CreateConstants.ATTRS_KEY: MappingValue({
  461. StringValue('Class.is_abstract'): BooleanValue(False),
  462. StringValue('Class.name'): StringValue('Minus')})
  463. }))
  464. cl = self.mvk.create(MappingValue({
  465. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  466. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  467. CreateConstants.ATTRS_KEY: MappingValue({
  468. StringValue('Class.is_abstract'): BooleanValue(False),
  469. StringValue('Class.name'): StringValue('InPort')})
  470. }))
  471. cl = self.mvk.create(MappingValue({
  472. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  473. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  474. CreateConstants.ATTRS_KEY: MappingValue({
  475. StringValue('Class.is_abstract'): BooleanValue(True),
  476. StringValue('Class.name'): StringValue('CompositeArgument')})
  477. }))
  478. cl = self.mvk.create(MappingValue({
  479. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  480. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  481. CreateConstants.ATTRS_KEY: MappingValue({
  482. StringValue('Class.is_abstract'): BooleanValue(False),
  483. StringValue('Class.name'): StringValue('FinalState')})
  484. }))
  485. cl = self.mvk.create(MappingValue({
  486. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  487. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  488. CreateConstants.ATTRS_KEY: MappingValue({
  489. StringValue('Class.is_abstract'): BooleanValue(False),
  490. StringValue('Class.name'): StringValue('PlainAssignment')})
  491. }))
  492. cl = self.mvk.create(MappingValue({
  493. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  494. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  495. CreateConstants.ATTRS_KEY: MappingValue({
  496. StringValue('Class.is_abstract'): BooleanValue(False),
  497. StringValue('Class.name'): StringValue('StringValue')})
  498. }))
  499. cl = self.mvk.create(MappingValue({
  500. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  501. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.StringValue'),
  502. CreateConstants.ATTRS_KEY: MappingValue({
  503. StringValue('Attribute.name'): StringValue('value'),
  504. StringValue('Attribute.type'): StringType()})
  505. }))
  506. cl = self.mvk.create(MappingValue({
  507. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  508. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  509. CreateConstants.ATTRS_KEY: MappingValue({
  510. StringValue('Class.is_abstract'): BooleanValue(False),
  511. StringValue('Class.name'): StringValue('Event')})
  512. }))
  513. cl = self.mvk.create(MappingValue({
  514. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  515. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Event'),
  516. CreateConstants.ATTRS_KEY: MappingValue({
  517. StringValue('Attribute.name'): StringValue('name'),
  518. StringValue('Attribute.type'): StringType()})
  519. }))
  520. cl = self.mvk.create(MappingValue({
  521. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  522. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  523. CreateConstants.ATTRS_KEY: MappingValue({
  524. StringValue('Class.is_abstract'): BooleanValue(False),
  525. StringValue('Class.name'): StringValue('FloatValue')})
  526. }))
  527. cl = self.mvk.create(MappingValue({
  528. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  529. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.FloatValue'),
  530. CreateConstants.ATTRS_KEY: MappingValue({
  531. StringValue('Attribute.name'): StringValue('value'),
  532. StringValue('Attribute.type'): FloatType()})
  533. }))
  534. cl = self.mvk.create(MappingValue({
  535. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  536. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  537. CreateConstants.ATTRS_KEY: MappingValue({
  538. StringValue('Class.is_abstract'): BooleanValue(False),
  539. StringValue('Class.name'): StringValue('OnExit')})
  540. }))
  541. cl = self.mvk.create(MappingValue({
  542. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  543. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  544. CreateConstants.ATTRS_KEY: MappingValue({
  545. StringValue('Class.is_abstract'): BooleanValue(False),
  546. StringValue('Class.name'): StringValue('Destructor')})
  547. }))
  548. cl = self.mvk.create(MappingValue({
  549. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  550. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  551. CreateConstants.ATTRS_KEY: MappingValue({
  552. StringValue('Class.is_abstract'): BooleanValue(False),
  553. StringValue('Class.name'): StringValue('Parameter')})
  554. }))
  555. cl = self.mvk.create(MappingValue({
  556. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  557. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Parameter'),
  558. CreateConstants.ATTRS_KEY: MappingValue({
  559. StringValue('Attribute.name'): StringValue('default'),
  560. StringValue('Attribute.type'): StringType()})
  561. }))
  562. cl = self.mvk.create(MappingValue({
  563. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  564. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Parameter'),
  565. CreateConstants.ATTRS_KEY: MappingValue({
  566. StringValue('Attribute.name'): StringValue('name'),
  567. StringValue('Attribute.type'): StringType()})
  568. }))
  569. cl = self.mvk.create(MappingValue({
  570. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  571. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  572. CreateConstants.ATTRS_KEY: MappingValue({
  573. StringValue('Class.is_abstract'): BooleanValue(False),
  574. StringValue('Class.name'): StringValue('OnEnter')})
  575. }))
  576. cl = self.mvk.create(MappingValue({
  577. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  578. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  579. CreateConstants.ATTRS_KEY: MappingValue({
  580. StringValue('Class.is_abstract'): BooleanValue(True),
  581. StringValue('Class.name'): StringValue('Relationship')})
  582. }))
  583. cl = self.mvk.create(MappingValue({
  584. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  585. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Relationship'),
  586. CreateConstants.ATTRS_KEY: MappingValue({
  587. StringValue('Attribute.name'): StringValue('max'),
  588. StringValue('Attribute.type'): IntegerType()})
  589. }))
  590. cl = self.mvk.create(MappingValue({
  591. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  592. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Relationship'),
  593. CreateConstants.ATTRS_KEY: MappingValue({
  594. StringValue('Attribute.name'): StringValue('class'),
  595. StringValue('Attribute.type'): StringType()})
  596. }))
  597. cl = self.mvk.create(MappingValue({
  598. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  599. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Relationship'),
  600. CreateConstants.ATTRS_KEY: MappingValue({
  601. StringValue('Attribute.name'): StringValue('min'),
  602. StringValue('Attribute.type'): IntegerType()})
  603. }))
  604. cl = self.mvk.create(MappingValue({
  605. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  606. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  607. CreateConstants.ATTRS_KEY: MappingValue({
  608. StringValue('Class.is_abstract'): BooleanValue(False),
  609. StringValue('Class.name'): StringValue('Class')})
  610. }))
  611. cl = self.mvk.create(MappingValue({
  612. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  613. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Class'),
  614. CreateConstants.ATTRS_KEY: MappingValue({
  615. StringValue('Attribute.name'): StringValue('default'),
  616. StringValue('Attribute.type'): BooleanType()})
  617. }))
  618. cl = self.mvk.create(MappingValue({
  619. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  620. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  621. CreateConstants.ATTRS_KEY: MappingValue({
  622. StringValue('Class.is_abstract'): BooleanValue(False),
  623. StringValue('Class.name'): StringValue('Tuple')})
  624. }))
  625. cl = self.mvk.create(MappingValue({
  626. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  627. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  628. CreateConstants.ATTRS_KEY: MappingValue({
  629. StringValue('Class.is_abstract'): BooleanValue(False),
  630. StringValue('Class.name'): StringValue('Argument')})
  631. }))
  632. cl = self.mvk.create(MappingValue({
  633. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  634. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Argument'),
  635. CreateConstants.ATTRS_KEY: MappingValue({
  636. StringValue('Attribute.name'): StringValue('name'),
  637. StringValue('Attribute.type'): StringType()})
  638. }))
  639. cl = self.mvk.create(MappingValue({
  640. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  641. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  642. CreateConstants.ATTRS_KEY: MappingValue({
  643. StringValue('Class.is_abstract'): BooleanValue(True),
  644. StringValue('Class.name'): StringValue('Composite')})
  645. }))
  646. cl = self.mvk.create(MappingValue({
  647. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  648. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  649. CreateConstants.ATTRS_KEY: MappingValue({
  650. StringValue('Class.is_abstract'): BooleanValue(False),
  651. StringValue('Class.name'): StringValue('Add')})
  652. }))
  653. cl = self.mvk.create(MappingValue({
  654. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  655. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  656. CreateConstants.ATTRS_KEY: MappingValue({
  657. StringValue('Class.is_abstract'): BooleanValue(False),
  658. StringValue('Class.name'): StringValue('IntegerValue')})
  659. }))
  660. cl = self.mvk.create(MappingValue({
  661. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  662. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.IntegerValue'),
  663. CreateConstants.ATTRS_KEY: MappingValue({
  664. StringValue('Attribute.name'): StringValue('value'),
  665. StringValue('Attribute.type'): IntegerType()})
  666. }))
  667. cl = self.mvk.create(MappingValue({
  668. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  669. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  670. CreateConstants.ATTRS_KEY: MappingValue({
  671. StringValue('Class.is_abstract'): BooleanValue(False),
  672. StringValue('Class.name'): StringValue('NavigationExpression')})
  673. }))
  674. cl = self.mvk.create(MappingValue({
  675. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  676. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  677. CreateConstants.ATTRS_KEY: MappingValue({
  678. StringValue('Class.is_abstract'): BooleanValue(True),
  679. StringValue('Class.name'): StringValue('Binop')})
  680. }))
  681. cl = self.mvk.create(MappingValue({
  682. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  683. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  684. CreateConstants.ATTRS_KEY: MappingValue({
  685. StringValue('Class.is_abstract'): BooleanValue(False),
  686. StringValue('Class.name'): StringValue('Aggregation')})
  687. }))
  688. cl = self.mvk.create(MappingValue({
  689. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  690. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  691. CreateConstants.ATTRS_KEY: MappingValue({
  692. StringValue('Class.is_abstract'): BooleanValue(False),
  693. StringValue('Class.name'): StringValue('Break')})
  694. }))
  695. cl = self.mvk.create(MappingValue({
  696. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  697. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  698. CreateConstants.ATTRS_KEY: MappingValue({
  699. StringValue('Class.is_abstract'): BooleanValue(False),
  700. StringValue('Class.name'): StringValue('Association')})
  701. }))
  702. cl = self.mvk.create(MappingValue({
  703. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  704. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Association'),
  705. CreateConstants.ATTRS_KEY: MappingValue({
  706. StringValue('Attribute.name'): StringValue('name'),
  707. StringValue('Attribute.type'): StringType()})
  708. }))
  709. cl = self.mvk.create(MappingValue({
  710. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  711. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  712. CreateConstants.ATTRS_KEY: MappingValue({
  713. StringValue('Class.is_abstract'): BooleanValue(False),
  714. StringValue('Class.name'): StringValue('Declaration')})
  715. }))
  716. cl = self.mvk.create(MappingValue({
  717. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  718. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Declaration'),
  719. CreateConstants.ATTRS_KEY: MappingValue({
  720. StringValue('Attribute.name'): StringValue('name'),
  721. StringValue('Attribute.type'): StringType()})
  722. }))
  723. cl = self.mvk.create(MappingValue({
  724. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  725. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  726. CreateConstants.ATTRS_KEY: MappingValue({
  727. StringValue('Class.is_abstract'): BooleanValue(False),
  728. StringValue('Class.name'): StringValue('NEqual')})
  729. }))
  730. cl = self.mvk.create(MappingValue({
  731. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  732. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  733. CreateConstants.ATTRS_KEY: MappingValue({
  734. StringValue('Class.is_abstract'): BooleanValue(False),
  735. StringValue('Class.name'): StringValue('MinusAssignment')})
  736. }))
  737. cl = self.mvk.create(MappingValue({
  738. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  739. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  740. CreateConstants.ATTRS_KEY: MappingValue({
  741. StringValue('Class.is_abstract'): BooleanValue(True),
  742. StringValue('Class.name'): StringValue('PseudoState')})
  743. }))
  744. cl = self.mvk.create(MappingValue({
  745. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  746. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.PseudoState'),
  747. CreateConstants.ATTRS_KEY: MappingValue({
  748. StringValue('Attribute.name'): StringValue('name'),
  749. StringValue('Attribute.type'): StringType()})
  750. }))
  751. cl = self.mvk.create(MappingValue({
  752. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  753. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  754. CreateConstants.ATTRS_KEY: MappingValue({
  755. StringValue('Class.is_abstract'): BooleanValue(False),
  756. StringValue('Class.name'): StringValue('Attribute')})
  757. }))
  758. cl = self.mvk.create(MappingValue({
  759. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  760. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Attribute'),
  761. CreateConstants.ATTRS_KEY: MappingValue({
  762. StringValue('Attribute.name'): StringValue('default'),
  763. StringValue('Attribute.type'): StringType()})
  764. }))
  765. cl = self.mvk.create(MappingValue({
  766. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  767. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Attribute'),
  768. CreateConstants.ATTRS_KEY: MappingValue({
  769. StringValue('Attribute.name'): StringValue('type'),
  770. StringValue('Attribute.type'): StringType()})
  771. }))
  772. cl = self.mvk.create(MappingValue({
  773. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  774. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  775. CreateConstants.ATTRS_KEY: MappingValue({
  776. StringValue('Class.is_abstract'): BooleanValue(False),
  777. StringValue('Class.name'): StringValue('Subtract')})
  778. }))
  779. cl = self.mvk.create(MappingValue({
  780. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  781. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  782. CreateConstants.ATTRS_KEY: MappingValue({
  783. StringValue('Class.is_abstract'): BooleanValue(False),
  784. StringValue('Class.name'): StringValue('SelfExpression')})
  785. }))
  786. cl = self.mvk.create(MappingValue({
  787. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  788. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  789. CreateConstants.ATTRS_KEY: MappingValue({
  790. StringValue('Class.is_abstract'): BooleanValue(False),
  791. StringValue('Class.name'): StringValue('PlusAssignment')})
  792. }))
  793. cl = self.mvk.create(MappingValue({
  794. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  795. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  796. CreateConstants.ATTRS_KEY: MappingValue({
  797. StringValue('Class.is_abstract'): BooleanValue(False),
  798. StringValue('Class.name'): StringValue('HistoryState')})
  799. }))
  800. cl = self.mvk.create(MappingValue({
  801. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  802. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.HistoryState'),
  803. CreateConstants.ATTRS_KEY: MappingValue({
  804. StringValue('Attribute.name'): StringValue('isDeepHistory'),
  805. StringValue('Attribute.type'): BooleanType()})
  806. }))
  807. cl = self.mvk.create(MappingValue({
  808. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  809. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  810. CreateConstants.ATTRS_KEY: MappingValue({
  811. StringValue('Class.is_abstract'): BooleanValue(False),
  812. StringValue('Class.name'): StringValue('Transition')})
  813. }))
  814. cl = self.mvk.create(MappingValue({
  815. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  816. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Transition'),
  817. CreateConstants.ATTRS_KEY: MappingValue({
  818. StringValue('Attribute.name'): StringValue('default'),
  819. StringValue('Attribute.type'): BooleanType()})
  820. }))
  821. cl = self.mvk.create(MappingValue({
  822. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  823. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Transition'),
  824. CreateConstants.ATTRS_KEY: MappingValue({
  825. StringValue('Attribute.name'): StringValue('after'),
  826. StringValue('Attribute.type'): FloatType()})
  827. }))
  828. cl = self.mvk.create(MappingValue({
  829. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  830. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Transition'),
  831. CreateConstants.ATTRS_KEY: MappingValue({
  832. StringValue('Attribute.name'): StringValue('target'),
  833. StringValue('Attribute.type'): StringType()})
  834. }))
  835. cl = self.mvk.create(MappingValue({
  836. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  837. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  838. CreateConstants.ATTRS_KEY: MappingValue({
  839. StringValue('Class.is_abstract'): BooleanValue(False),
  840. StringValue('Class.name'): StringValue('Equal')})
  841. }))
  842. cl = self.mvk.create(MappingValue({
  843. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  844. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  845. CreateConstants.ATTRS_KEY: MappingValue({
  846. StringValue('Class.is_abstract'): BooleanValue(False),
  847. StringValue('Class.name'): StringValue('Constructor')})
  848. }))
  849. cl = self.mvk.create(MappingValue({
  850. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  851. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  852. CreateConstants.ATTRS_KEY: MappingValue({
  853. StringValue('Class.is_abstract'): BooleanValue(True),
  854. StringValue('Class.name'): StringValue('Unop')})
  855. }))
  856. cl = self.mvk.create(MappingValue({
  857. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  858. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  859. CreateConstants.ATTRS_KEY: MappingValue({
  860. StringValue('Class.is_abstract'): BooleanValue(False),
  861. StringValue('Class.name'): StringValue('InitialState')})
  862. }))
  863. cl = self.mvk.create(MappingValue({
  864. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  865. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  866. CreateConstants.ATTRS_KEY: MappingValue({
  867. StringValue('Class.is_abstract'): BooleanValue(False),
  868. StringValue('Class.name'): StringValue('Array')})
  869. }))
  870. cl = self.mvk.create(MappingValue({
  871. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  872. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  873. CreateConstants.ATTRS_KEY: MappingValue({
  874. StringValue('Inheritance.name'): StringValue('MethodCall_i_AbsMethodCall'),
  875. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.MethodCall'),
  876. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsMethodCall')})
  877. }))
  878. cl = self.mvk.create(MappingValue({
  879. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  880. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  881. CreateConstants.ATTRS_KEY: MappingValue({
  882. StringValue('Inheritance.name'): StringValue('Not_i_Unop'),
  883. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Not'),
  884. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Unop')})
  885. }))
  886. cl = self.mvk.create(MappingValue({
  887. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  888. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  889. CreateConstants.ATTRS_KEY: MappingValue({
  890. StringValue('Association.to_max'): IntegerValue(1),
  891. StringValue('Association.from_max'): InfiniteValue('inf'),
  892. StringValue('Association.from_port'): StringValue('from_statement'),
  893. StringValue('Association.to_min'): IntegerValue(0),
  894. StringValue('Class.name'): StringValue('statement_statement_next'),
  895. StringValue('Association.to_port'): StringValue('to_statement'),
  896. StringValue('Class.is_abstract'): BooleanValue(False),
  897. StringValue('Association.from_min'): IntegerValue(0),
  898. StringValue('Class.id_field'): StringValue('statement_statement_next.name'),
  899. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Statement'),
  900. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  901. }))
  902. cl = self.mvk.create(MappingValue({
  903. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  904. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.statement_statement_next'),
  905. CreateConstants.ATTRS_KEY: MappingValue({
  906. StringValue('Attribute.name'): StringValue('name'),
  907. StringValue('Attribute.type'): StringType()})
  908. }))
  909. cl = self.mvk.create(MappingValue({
  910. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  911. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  912. CreateConstants.ATTRS_KEY: MappingValue({
  913. StringValue('Inheritance.name'): StringValue('While_i_Statement'),
  914. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.While'),
  915. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  916. }))
  917. cl = self.mvk.create(MappingValue({
  918. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  919. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  920. CreateConstants.ATTRS_KEY: MappingValue({
  921. StringValue('Association.to_max'): InfiniteValue('inf'),
  922. StringValue('Association.from_max'): InfiniteValue('inf'),
  923. StringValue('Association.from_port'): StringValue('from_absstate'),
  924. StringValue('Association.to_min'): IntegerValue(0),
  925. StringValue('Class.name'): StringValue('absstate_pseudostate'),
  926. StringValue('Association.to_port'): StringValue('to_pseudostate'),
  927. StringValue('Class.is_abstract'): BooleanValue(False),
  928. StringValue('Association.from_min'): IntegerValue(0),
  929. StringValue('Class.id_field'): StringValue('absstate_pseudostate.name'),
  930. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsState'),
  931. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.PseudoState')})
  932. }))
  933. cl = self.mvk.create(MappingValue({
  934. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  935. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.absstate_pseudostate'),
  936. CreateConstants.ATTRS_KEY: MappingValue({
  937. StringValue('Attribute.name'): StringValue('name'),
  938. StringValue('Attribute.type'): StringType()})
  939. }))
  940. cl = self.mvk.create(MappingValue({
  941. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  942. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  943. CreateConstants.ATTRS_KEY: MappingValue({
  944. StringValue('Inheritance.name'): StringValue('MethodCall_i_Expression'),
  945. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.MethodCall'),
  946. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  947. }))
  948. cl = self.mvk.create(MappingValue({
  949. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  950. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  951. CreateConstants.ATTRS_KEY: MappingValue({
  952. StringValue('Inheritance.name'): StringValue('Subtract_i_Binop'),
  953. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Subtract'),
  954. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  955. }))
  956. cl = self.mvk.create(MappingValue({
  957. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  958. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  959. CreateConstants.ATTRS_KEY: MappingValue({
  960. StringValue('Inheritance.name'): StringValue('Dict_i_Composite'),
  961. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Dict'),
  962. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Composite')})
  963. }))
  964. cl = self.mvk.create(MappingValue({
  965. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  966. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  967. CreateConstants.ATTRS_KEY: MappingValue({
  968. StringValue('Inheritance.name'): StringValue('Unop_i_Expression'),
  969. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Unop'),
  970. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  971. }))
  972. cl = self.mvk.create(MappingValue({
  973. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  974. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  975. CreateConstants.ATTRS_KEY: MappingValue({
  976. StringValue('Inheritance.name'): StringValue('BooleanValue_i_AtomValue'),
  977. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.BooleanValue'),
  978. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AtomValue')})
  979. }))
  980. cl = self.mvk.create(MappingValue({
  981. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  982. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  983. CreateConstants.ATTRS_KEY: MappingValue({
  984. StringValue('Inheritance.name'): StringValue('Parenthesis_i_Unop'),
  985. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Parenthesis'),
  986. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Unop')})
  987. }))
  988. cl = self.mvk.create(MappingValue({
  989. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  990. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  991. CreateConstants.ATTRS_KEY: MappingValue({
  992. StringValue('Inheritance.name'): StringValue('Raise_i_ID'),
  993. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Raise'),
  994. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  995. }))
  996. cl = self.mvk.create(MappingValue({
  997. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  998. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  999. CreateConstants.ATTRS_KEY: MappingValue({
  1000. StringValue('Association.to_max'): IntegerValue(1),
  1001. StringValue('Association.from_max'): InfiniteValue('inf'),
  1002. StringValue('Association.from_port'): StringValue('from_raise'),
  1003. StringValue('Association.to_min'): IntegerValue(0),
  1004. StringValue('Class.name'): StringValue('raise_scope'),
  1005. StringValue('Association.to_port'): StringValue('to_scope'),
  1006. StringValue('Class.is_abstract'): BooleanValue(False),
  1007. StringValue('Association.from_min'): IntegerValue(0),
  1008. StringValue('Class.id_field'): StringValue('raise_scope.name'),
  1009. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Raise'),
  1010. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Scope')})
  1011. }))
  1012. cl = self.mvk.create(MappingValue({
  1013. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1014. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.raise_scope'),
  1015. CreateConstants.ATTRS_KEY: MappingValue({
  1016. StringValue('Attribute.name'): StringValue('name'),
  1017. StringValue('Attribute.type'): StringType()})
  1018. }))
  1019. cl = self.mvk.create(MappingValue({
  1020. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1021. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1022. CreateConstants.ATTRS_KEY: MappingValue({
  1023. StringValue('Inheritance.name'): StringValue('FinalState_i_PseudoState'),
  1024. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.FinalState'),
  1025. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.PseudoState')})
  1026. }))
  1027. cl = self.mvk.create(MappingValue({
  1028. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1029. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1030. CreateConstants.ATTRS_KEY: MappingValue({
  1031. StringValue('Inheritance.name'): StringValue('NEqual_i_Binop'),
  1032. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.NEqual'),
  1033. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  1034. }))
  1035. cl = self.mvk.create(MappingValue({
  1036. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1037. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1038. CreateConstants.ATTRS_KEY: MappingValue({
  1039. StringValue('Inheritance.name'): StringValue('AbsNavigationExpression_i_ID'),
  1040. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsNavigationExpression'),
  1041. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  1042. }))
  1043. cl = self.mvk.create(MappingValue({
  1044. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1045. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1046. CreateConstants.ATTRS_KEY: MappingValue({
  1047. StringValue('Association.to_max'): IntegerValue(1),
  1048. StringValue('Association.from_max'): InfiniteValue('inf'),
  1049. StringValue('Association.from_port'): StringValue('from_ifelse'),
  1050. StringValue('Association.to_min'): IntegerValue(1),
  1051. StringValue('Class.name'): StringValue('ifelse_expression_condition'),
  1052. StringValue('Association.to_port'): StringValue('to_expression'),
  1053. StringValue('Class.is_abstract'): BooleanValue(False),
  1054. StringValue('Association.from_min'): IntegerValue(0),
  1055. StringValue('Class.id_field'): StringValue('ifelse_expression_condition.name'),
  1056. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.IfElse'),
  1057. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  1058. }))
  1059. cl = self.mvk.create(MappingValue({
  1060. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1061. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.ifelse_expression_condition'),
  1062. CreateConstants.ATTRS_KEY: MappingValue({
  1063. StringValue('Attribute.name'): StringValue('name'),
  1064. StringValue('Attribute.type'): StringType()})
  1065. }))
  1066. cl = self.mvk.create(MappingValue({
  1067. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1068. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1069. CreateConstants.ATTRS_KEY: MappingValue({
  1070. StringValue('Inheritance.name'): StringValue('AbsMethod_i_ID'),
  1071. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsMethod'),
  1072. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  1073. }))
  1074. cl = self.mvk.create(MappingValue({
  1075. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1076. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1077. CreateConstants.ATTRS_KEY: MappingValue({
  1078. StringValue('Inheritance.name'): StringValue('GEThan_i_Binop'),
  1079. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.GEThan'),
  1080. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  1081. }))
  1082. cl = self.mvk.create(MappingValue({
  1083. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1084. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1085. CreateConstants.ATTRS_KEY: MappingValue({
  1086. StringValue('Inheritance.name'): StringValue('Class_i_Named'),
  1087. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Class'),
  1088. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Named')})
  1089. }))
  1090. cl = self.mvk.create(MappingValue({
  1091. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1092. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1093. CreateConstants.ATTRS_KEY: MappingValue({
  1094. StringValue('Association.to_max'): IntegerValue(1),
  1095. StringValue('Association.from_max'): InfiniteValue('inf'),
  1096. StringValue('Association.from_port'): StringValue('from_while'),
  1097. StringValue('Association.to_min'): IntegerValue(1),
  1098. StringValue('Class.name'): StringValue('while_actionblock_body'),
  1099. StringValue('Association.to_port'): StringValue('to_actionblock'),
  1100. StringValue('Class.is_abstract'): BooleanValue(False),
  1101. StringValue('Association.from_min'): IntegerValue(0),
  1102. StringValue('Class.id_field'): StringValue('while_actionblock_body.name'),
  1103. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.While'),
  1104. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  1105. }))
  1106. cl = self.mvk.create(MappingValue({
  1107. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1108. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.while_actionblock_body'),
  1109. CreateConstants.ATTRS_KEY: MappingValue({
  1110. StringValue('Attribute.name'): StringValue('name'),
  1111. StringValue('Attribute.type'): StringType()})
  1112. }))
  1113. cl = self.mvk.create(MappingValue({
  1114. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1115. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1116. CreateConstants.ATTRS_KEY: MappingValue({
  1117. StringValue('Inheritance.name'): StringValue('StateMachine_i_ID'),
  1118. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.StateMachine'),
  1119. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  1120. }))
  1121. cl = self.mvk.create(MappingValue({
  1122. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1123. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1124. CreateConstants.ATTRS_KEY: MappingValue({
  1125. StringValue('Inheritance.name'): StringValue('OnEnter_i_ActionBlock'),
  1126. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.OnEnter'),
  1127. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  1128. }))
  1129. cl = self.mvk.create(MappingValue({
  1130. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1131. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1132. CreateConstants.ATTRS_KEY: MappingValue({
  1133. StringValue('Association.to_max'): InfiniteValue('inf'),
  1134. StringValue('Association.from_max'): InfiniteValue('inf'),
  1135. StringValue('Association.from_port'): StringValue('from_absstate'),
  1136. StringValue('Association.to_min'): IntegerValue(0),
  1137. StringValue('Class.name'): StringValue('absstate_absstate_inner'),
  1138. StringValue('Association.to_port'): StringValue('to_absstate'),
  1139. StringValue('Class.is_abstract'): BooleanValue(False),
  1140. StringValue('Association.from_min'): IntegerValue(0),
  1141. StringValue('Class.id_field'): StringValue('absstate_absstate_inner.name'),
  1142. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsState'),
  1143. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsState')})
  1144. }))
  1145. cl = self.mvk.create(MappingValue({
  1146. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1147. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.absstate_absstate_inner'),
  1148. CreateConstants.ATTRS_KEY: MappingValue({
  1149. StringValue('Attribute.name'): StringValue('name'),
  1150. StringValue('Attribute.type'): StringType()})
  1151. }))
  1152. cl = self.mvk.create(MappingValue({
  1153. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1154. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1155. CreateConstants.ATTRS_KEY: MappingValue({
  1156. StringValue('Inheritance.name'): StringValue('GThan_i_Binop'),
  1157. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.GThan'),
  1158. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  1159. }))
  1160. cl = self.mvk.create(MappingValue({
  1161. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1162. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1163. CreateConstants.ATTRS_KEY: MappingValue({
  1164. StringValue('Association.to_max'): IntegerValue(1),
  1165. StringValue('Association.from_max'): InfiniteValue('inf'),
  1166. StringValue('Association.from_port'): StringValue('from_scope'),
  1167. StringValue('Association.to_min'): IntegerValue(1),
  1168. StringValue('Class.name'): StringValue('scope_expression'),
  1169. StringValue('Association.to_port'): StringValue('to_expression'),
  1170. StringValue('Class.is_abstract'): BooleanValue(False),
  1171. StringValue('Association.from_min'): IntegerValue(0),
  1172. StringValue('Class.id_field'): StringValue('scope_expression.name'),
  1173. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Scope'),
  1174. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  1175. }))
  1176. cl = self.mvk.create(MappingValue({
  1177. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1178. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.scope_expression'),
  1179. CreateConstants.ATTRS_KEY: MappingValue({
  1180. StringValue('Attribute.name'): StringValue('name'),
  1181. StringValue('Attribute.type'): StringType()})
  1182. }))
  1183. cl = self.mvk.create(MappingValue({
  1184. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1185. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1186. CreateConstants.ATTRS_KEY: MappingValue({
  1187. StringValue('Association.to_max'): IntegerValue(1),
  1188. StringValue('Association.from_max'): InfiniteValue('inf'),
  1189. StringValue('Association.from_port'): StringValue('from_ifelse'),
  1190. StringValue('Association.to_min'): IntegerValue(0),
  1191. StringValue('Class.name'): StringValue('ifelse_actionblock_elsebody'),
  1192. StringValue('Association.to_port'): StringValue('to_actionblock'),
  1193. StringValue('Class.is_abstract'): BooleanValue(False),
  1194. StringValue('Association.from_min'): IntegerValue(0),
  1195. StringValue('Class.id_field'): StringValue('ifelse_actionblock_elsebody.name'),
  1196. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.IfElse'),
  1197. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  1198. }))
  1199. cl = self.mvk.create(MappingValue({
  1200. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1201. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.ifelse_actionblock_elsebody'),
  1202. CreateConstants.ATTRS_KEY: MappingValue({
  1203. StringValue('Attribute.name'): StringValue('name'),
  1204. StringValue('Attribute.type'): StringType()})
  1205. }))
  1206. cl = self.mvk.create(MappingValue({
  1207. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1208. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1209. CreateConstants.ATTRS_KEY: MappingValue({
  1210. StringValue('Inheritance.name'): StringValue('PlusAssignment_i_Assignment'),
  1211. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.PlusAssignment'),
  1212. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Assignment')})
  1213. }))
  1214. cl = self.mvk.create(MappingValue({
  1215. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1216. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1217. CreateConstants.ATTRS_KEY: MappingValue({
  1218. StringValue('Inheritance.name'): StringValue('AtomValue_i_Expression'),
  1219. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AtomValue'),
  1220. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  1221. }))
  1222. cl = self.mvk.create(MappingValue({
  1223. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1224. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1225. CreateConstants.ATTRS_KEY: MappingValue({
  1226. StringValue('Inheritance.name'): StringValue('Selection_i_Binop'),
  1227. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Selection'),
  1228. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  1229. }))
  1230. cl = self.mvk.create(MappingValue({
  1231. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1232. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1233. CreateConstants.ATTRS_KEY: MappingValue({
  1234. StringValue('Association.to_max'): IntegerValue(1),
  1235. StringValue('Association.from_max'): InfiniteValue('inf'),
  1236. StringValue('Association.from_port'): StringValue('from_assignment'),
  1237. StringValue('Association.to_min'): IntegerValue(1),
  1238. StringValue('Class.name'): StringValue('assignment_expression_right'),
  1239. StringValue('Association.to_port'): StringValue('to_expression'),
  1240. StringValue('Class.is_abstract'): BooleanValue(False),
  1241. StringValue('Association.from_min'): IntegerValue(0),
  1242. StringValue('Class.id_field'): StringValue('assignment_expression_right.name'),
  1243. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Assignment'),
  1244. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  1245. }))
  1246. cl = self.mvk.create(MappingValue({
  1247. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1248. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.assignment_expression_right'),
  1249. CreateConstants.ATTRS_KEY: MappingValue({
  1250. StringValue('Attribute.name'): StringValue('name'),
  1251. StringValue('Attribute.type'): StringType()})
  1252. }))
  1253. cl = self.mvk.create(MappingValue({
  1254. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1255. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1256. CreateConstants.ATTRS_KEY: MappingValue({
  1257. StringValue('Association.to_max'): InfiniteValue('inf'),
  1258. StringValue('Association.from_max'): InfiniteValue('inf'),
  1259. StringValue('Association.from_port'): StringValue('from_absmethod'),
  1260. StringValue('Association.to_min'): IntegerValue(0),
  1261. StringValue('Class.name'): StringValue('absmethod_parameter'),
  1262. StringValue('Association.to_port'): StringValue('to_parameter'),
  1263. StringValue('Class.is_abstract'): BooleanValue(False),
  1264. StringValue('Association.from_min'): IntegerValue(0),
  1265. StringValue('Class.id_field'): StringValue('absmethod_parameter.name'),
  1266. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsMethod'),
  1267. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Parameter')})
  1268. }))
  1269. cl = self.mvk.create(MappingValue({
  1270. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1271. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.absmethod_parameter'),
  1272. CreateConstants.ATTRS_KEY: MappingValue({
  1273. StringValue('Attribute.name'): StringValue('name'),
  1274. StringValue('Attribute.type'): StringType()})
  1275. }))
  1276. cl = self.mvk.create(MappingValue({
  1277. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1278. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1279. CreateConstants.ATTRS_KEY: MappingValue({
  1280. StringValue('Inheritance.name'): StringValue('ActionBlock_i_ID'),
  1281. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.ActionBlock'),
  1282. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  1283. }))
  1284. cl = self.mvk.create(MappingValue({
  1285. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1286. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1287. CreateConstants.ATTRS_KEY: MappingValue({
  1288. StringValue('Association.to_max'): InfiniteValue('inf'),
  1289. StringValue('Association.from_max'): InfiniteValue('inf'),
  1290. StringValue('Association.from_port'): StringValue('from_transition'),
  1291. StringValue('Association.to_min'): IntegerValue(0),
  1292. StringValue('Class.name'): StringValue('transition_raise'),
  1293. StringValue('Association.to_port'): StringValue('to_raise'),
  1294. StringValue('Class.is_abstract'): BooleanValue(False),
  1295. StringValue('Association.from_min'): IntegerValue(0),
  1296. StringValue('Class.id_field'): StringValue('transition_raise.name'),
  1297. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Transition'),
  1298. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Raise')})
  1299. }))
  1300. cl = self.mvk.create(MappingValue({
  1301. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1302. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.transition_raise'),
  1303. CreateConstants.ATTRS_KEY: MappingValue({
  1304. StringValue('Attribute.name'): StringValue('name'),
  1305. StringValue('Attribute.type'): StringType()})
  1306. }))
  1307. cl = self.mvk.create(MappingValue({
  1308. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1309. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1310. CreateConstants.ATTRS_KEY: MappingValue({
  1311. StringValue('Association.to_max'): IntegerValue(1),
  1312. StringValue('Association.from_max'): InfiniteValue('inf'),
  1313. StringValue('Association.from_port'): StringValue('from_target'),
  1314. StringValue('Association.to_min'): IntegerValue(1),
  1315. StringValue('Class.name'): StringValue('target_expression'),
  1316. StringValue('Association.to_port'): StringValue('to_expression'),
  1317. StringValue('Class.is_abstract'): BooleanValue(False),
  1318. StringValue('Association.from_min'): IntegerValue(0),
  1319. StringValue('Class.id_field'): StringValue('target_expression.name'),
  1320. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Target'),
  1321. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  1322. }))
  1323. cl = self.mvk.create(MappingValue({
  1324. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1325. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.target_expression'),
  1326. CreateConstants.ATTRS_KEY: MappingValue({
  1327. StringValue('Attribute.name'): StringValue('name'),
  1328. StringValue('Attribute.type'): StringType()})
  1329. }))
  1330. cl = self.mvk.create(MappingValue({
  1331. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1332. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1333. CreateConstants.ATTRS_KEY: MappingValue({
  1334. StringValue('Association.to_max'): IntegerValue(1),
  1335. StringValue('Association.from_max'): InfiniteValue('inf'),
  1336. StringValue('Association.from_port'): StringValue('from_while'),
  1337. StringValue('Association.to_min'): IntegerValue(1),
  1338. StringValue('Class.name'): StringValue('while_expression_condition'),
  1339. StringValue('Association.to_port'): StringValue('to_expression'),
  1340. StringValue('Class.is_abstract'): BooleanValue(False),
  1341. StringValue('Association.from_min'): IntegerValue(0),
  1342. StringValue('Class.id_field'): StringValue('while_expression_condition.name'),
  1343. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.While'),
  1344. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  1345. }))
  1346. cl = self.mvk.create(MappingValue({
  1347. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1348. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.while_expression_condition'),
  1349. CreateConstants.ATTRS_KEY: MappingValue({
  1350. StringValue('Attribute.name'): StringValue('name'),
  1351. StringValue('Attribute.type'): StringType()})
  1352. }))
  1353. cl = self.mvk.create(MappingValue({
  1354. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1355. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1356. CreateConstants.ATTRS_KEY: MappingValue({
  1357. StringValue('Inheritance.name'): StringValue('InitialState_i_PseudoState'),
  1358. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.InitialState'),
  1359. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.PseudoState')})
  1360. }))
  1361. cl = self.mvk.create(MappingValue({
  1362. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1363. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1364. CreateConstants.ATTRS_KEY: MappingValue({
  1365. StringValue('Inheritance.name'): StringValue('Binop_i_Expression'),
  1366. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Binop'),
  1367. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  1368. }))
  1369. cl = self.mvk.create(MappingValue({
  1370. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1371. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1372. CreateConstants.ATTRS_KEY: MappingValue({
  1373. StringValue('Inheritance.name'): StringValue('InPort_i_Named'),
  1374. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.InPort'),
  1375. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Named')})
  1376. }))
  1377. cl = self.mvk.create(MappingValue({
  1378. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1379. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1380. CreateConstants.ATTRS_KEY: MappingValue({
  1381. StringValue('Inheritance.name'): StringValue('Expression_i_ID'),
  1382. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Expression'),
  1383. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  1384. }))
  1385. cl = self.mvk.create(MappingValue({
  1386. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1387. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1388. CreateConstants.ATTRS_KEY: MappingValue({
  1389. StringValue('Inheritance.name'): StringValue('Array_i_Composite'),
  1390. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Array'),
  1391. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Composite')})
  1392. }))
  1393. cl = self.mvk.create(MappingValue({
  1394. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1395. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1396. CreateConstants.ATTRS_KEY: MappingValue({
  1397. StringValue('Inheritance.name'): StringValue('NavigationExpression_i_Expression'),
  1398. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.NavigationExpression'),
  1399. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  1400. }))
  1401. cl = self.mvk.create(MappingValue({
  1402. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1403. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1404. CreateConstants.ATTRS_KEY: MappingValue({
  1405. StringValue('Association.to_max'): IntegerValue(1),
  1406. StringValue('Association.from_max'): InfiniteValue('inf'),
  1407. StringValue('Association.from_port'): StringValue('from_actionblock'),
  1408. StringValue('Association.to_min'): IntegerValue(0),
  1409. StringValue('Class.name'): StringValue('actionblock_statement'),
  1410. StringValue('Association.to_port'): StringValue('to_statement'),
  1411. StringValue('Class.is_abstract'): BooleanValue(False),
  1412. StringValue('Association.from_min'): IntegerValue(0),
  1413. StringValue('Class.id_field'): StringValue('actionblock_statement.name'),
  1414. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.ActionBlock'),
  1415. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  1416. }))
  1417. cl = self.mvk.create(MappingValue({
  1418. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1419. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.actionblock_statement'),
  1420. CreateConstants.ATTRS_KEY: MappingValue({
  1421. StringValue('Attribute.name'): StringValue('name'),
  1422. StringValue('Attribute.type'): StringType()})
  1423. }))
  1424. cl = self.mvk.create(MappingValue({
  1425. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1426. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1427. CreateConstants.ATTRS_KEY: MappingValue({
  1428. StringValue('Inheritance.name'): StringValue('Relationship_i_ID'),
  1429. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Relationship'),
  1430. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  1431. }))
  1432. cl = self.mvk.create(MappingValue({
  1433. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1434. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1435. CreateConstants.ATTRS_KEY: MappingValue({
  1436. StringValue('Inheritance.name'): StringValue('Add_i_Binop'),
  1437. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Add'),
  1438. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  1439. }))
  1440. cl = self.mvk.create(MappingValue({
  1441. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1442. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1443. CreateConstants.ATTRS_KEY: MappingValue({
  1444. StringValue('Inheritance.name'): StringValue('Inheritance_i_Relationship'),
  1445. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Inheritance'),
  1446. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Relationship')})
  1447. }))
  1448. cl = self.mvk.create(MappingValue({
  1449. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1450. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1451. CreateConstants.ATTRS_KEY: MappingValue({
  1452. StringValue('Inheritance.name'): StringValue('Import_i_Statement'),
  1453. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Import'),
  1454. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  1455. }))
  1456. cl = self.mvk.create(MappingValue({
  1457. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1458. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1459. CreateConstants.ATTRS_KEY: MappingValue({
  1460. StringValue('Inheritance.name'): StringValue('Constructor_i_AbsMethod'),
  1461. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Constructor'),
  1462. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsMethod')})
  1463. }))
  1464. cl = self.mvk.create(MappingValue({
  1465. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1466. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1467. CreateConstants.ATTRS_KEY: MappingValue({
  1468. StringValue('Association.to_max'): IntegerValue(1),
  1469. StringValue('Association.from_max'): InfiniteValue('inf'),
  1470. StringValue('Association.from_port'): StringValue('from_regularargument'),
  1471. StringValue('Association.to_min'): IntegerValue(1),
  1472. StringValue('Class.name'): StringValue('regularargument_expression'),
  1473. StringValue('Association.to_port'): StringValue('to_expression'),
  1474. StringValue('Class.is_abstract'): BooleanValue(False),
  1475. StringValue('Association.from_min'): IntegerValue(0),
  1476. StringValue('Class.id_field'): StringValue('regularargument_expression.name'),
  1477. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.RegularArgument'),
  1478. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  1479. }))
  1480. cl = self.mvk.create(MappingValue({
  1481. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1482. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.regularargument_expression'),
  1483. CreateConstants.ATTRS_KEY: MappingValue({
  1484. StringValue('Attribute.name'): StringValue('name'),
  1485. StringValue('Attribute.type'): StringType()})
  1486. }))
  1487. cl = self.mvk.create(MappingValue({
  1488. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1489. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1490. CreateConstants.ATTRS_KEY: MappingValue({
  1491. StringValue('Inheritance.name'): StringValue('Minus_i_Unop'),
  1492. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Minus'),
  1493. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Unop')})
  1494. }))
  1495. cl = self.mvk.create(MappingValue({
  1496. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1497. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1498. CreateConstants.ATTRS_KEY: MappingValue({
  1499. StringValue('Inheritance.name'): StringValue('Method_i_AbsMethod'),
  1500. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Method'),
  1501. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsMethod')})
  1502. }))
  1503. cl = self.mvk.create(MappingValue({
  1504. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1505. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1506. CreateConstants.ATTRS_KEY: MappingValue({
  1507. StringValue('Association.to_max'): IntegerValue(1),
  1508. StringValue('Association.from_max'): InfiniteValue('inf'),
  1509. StringValue('Association.from_port'): StringValue('from_assignment'),
  1510. StringValue('Association.to_min'): IntegerValue(1),
  1511. StringValue('Class.name'): StringValue('assignment_expression_left'),
  1512. StringValue('Association.to_port'): StringValue('to_expression'),
  1513. StringValue('Class.is_abstract'): BooleanValue(False),
  1514. StringValue('Association.from_min'): IntegerValue(0),
  1515. StringValue('Class.id_field'): StringValue('assignment_expression_left.name'),
  1516. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Assignment'),
  1517. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  1518. }))
  1519. cl = self.mvk.create(MappingValue({
  1520. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1521. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.assignment_expression_left'),
  1522. CreateConstants.ATTRS_KEY: MappingValue({
  1523. StringValue('Attribute.name'): StringValue('name'),
  1524. StringValue('Attribute.type'): StringType()})
  1525. }))
  1526. cl = self.mvk.create(MappingValue({
  1527. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1528. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1529. CreateConstants.ATTRS_KEY: MappingValue({
  1530. StringValue('Association.to_max'): IntegerValue(1),
  1531. StringValue('Association.from_max'): InfiniteValue('inf'),
  1532. StringValue('Association.from_port'): StringValue('from_transition'),
  1533. StringValue('Association.to_min'): IntegerValue(0),
  1534. StringValue('Class.name'): StringValue('transition_inport'),
  1535. StringValue('Association.to_port'): StringValue('to_inport'),
  1536. StringValue('Class.is_abstract'): BooleanValue(False),
  1537. StringValue('Association.from_min'): IntegerValue(0),
  1538. StringValue('Class.id_field'): StringValue('transition_inport.name'),
  1539. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Transition'),
  1540. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.InPort')})
  1541. }))
  1542. cl = self.mvk.create(MappingValue({
  1543. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1544. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.transition_inport'),
  1545. CreateConstants.ATTRS_KEY: MappingValue({
  1546. StringValue('Attribute.name'): StringValue('name'),
  1547. StringValue('Attribute.type'): StringType()})
  1548. }))
  1549. cl = self.mvk.create(MappingValue({
  1550. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1551. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1552. CreateConstants.ATTRS_KEY: MappingValue({
  1553. StringValue('Inheritance.name'): StringValue('MinusAssignment_i_Assignment'),
  1554. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.MinusAssignment'),
  1555. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Assignment')})
  1556. }))
  1557. cl = self.mvk.create(MappingValue({
  1558. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1559. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1560. CreateConstants.ATTRS_KEY: MappingValue({
  1561. StringValue('Association.to_max'): InfiniteValue('inf'),
  1562. StringValue('Association.from_max'): InfiniteValue('inf'),
  1563. StringValue('Association.from_port'): StringValue('from_class'),
  1564. StringValue('Association.to_min'): IntegerValue(0),
  1565. StringValue('Class.name'): StringValue('class_relationship'),
  1566. StringValue('Association.to_port'): StringValue('to_relationship'),
  1567. StringValue('Class.is_abstract'): BooleanValue(False),
  1568. StringValue('Association.from_min'): IntegerValue(0),
  1569. StringValue('Class.id_field'): StringValue('class_relationship.name'),
  1570. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Class'),
  1571. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Relationship')})
  1572. }))
  1573. cl = self.mvk.create(MappingValue({
  1574. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1575. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.class_relationship'),
  1576. CreateConstants.ATTRS_KEY: MappingValue({
  1577. StringValue('Attribute.name'): StringValue('name'),
  1578. StringValue('Attribute.type'): StringType()})
  1579. }))
  1580. cl = self.mvk.create(MappingValue({
  1581. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1582. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1583. CreateConstants.ATTRS_KEY: MappingValue({
  1584. StringValue('Inheritance.name'): StringValue('Mult_i_Binop'),
  1585. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Mult'),
  1586. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  1587. }))
  1588. cl = self.mvk.create(MappingValue({
  1589. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1590. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1591. CreateConstants.ATTRS_KEY: MappingValue({
  1592. StringValue('Inheritance.name'): StringValue('DotExpression_i_AbsNavigationExpression'),
  1593. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.DotExpression'),
  1594. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsNavigationExpression')})
  1595. }))
  1596. cl = self.mvk.create(MappingValue({
  1597. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1598. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1599. CreateConstants.ATTRS_KEY: MappingValue({
  1600. StringValue('Inheritance.name'): StringValue('PseudoState_i_ID'),
  1601. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.PseudoState'),
  1602. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  1603. }))
  1604. cl = self.mvk.create(MappingValue({
  1605. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1606. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1607. CreateConstants.ATTRS_KEY: MappingValue({
  1608. StringValue('Inheritance.name'): StringValue('Bottom_i_ActionBlock'),
  1609. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Bottom'),
  1610. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  1611. }))
  1612. cl = self.mvk.create(MappingValue({
  1613. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1614. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1615. CreateConstants.ATTRS_KEY: MappingValue({
  1616. StringValue('Association.to_max'): InfiniteValue('inf'),
  1617. StringValue('Association.from_max'): InfiniteValue('inf'),
  1618. StringValue('Association.from_port'): StringValue('from_class'),
  1619. StringValue('Association.to_min'): IntegerValue(0),
  1620. StringValue('Class.name'): StringValue('class_attribute'),
  1621. StringValue('Association.to_port'): StringValue('to_attribute'),
  1622. StringValue('Class.is_abstract'): BooleanValue(False),
  1623. StringValue('Association.from_min'): IntegerValue(0),
  1624. StringValue('Class.id_field'): StringValue('class_attribute.name'),
  1625. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Class'),
  1626. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Attribute')})
  1627. }))
  1628. cl = self.mvk.create(MappingValue({
  1629. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1630. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.class_attribute'),
  1631. CreateConstants.ATTRS_KEY: MappingValue({
  1632. StringValue('Attribute.name'): StringValue('name'),
  1633. StringValue('Attribute.type'): StringType()})
  1634. }))
  1635. cl = self.mvk.create(MappingValue({
  1636. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1637. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1638. CreateConstants.ATTRS_KEY: MappingValue({
  1639. StringValue('Inheritance.name'): StringValue('Scope_i_ID'),
  1640. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Scope'),
  1641. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  1642. }))
  1643. cl = self.mvk.create(MappingValue({
  1644. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1645. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1646. CreateConstants.ATTRS_KEY: MappingValue({
  1647. StringValue('Inheritance.name'): StringValue('Assignment_i_Statement'),
  1648. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Assignment'),
  1649. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  1650. }))
  1651. cl = self.mvk.create(MappingValue({
  1652. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1653. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1654. CreateConstants.ATTRS_KEY: MappingValue({
  1655. StringValue('Inheritance.name'): StringValue('Destructor_i_AbsMethod'),
  1656. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Destructor'),
  1657. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsMethod')})
  1658. }))
  1659. cl = self.mvk.create(MappingValue({
  1660. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1661. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1662. CreateConstants.ATTRS_KEY: MappingValue({
  1663. StringValue('Inheritance.name'): StringValue('Equal_i_Binop'),
  1664. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Equal'),
  1665. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  1666. }))
  1667. cl = self.mvk.create(MappingValue({
  1668. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1669. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1670. CreateConstants.ATTRS_KEY: MappingValue({
  1671. StringValue('Association.to_max'): InfiniteValue('inf'),
  1672. StringValue('Association.from_max'): InfiniteValue('inf'),
  1673. StringValue('Association.from_port'): StringValue('from_statemachine'),
  1674. StringValue('Association.to_min'): IntegerValue(0),
  1675. StringValue('Class.name'): StringValue('statemachine_absstate'),
  1676. StringValue('Association.to_port'): StringValue('to_absstate'),
  1677. StringValue('Class.is_abstract'): BooleanValue(False),
  1678. StringValue('Association.from_min'): IntegerValue(0),
  1679. StringValue('Class.id_field'): StringValue('statemachine_absstate.name'),
  1680. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.StateMachine'),
  1681. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsState')})
  1682. }))
  1683. cl = self.mvk.create(MappingValue({
  1684. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1685. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.statemachine_absstate'),
  1686. CreateConstants.ATTRS_KEY: MappingValue({
  1687. StringValue('Attribute.name'): StringValue('name'),
  1688. StringValue('Attribute.type'): StringType()})
  1689. }))
  1690. cl = self.mvk.create(MappingValue({
  1691. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1692. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1693. CreateConstants.ATTRS_KEY: MappingValue({
  1694. StringValue('Inheritance.name'): StringValue('Parameter_i_ID'),
  1695. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Parameter'),
  1696. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  1697. }))
  1698. cl = self.mvk.create(MappingValue({
  1699. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1700. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1701. CreateConstants.ATTRS_KEY: MappingValue({
  1702. StringValue('Inheritance.name'): StringValue('OrthogonalComponent_i_AbsState'),
  1703. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.OrthogonalComponent'),
  1704. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsState')})
  1705. }))
  1706. cl = self.mvk.create(MappingValue({
  1707. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1708. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1709. CreateConstants.ATTRS_KEY: MappingValue({
  1710. StringValue('Inheritance.name'): StringValue('Return_i_Statement'),
  1711. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Return'),
  1712. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  1713. }))
  1714. cl = self.mvk.create(MappingValue({
  1715. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1716. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1717. CreateConstants.ATTRS_KEY: MappingValue({
  1718. StringValue('Inheritance.name'): StringValue('Statement_i_ID'),
  1719. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Statement'),
  1720. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  1721. }))
  1722. cl = self.mvk.create(MappingValue({
  1723. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1724. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1725. CreateConstants.ATTRS_KEY: MappingValue({
  1726. StringValue('Association.to_max'): IntegerValue(1),
  1727. StringValue('Association.from_max'): InfiniteValue('inf'),
  1728. StringValue('Association.from_port'): StringValue('from_raise'),
  1729. StringValue('Association.to_min'): IntegerValue(1),
  1730. StringValue('Class.name'): StringValue('raise_methodcall'),
  1731. StringValue('Association.to_port'): StringValue('to_methodcall'),
  1732. StringValue('Class.is_abstract'): BooleanValue(False),
  1733. StringValue('Association.from_min'): IntegerValue(0),
  1734. StringValue('Class.id_field'): StringValue('raise_methodcall.name'),
  1735. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Raise'),
  1736. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.MethodCall')})
  1737. }))
  1738. cl = self.mvk.create(MappingValue({
  1739. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1740. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.raise_methodcall'),
  1741. CreateConstants.ATTRS_KEY: MappingValue({
  1742. StringValue('Attribute.name'): StringValue('name'),
  1743. StringValue('Attribute.type'): StringType()})
  1744. }))
  1745. cl = self.mvk.create(MappingValue({
  1746. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1747. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1748. CreateConstants.ATTRS_KEY: MappingValue({
  1749. StringValue('Association.to_max'): IntegerValue(1),
  1750. StringValue('Association.from_max'): InfiniteValue('inf'),
  1751. StringValue('Association.from_port'): StringValue('from_argument'),
  1752. StringValue('Association.to_min'): IntegerValue(0),
  1753. StringValue('Class.name'): StringValue('argument_argument_next'),
  1754. StringValue('Association.to_port'): StringValue('to_argument'),
  1755. StringValue('Class.is_abstract'): BooleanValue(False),
  1756. StringValue('Association.from_min'): IntegerValue(0),
  1757. StringValue('Class.id_field'): StringValue('argument_argument_next.name'),
  1758. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Argument'),
  1759. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Argument')})
  1760. }))
  1761. cl = self.mvk.create(MappingValue({
  1762. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1763. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.argument_argument_next'),
  1764. CreateConstants.ATTRS_KEY: MappingValue({
  1765. StringValue('Attribute.name'): StringValue('name'),
  1766. StringValue('Attribute.type'): StringType()})
  1767. }))
  1768. cl = self.mvk.create(MappingValue({
  1769. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1770. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1771. CreateConstants.ATTRS_KEY: MappingValue({
  1772. StringValue('Association.to_max'): IntegerValue(1),
  1773. StringValue('Association.from_max'): InfiniteValue('inf'),
  1774. StringValue('Association.from_port'): StringValue('from_raise'),
  1775. StringValue('Association.to_min'): IntegerValue(0),
  1776. StringValue('Class.name'): StringValue('raise_target'),
  1777. StringValue('Association.to_port'): StringValue('to_Target'),
  1778. StringValue('Class.is_abstract'): BooleanValue(False),
  1779. StringValue('Association.from_min'): IntegerValue(0),
  1780. StringValue('Class.id_field'): StringValue('raise_target.name'),
  1781. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Raise'),
  1782. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Target')})
  1783. }))
  1784. cl = self.mvk.create(MappingValue({
  1785. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1786. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.raise_target'),
  1787. CreateConstants.ATTRS_KEY: MappingValue({
  1788. StringValue('Attribute.name'): StringValue('name'),
  1789. StringValue('Attribute.type'): StringType()})
  1790. }))
  1791. cl = self.mvk.create(MappingValue({
  1792. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1793. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1794. CreateConstants.ATTRS_KEY: MappingValue({
  1795. StringValue('Inheritance.name'): StringValue('Composition_i_Relationship'),
  1796. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Composition'),
  1797. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Relationship')})
  1798. }))
  1799. cl = self.mvk.create(MappingValue({
  1800. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1801. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1802. CreateConstants.ATTRS_KEY: MappingValue({
  1803. StringValue('Association.to_max'): IntegerValue(1),
  1804. StringValue('Association.from_max'): InfiniteValue('inf'),
  1805. StringValue('Association.from_port'): StringValue('from_return'),
  1806. StringValue('Association.to_min'): IntegerValue(0),
  1807. StringValue('Class.name'): StringValue('return_expression'),
  1808. StringValue('Association.to_port'): StringValue('to_expression'),
  1809. StringValue('Class.is_abstract'): BooleanValue(False),
  1810. StringValue('Association.from_min'): IntegerValue(0),
  1811. StringValue('Class.id_field'): StringValue('return_expression.name'),
  1812. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Return'),
  1813. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  1814. }))
  1815. cl = self.mvk.create(MappingValue({
  1816. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1817. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.return_expression'),
  1818. CreateConstants.ATTRS_KEY: MappingValue({
  1819. StringValue('Attribute.name'): StringValue('name'),
  1820. StringValue('Attribute.type'): StringType()})
  1821. }))
  1822. cl = self.mvk.create(MappingValue({
  1823. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1824. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1825. CreateConstants.ATTRS_KEY: MappingValue({
  1826. StringValue('Association.to_max'): IntegerValue(1),
  1827. StringValue('Association.from_max'): InfiniteValue('inf'),
  1828. StringValue('Association.from_port'): StringValue('from_parameter'),
  1829. StringValue('Association.to_min'): IntegerValue(0),
  1830. StringValue('Class.name'): StringValue('parameter_parameter_next'),
  1831. StringValue('Association.to_port'): StringValue('to_parameter'),
  1832. StringValue('Class.is_abstract'): BooleanValue(False),
  1833. StringValue('Association.from_min'): IntegerValue(0),
  1834. StringValue('Class.id_field'): StringValue('parameter_parameter_next.name'),
  1835. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Parameter'),
  1836. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Parameter')})
  1837. }))
  1838. cl = self.mvk.create(MappingValue({
  1839. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1840. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.parameter_parameter_next'),
  1841. CreateConstants.ATTRS_KEY: MappingValue({
  1842. StringValue('Attribute.name'): StringValue('name'),
  1843. StringValue('Attribute.type'): StringType()})
  1844. }))
  1845. cl = self.mvk.create(MappingValue({
  1846. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1847. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1848. CreateConstants.ATTRS_KEY: MappingValue({
  1849. StringValue('Inheritance.name'): StringValue('OnExit_i_ActionBlock'),
  1850. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.OnExit'),
  1851. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  1852. }))
  1853. cl = self.mvk.create(MappingValue({
  1854. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1855. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1856. CreateConstants.ATTRS_KEY: MappingValue({
  1857. StringValue('Association.to_max'): IntegerValue(1),
  1858. StringValue('Association.from_max'): InfiniteValue('inf'),
  1859. StringValue('Association.from_port'): StringValue('from_absstate'),
  1860. StringValue('Association.to_min'): IntegerValue(0),
  1861. StringValue('Class.name'): StringValue('absstate_onexit'),
  1862. StringValue('Association.to_port'): StringValue('to_onexit'),
  1863. StringValue('Class.is_abstract'): BooleanValue(False),
  1864. StringValue('Association.from_min'): IntegerValue(0),
  1865. StringValue('Class.id_field'): StringValue('absstate_onexit.name'),
  1866. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsState'),
  1867. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.OnExit')})
  1868. }))
  1869. cl = self.mvk.create(MappingValue({
  1870. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1871. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.absstate_onexit'),
  1872. CreateConstants.ATTRS_KEY: MappingValue({
  1873. StringValue('Attribute.name'): StringValue('name'),
  1874. StringValue('Attribute.type'): StringType()})
  1875. }))
  1876. cl = self.mvk.create(MappingValue({
  1877. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1878. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1879. CreateConstants.ATTRS_KEY: MappingValue({
  1880. StringValue('Inheritance.name'): StringValue('State_i_AbsState'),
  1881. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.State'),
  1882. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsState')})
  1883. }))
  1884. cl = self.mvk.create(MappingValue({
  1885. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1886. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1887. CreateConstants.ATTRS_KEY: MappingValue({
  1888. StringValue('Association.to_max'): IntegerValue(1),
  1889. StringValue('Association.from_max'): InfiniteValue('inf'),
  1890. StringValue('Association.from_port'): StringValue('from_class'),
  1891. StringValue('Association.to_min'): IntegerValue(0),
  1892. StringValue('Class.name'): StringValue('class_statemachine'),
  1893. StringValue('Association.to_port'): StringValue('to_statemachine'),
  1894. StringValue('Class.is_abstract'): BooleanValue(False),
  1895. StringValue('Association.from_min'): IntegerValue(0),
  1896. StringValue('Class.id_field'): StringValue('class_statemachine.name'),
  1897. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Class'),
  1898. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.StateMachine')})
  1899. }))
  1900. cl = self.mvk.create(MappingValue({
  1901. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1902. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.class_statemachine'),
  1903. CreateConstants.ATTRS_KEY: MappingValue({
  1904. StringValue('Attribute.name'): StringValue('name'),
  1905. StringValue('Attribute.type'): StringType()})
  1906. }))
  1907. cl = self.mvk.create(MappingValue({
  1908. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1909. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1910. CreateConstants.ATTRS_KEY: MappingValue({
  1911. StringValue('Association.to_max'): IntegerValue(1),
  1912. StringValue('Association.from_max'): InfiniteValue('inf'),
  1913. StringValue('Association.from_port'): StringValue('from_binop'),
  1914. StringValue('Association.to_min'): IntegerValue(1),
  1915. StringValue('Class.name'): StringValue('binop_expression_right'),
  1916. StringValue('Association.to_port'): StringValue('to_expression'),
  1917. StringValue('Class.is_abstract'): BooleanValue(False),
  1918. StringValue('Association.from_min'): IntegerValue(0),
  1919. StringValue('Class.id_field'): StringValue('binop_expression_right.name'),
  1920. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Binop'),
  1921. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  1922. }))
  1923. cl = self.mvk.create(MappingValue({
  1924. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1925. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.binop_expression_right'),
  1926. CreateConstants.ATTRS_KEY: MappingValue({
  1927. StringValue('Attribute.name'): StringValue('name'),
  1928. StringValue('Attribute.type'): StringType()})
  1929. }))
  1930. cl = self.mvk.create(MappingValue({
  1931. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1932. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1933. CreateConstants.ATTRS_KEY: MappingValue({
  1934. StringValue('Association.to_max'): IntegerValue(1),
  1935. StringValue('Association.from_max'): InfiniteValue('inf'),
  1936. StringValue('Association.from_port'): StringValue('from_transition'),
  1937. StringValue('Association.to_min'): IntegerValue(0),
  1938. StringValue('Class.name'): StringValue('transition_actionblock'),
  1939. StringValue('Association.to_port'): StringValue('to_actionblock'),
  1940. StringValue('Class.is_abstract'): BooleanValue(False),
  1941. StringValue('Association.from_min'): IntegerValue(0),
  1942. StringValue('Class.id_field'): StringValue('transition_actionblock.name'),
  1943. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Transition'),
  1944. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  1945. }))
  1946. cl = self.mvk.create(MappingValue({
  1947. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1948. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.transition_actionblock'),
  1949. CreateConstants.ATTRS_KEY: MappingValue({
  1950. StringValue('Attribute.name'): StringValue('name'),
  1951. StringValue('Attribute.type'): StringType()})
  1952. }))
  1953. cl = self.mvk.create(MappingValue({
  1954. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1955. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1956. CreateConstants.ATTRS_KEY: MappingValue({
  1957. StringValue('Association.to_max'): IntegerValue(1),
  1958. StringValue('Association.from_max'): InfiniteValue('inf'),
  1959. StringValue('Association.from_port'): StringValue('from_regularargument'),
  1960. StringValue('Association.to_min'): IntegerValue(1),
  1961. StringValue('Class.name'): StringValue('dictargument_expression'),
  1962. StringValue('Association.to_port'): StringValue('to_expression'),
  1963. StringValue('Class.is_abstract'): BooleanValue(False),
  1964. StringValue('Association.from_min'): IntegerValue(0),
  1965. StringValue('Class.id_field'): StringValue('dictargument_expression.name'),
  1966. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.DictArgument'),
  1967. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  1968. }))
  1969. cl = self.mvk.create(MappingValue({
  1970. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  1971. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.dictargument_expression'),
  1972. CreateConstants.ATTRS_KEY: MappingValue({
  1973. StringValue('Attribute.name'): StringValue('name'),
  1974. StringValue('Attribute.type'): StringType()})
  1975. }))
  1976. cl = self.mvk.create(MappingValue({
  1977. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1978. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1979. CreateConstants.ATTRS_KEY: MappingValue({
  1980. StringValue('Inheritance.name'): StringValue('IntegerValue_i_AtomValue'),
  1981. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.IntegerValue'),
  1982. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AtomValue')})
  1983. }))
  1984. cl = self.mvk.create(MappingValue({
  1985. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  1986. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1987. CreateConstants.ATTRS_KEY: MappingValue({
  1988. StringValue('Inheritance.name'): StringValue('RegularArgument_i_CompositeArgument'),
  1989. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.RegularArgument'),
  1990. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.CompositeArgument')})
  1991. }))
  1992. cl = self.mvk.create(MappingValue({
  1993. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  1994. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  1995. CreateConstants.ATTRS_KEY: MappingValue({
  1996. StringValue('Association.to_max'): InfiniteValue('inf'),
  1997. StringValue('Association.from_max'): InfiniteValue('inf'),
  1998. StringValue('Association.from_port'): StringValue('from_argument'),
  1999. StringValue('Association.to_min'): IntegerValue(0),
  2000. StringValue('Class.name'): StringValue('argument_value'),
  2001. StringValue('Association.to_port'): StringValue('to_value'),
  2002. StringValue('Class.is_abstract'): BooleanValue(False),
  2003. StringValue('Association.from_min'): IntegerValue(0),
  2004. StringValue('Class.id_field'): StringValue('argument_value.name'),
  2005. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Argument'),
  2006. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  2007. }))
  2008. cl = self.mvk.create(MappingValue({
  2009. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2010. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.argument_value'),
  2011. CreateConstants.ATTRS_KEY: MappingValue({
  2012. StringValue('Attribute.name'): StringValue('name'),
  2013. StringValue('Attribute.type'): StringType()})
  2014. }))
  2015. cl = self.mvk.create(MappingValue({
  2016. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2017. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2018. CreateConstants.ATTRS_KEY: MappingValue({
  2019. StringValue('Inheritance.name'): StringValue('MethodCallStm_i_AbsMethodCall'),
  2020. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.MethodCallStm'),
  2021. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsMethodCall')})
  2022. }))
  2023. cl = self.mvk.create(MappingValue({
  2024. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2025. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2026. CreateConstants.ATTRS_KEY: MappingValue({
  2027. StringValue('Inheritance.name'): StringValue('HistoryState_i_PseudoState'),
  2028. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.HistoryState'),
  2029. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.PseudoState')})
  2030. }))
  2031. cl = self.mvk.create(MappingValue({
  2032. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2033. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2034. CreateConstants.ATTRS_KEY: MappingValue({
  2035. StringValue('Association.to_max'): InfiniteValue('inf'),
  2036. StringValue('Association.from_max'): InfiniteValue('inf'),
  2037. StringValue('Association.from_port'): StringValue('from_statemachine'),
  2038. StringValue('Association.to_min'): IntegerValue(0),
  2039. StringValue('Class.name'): StringValue('statemachine_pseudostate'),
  2040. StringValue('Association.to_port'): StringValue('to_pseudostate'),
  2041. StringValue('Class.is_abstract'): BooleanValue(False),
  2042. StringValue('Association.from_min'): IntegerValue(0),
  2043. StringValue('Class.id_field'): StringValue('statemachine_pseudostate.name'),
  2044. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.StateMachine'),
  2045. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.PseudoState')})
  2046. }))
  2047. cl = self.mvk.create(MappingValue({
  2048. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2049. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.statemachine_pseudostate'),
  2050. CreateConstants.ATTRS_KEY: MappingValue({
  2051. StringValue('Attribute.name'): StringValue('name'),
  2052. StringValue('Attribute.type'): StringType()})
  2053. }))
  2054. cl = self.mvk.create(MappingValue({
  2055. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2056. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2057. CreateConstants.ATTRS_KEY: MappingValue({
  2058. StringValue('Inheritance.name'): StringValue('MethodCallStm_i_Statement'),
  2059. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.MethodCallStm'),
  2060. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  2061. }))
  2062. cl = self.mvk.create(MappingValue({
  2063. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2064. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2065. CreateConstants.ATTRS_KEY: MappingValue({
  2066. StringValue('Inheritance.name'): StringValue('LEThan_i_Binop'),
  2067. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.LEThan'),
  2068. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  2069. }))
  2070. cl = self.mvk.create(MappingValue({
  2071. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2072. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2073. CreateConstants.ATTRS_KEY: MappingValue({
  2074. StringValue('Inheritance.name'): StringValue('Composite_i_Expression'),
  2075. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Composite'),
  2076. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  2077. }))
  2078. cl = self.mvk.create(MappingValue({
  2079. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2080. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2081. CreateConstants.ATTRS_KEY: MappingValue({
  2082. StringValue('Association.to_max'): IntegerValue(1),
  2083. StringValue('Association.from_max'): InfiniteValue('inf'),
  2084. StringValue('Association.from_port'): StringValue('from_methodcall'),
  2085. StringValue('Association.to_min'): IntegerValue(0),
  2086. StringValue('Class.name'): StringValue('methodcall_sender'),
  2087. StringValue('Association.to_port'): StringValue('to_expression'),
  2088. StringValue('Class.is_abstract'): BooleanValue(False),
  2089. StringValue('Association.from_min'): IntegerValue(0),
  2090. StringValue('Class.id_field'): StringValue('methodcall_sender.name'),
  2091. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsMethodCall'),
  2092. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  2093. }))
  2094. cl = self.mvk.create(MappingValue({
  2095. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2096. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.methodcall_sender'),
  2097. CreateConstants.ATTRS_KEY: MappingValue({
  2098. StringValue('Attribute.name'): StringValue('name'),
  2099. StringValue('Attribute.type'): StringType()})
  2100. }))
  2101. cl = self.mvk.create(MappingValue({
  2102. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2103. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2104. CreateConstants.ATTRS_KEY: MappingValue({
  2105. StringValue('Inheritance.name'): StringValue('IfElse_i_Statement'),
  2106. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.IfElse'),
  2107. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  2108. }))
  2109. cl = self.mvk.create(MappingValue({
  2110. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2111. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2112. CreateConstants.ATTRS_KEY: MappingValue({
  2113. StringValue('Association.to_max'): IntegerValue(1),
  2114. StringValue('Association.from_max'): InfiniteValue('inf'),
  2115. StringValue('Association.from_port'): StringValue('from_binop'),
  2116. StringValue('Association.to_min'): IntegerValue(1),
  2117. StringValue('Class.name'): StringValue('binop_expression_left'),
  2118. StringValue('Association.to_port'): StringValue('to_expression'),
  2119. StringValue('Class.is_abstract'): BooleanValue(False),
  2120. StringValue('Association.from_min'): IntegerValue(0),
  2121. StringValue('Class.id_field'): StringValue('binop_expression_left.name'),
  2122. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Binop'),
  2123. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  2124. }))
  2125. cl = self.mvk.create(MappingValue({
  2126. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2127. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.binop_expression_left'),
  2128. CreateConstants.ATTRS_KEY: MappingValue({
  2129. StringValue('Attribute.name'): StringValue('name'),
  2130. StringValue('Attribute.type'): StringType()})
  2131. }))
  2132. cl = self.mvk.create(MappingValue({
  2133. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2134. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2135. CreateConstants.ATTRS_KEY: MappingValue({
  2136. StringValue('Inheritance.name'): StringValue('Event_i_ID'),
  2137. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Event'),
  2138. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  2139. }))
  2140. cl = self.mvk.create(MappingValue({
  2141. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2142. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2143. CreateConstants.ATTRS_KEY: MappingValue({
  2144. StringValue('Association.to_max'): InfiniteValue('inf'),
  2145. StringValue('Association.from_max'): InfiniteValue('inf'),
  2146. StringValue('Association.from_port'): StringValue('from_class'),
  2147. StringValue('Association.to_min'): IntegerValue(0),
  2148. StringValue('Class.name'): StringValue('class_method'),
  2149. StringValue('Association.to_port'): StringValue('to_method'),
  2150. StringValue('Class.is_abstract'): BooleanValue(False),
  2151. StringValue('Association.from_min'): IntegerValue(0),
  2152. StringValue('Class.id_field'): StringValue('class_method.name'),
  2153. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Class'),
  2154. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsMethod')})
  2155. }))
  2156. cl = self.mvk.create(MappingValue({
  2157. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2158. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.class_method'),
  2159. CreateConstants.ATTRS_KEY: MappingValue({
  2160. StringValue('Attribute.name'): StringValue('name'),
  2161. StringValue('Attribute.type'): StringType()})
  2162. }))
  2163. cl = self.mvk.create(MappingValue({
  2164. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2165. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2166. CreateConstants.ATTRS_KEY: MappingValue({
  2167. StringValue('Inheritance.name'): StringValue('LThan_i_Binop'),
  2168. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.LThan'),
  2169. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  2170. }))
  2171. cl = self.mvk.create(MappingValue({
  2172. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2173. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2174. CreateConstants.ATTRS_KEY: MappingValue({
  2175. StringValue('Inheritance.name'): StringValue('Attribute_i_Named'),
  2176. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Attribute'),
  2177. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Named')})
  2178. }))
  2179. cl = self.mvk.create(MappingValue({
  2180. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2181. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2182. CreateConstants.ATTRS_KEY: MappingValue({
  2183. StringValue('Association.to_max'): IntegerValue(1),
  2184. StringValue('Association.from_max'): InfiniteValue('inf'),
  2185. StringValue('Association.from_port'): StringValue('from_guard'),
  2186. StringValue('Association.to_min'): IntegerValue(1),
  2187. StringValue('Class.name'): StringValue('guard_expression'),
  2188. StringValue('Association.to_port'): StringValue('to_expression'),
  2189. StringValue('Class.is_abstract'): BooleanValue(False),
  2190. StringValue('Association.from_min'): IntegerValue(0),
  2191. StringValue('Class.id_field'): StringValue('guard_expression.name'),
  2192. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Guard'),
  2193. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  2194. }))
  2195. cl = self.mvk.create(MappingValue({
  2196. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2197. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.guard_expression'),
  2198. CreateConstants.ATTRS_KEY: MappingValue({
  2199. StringValue('Attribute.name'): StringValue('name'),
  2200. StringValue('Attribute.type'): StringType()})
  2201. }))
  2202. cl = self.mvk.create(MappingValue({
  2203. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2204. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2205. CreateConstants.ATTRS_KEY: MappingValue({
  2206. StringValue('Association.to_max'): IntegerValue(1),
  2207. StringValue('Association.from_max'): InfiniteValue('inf'),
  2208. StringValue('Association.from_port'): StringValue('from_unop'),
  2209. StringValue('Association.to_min'): IntegerValue(1),
  2210. StringValue('Class.name'): StringValue('unop_expression'),
  2211. StringValue('Association.to_port'): StringValue('to_expression'),
  2212. StringValue('Class.is_abstract'): BooleanValue(False),
  2213. StringValue('Association.from_min'): IntegerValue(0),
  2214. StringValue('Class.id_field'): StringValue('unop_expression.name'),
  2215. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Unop'),
  2216. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  2217. }))
  2218. cl = self.mvk.create(MappingValue({
  2219. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2220. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.unop_expression'),
  2221. CreateConstants.ATTRS_KEY: MappingValue({
  2222. StringValue('Attribute.name'): StringValue('name'),
  2223. StringValue('Attribute.type'): StringType()})
  2224. }))
  2225. cl = self.mvk.create(MappingValue({
  2226. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2227. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2228. CreateConstants.ATTRS_KEY: MappingValue({
  2229. StringValue('Inheritance.name'): StringValue('Tuple_i_Composite'),
  2230. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Tuple'),
  2231. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Composite')})
  2232. }))
  2233. cl = self.mvk.create(MappingValue({
  2234. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2235. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2236. CreateConstants.ATTRS_KEY: MappingValue({
  2237. StringValue('Inheritance.name'): StringValue('Continue_i_Statement'),
  2238. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Continue'),
  2239. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  2240. }))
  2241. cl = self.mvk.create(MappingValue({
  2242. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2243. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2244. CreateConstants.ATTRS_KEY: MappingValue({
  2245. StringValue('Inheritance.name'): StringValue('Declaration_i_Statement'),
  2246. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Declaration'),
  2247. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  2248. }))
  2249. cl = self.mvk.create(MappingValue({
  2250. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2251. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2252. CreateConstants.ATTRS_KEY: MappingValue({
  2253. StringValue('Association.to_max'): IntegerValue(1),
  2254. StringValue('Association.from_max'): InfiniteValue('inf'),
  2255. StringValue('Association.from_port'): StringValue('from_ifelse'),
  2256. StringValue('Association.to_min'): IntegerValue(1),
  2257. StringValue('Class.name'): StringValue('ifelse_actionblock_ifbody'),
  2258. StringValue('Association.to_port'): StringValue('to_actionblock'),
  2259. StringValue('Class.is_abstract'): BooleanValue(False),
  2260. StringValue('Association.from_min'): IntegerValue(0),
  2261. StringValue('Class.id_field'): StringValue('ifelse_actionblock_ifbody.name'),
  2262. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.IfElse'),
  2263. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  2264. }))
  2265. cl = self.mvk.create(MappingValue({
  2266. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2267. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.ifelse_actionblock_ifbody'),
  2268. CreateConstants.ATTRS_KEY: MappingValue({
  2269. StringValue('Attribute.name'): StringValue('name'),
  2270. StringValue('Attribute.type'): StringType()})
  2271. }))
  2272. cl = self.mvk.create(MappingValue({
  2273. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2274. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2275. CreateConstants.ATTRS_KEY: MappingValue({
  2276. StringValue('Association.to_max'): IntegerValue(1),
  2277. StringValue('Association.from_max'): InfiniteValue('inf'),
  2278. StringValue('Association.from_port'): StringValue('from_absstate'),
  2279. StringValue('Association.to_min'): IntegerValue(0),
  2280. StringValue('Class.name'): StringValue('absstate_onenter'),
  2281. StringValue('Association.to_port'): StringValue('to_onenter'),
  2282. StringValue('Class.is_abstract'): BooleanValue(False),
  2283. StringValue('Association.from_min'): IntegerValue(0),
  2284. StringValue('Class.id_field'): StringValue('absstate_onenter.name'),
  2285. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsState'),
  2286. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.OnEnter')})
  2287. }))
  2288. cl = self.mvk.create(MappingValue({
  2289. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2290. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.absstate_onenter'),
  2291. CreateConstants.ATTRS_KEY: MappingValue({
  2292. StringValue('Attribute.name'): StringValue('name'),
  2293. StringValue('Attribute.type'): StringType()})
  2294. }))
  2295. cl = self.mvk.create(MappingValue({
  2296. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2297. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2298. CreateConstants.ATTRS_KEY: MappingValue({
  2299. StringValue('Inheritance.name'): StringValue('StringValue_i_AtomValue'),
  2300. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.StringValue'),
  2301. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AtomValue')})
  2302. }))
  2303. cl = self.mvk.create(MappingValue({
  2304. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2305. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2306. CreateConstants.ATTRS_KEY: MappingValue({
  2307. StringValue('Inheritance.name'): StringValue('Div_i_Binop'),
  2308. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Div'),
  2309. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  2310. }))
  2311. cl = self.mvk.create(MappingValue({
  2312. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2313. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2314. CreateConstants.ATTRS_KEY: MappingValue({
  2315. StringValue('Association.to_max'): IntegerValue(1),
  2316. StringValue('Association.from_max'): InfiniteValue('inf'),
  2317. StringValue('Association.from_port'): StringValue('from_compositeargument'),
  2318. StringValue('Association.to_min'): IntegerValue(1),
  2319. StringValue('Class.name'): StringValue('compositeargument_compositeargument_next'),
  2320. StringValue('Association.to_port'): StringValue('to_compositeargument'),
  2321. StringValue('Class.is_abstract'): BooleanValue(False),
  2322. StringValue('Association.from_min'): IntegerValue(0),
  2323. StringValue('Class.id_field'): StringValue('compositeargument_compositeargument_next.name'),
  2324. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.CompositeArgument'),
  2325. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.CompositeArgument')})
  2326. }))
  2327. cl = self.mvk.create(MappingValue({
  2328. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2329. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.compositeargument_compositeargument_next'),
  2330. CreateConstants.ATTRS_KEY: MappingValue({
  2331. StringValue('Attribute.name'): StringValue('name'),
  2332. StringValue('Attribute.type'): StringType()})
  2333. }))
  2334. cl = self.mvk.create(MappingValue({
  2335. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2336. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2337. CreateConstants.ATTRS_KEY: MappingValue({
  2338. StringValue('Inheritance.name'): StringValue('Transition_i_ID'),
  2339. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Transition'),
  2340. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  2341. }))
  2342. cl = self.mvk.create(MappingValue({
  2343. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2344. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2345. CreateConstants.ATTRS_KEY: MappingValue({
  2346. StringValue('Inheritance.name'): StringValue('FloatValue_i_AtomValue'),
  2347. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.FloatValue'),
  2348. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AtomValue')})
  2349. }))
  2350. cl = self.mvk.create(MappingValue({
  2351. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2352. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2353. CreateConstants.ATTRS_KEY: MappingValue({
  2354. StringValue('Association.to_max'): InfiniteValue('inf'),
  2355. StringValue('Association.from_max'): InfiniteValue('inf'),
  2356. StringValue('Association.from_port'): StringValue('from_absstate'),
  2357. StringValue('Association.to_min'): IntegerValue(0),
  2358. StringValue('Class.name'): StringValue('absstate_transition'),
  2359. StringValue('Association.to_port'): StringValue('to_transition'),
  2360. StringValue('Class.is_abstract'): BooleanValue(False),
  2361. StringValue('Association.from_min'): IntegerValue(0),
  2362. StringValue('Class.id_field'): StringValue('absstate_transition.name'),
  2363. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsState'),
  2364. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Transition')})
  2365. }))
  2366. cl = self.mvk.create(MappingValue({
  2367. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2368. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.absstate_transition'),
  2369. CreateConstants.ATTRS_KEY: MappingValue({
  2370. StringValue('Attribute.name'): StringValue('name'),
  2371. StringValue('Attribute.type'): StringType()})
  2372. }))
  2373. cl = self.mvk.create(MappingValue({
  2374. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2375. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2376. CreateConstants.ATTRS_KEY: MappingValue({
  2377. StringValue('Association.to_max'): IntegerValue(1),
  2378. StringValue('Association.from_max'): InfiniteValue('inf'),
  2379. StringValue('Association.from_port'): StringValue('from_navigationexpression'),
  2380. StringValue('Association.to_min'): IntegerValue(1),
  2381. StringValue('Class.name'): StringValue('navigationexpression_absnavigationexpression'),
  2382. StringValue('Association.to_port'): StringValue('to_absnavigationexpression'),
  2383. StringValue('Class.is_abstract'): BooleanValue(False),
  2384. StringValue('Association.from_min'): IntegerValue(0),
  2385. StringValue('Class.id_field'): StringValue('navigationexpression_absnavigationexpression.name'),
  2386. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.NavigationExpression'),
  2387. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsNavigationExpression')})
  2388. }))
  2389. cl = self.mvk.create(MappingValue({
  2390. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2391. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.navigationexpression_absnavigationexpression'),
  2392. CreateConstants.ATTRS_KEY: MappingValue({
  2393. StringValue('Attribute.name'): StringValue('name'),
  2394. StringValue('Attribute.type'): StringType()})
  2395. }))
  2396. cl = self.mvk.create(MappingValue({
  2397. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2398. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2399. CreateConstants.ATTRS_KEY: MappingValue({
  2400. StringValue('Inheritance.name'): StringValue('DictArgument_i_CompositeArgument'),
  2401. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.DictArgument'),
  2402. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.CompositeArgument')})
  2403. }))
  2404. cl = self.mvk.create(MappingValue({
  2405. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2406. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2407. CreateConstants.ATTRS_KEY: MappingValue({
  2408. StringValue('Inheritance.name'): StringValue('Association_i_Relationship'),
  2409. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Association'),
  2410. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Relationship')})
  2411. }))
  2412. cl = self.mvk.create(MappingValue({
  2413. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2414. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2415. CreateConstants.ATTRS_KEY: MappingValue({
  2416. StringValue('Inheritance.name'): StringValue('SelfExpression_i_AbsNavigationExpression'),
  2417. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.SelfExpression'),
  2418. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsNavigationExpression')})
  2419. }))
  2420. cl = self.mvk.create(MappingValue({
  2421. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2422. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2423. CreateConstants.ATTRS_KEY: MappingValue({
  2424. StringValue('Association.to_max'): IntegerValue(1),
  2425. StringValue('Association.from_max'): InfiniteValue('inf'),
  2426. StringValue('Association.from_port'): StringValue('from_transition'),
  2427. StringValue('Association.to_min'): IntegerValue(0),
  2428. StringValue('Class.name'): StringValue('transition_guard'),
  2429. StringValue('Association.to_port'): StringValue('to_guard'),
  2430. StringValue('Class.is_abstract'): BooleanValue(False),
  2431. StringValue('Association.from_min'): IntegerValue(0),
  2432. StringValue('Class.id_field'): StringValue('transition_guard.name'),
  2433. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Transition'),
  2434. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Guard')})
  2435. }))
  2436. cl = self.mvk.create(MappingValue({
  2437. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2438. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.transition_guard'),
  2439. CreateConstants.ATTRS_KEY: MappingValue({
  2440. StringValue('Attribute.name'): StringValue('name'),
  2441. StringValue('Attribute.type'): StringType()})
  2442. }))
  2443. cl = self.mvk.create(MappingValue({
  2444. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2445. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2446. CreateConstants.ATTRS_KEY: MappingValue({
  2447. StringValue('Inheritance.name'): StringValue('Guard_i_ID'),
  2448. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Guard'),
  2449. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  2450. }))
  2451. cl = self.mvk.create(MappingValue({
  2452. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2453. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2454. CreateConstants.ATTRS_KEY: MappingValue({
  2455. StringValue('Inheritance.name'): StringValue('Or_i_Binop'),
  2456. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Or'),
  2457. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  2458. }))
  2459. cl = self.mvk.create(MappingValue({
  2460. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2461. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2462. CreateConstants.ATTRS_KEY: MappingValue({
  2463. StringValue('Association.to_max'): InfiniteValue('inf'),
  2464. StringValue('Association.from_max'): InfiniteValue('inf'),
  2465. StringValue('Association.from_port'): StringValue('from_class'),
  2466. StringValue('Association.to_min'): IntegerValue(0),
  2467. StringValue('Class.name'): StringValue('class_inport'),
  2468. StringValue('Association.to_port'): StringValue('to_inport'),
  2469. StringValue('Class.is_abstract'): BooleanValue(False),
  2470. StringValue('Association.from_min'): IntegerValue(0),
  2471. StringValue('Class.id_field'): StringValue('class_inport.name'),
  2472. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Class'),
  2473. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.InPort')})
  2474. }))
  2475. cl = self.mvk.create(MappingValue({
  2476. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2477. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.class_inport'),
  2478. CreateConstants.ATTRS_KEY: MappingValue({
  2479. StringValue('Attribute.name'): StringValue('name'),
  2480. StringValue('Attribute.type'): StringType()})
  2481. }))
  2482. cl = self.mvk.create(MappingValue({
  2483. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2484. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2485. CreateConstants.ATTRS_KEY: MappingValue({
  2486. StringValue('Association.to_max'): InfiniteValue('inf'),
  2487. StringValue('Association.from_max'): InfiniteValue('inf'),
  2488. StringValue('Association.from_port'): StringValue('from_methodcall'),
  2489. StringValue('Association.to_min'): IntegerValue(0),
  2490. StringValue('Class.name'): StringValue('methodcall_argument'),
  2491. StringValue('Association.to_port'): StringValue('to_argument'),
  2492. StringValue('Class.is_abstract'): BooleanValue(False),
  2493. StringValue('Association.from_min'): IntegerValue(0),
  2494. StringValue('Class.id_field'): StringValue('methodcall_argument.name'),
  2495. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsMethodCall'),
  2496. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Argument')})
  2497. }))
  2498. cl = self.mvk.create(MappingValue({
  2499. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2500. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.methodcall_argument'),
  2501. CreateConstants.ATTRS_KEY: MappingValue({
  2502. StringValue('Attribute.name'): StringValue('name'),
  2503. StringValue('Attribute.type'): StringType()})
  2504. }))
  2505. cl = self.mvk.create(MappingValue({
  2506. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2507. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2508. CreateConstants.ATTRS_KEY: MappingValue({
  2509. StringValue('Association.to_max'): IntegerValue(1),
  2510. StringValue('Association.from_max'): InfiniteValue('inf'),
  2511. StringValue('Association.from_port'): StringValue('from_composite'),
  2512. StringValue('Association.to_min'): IntegerValue(1),
  2513. StringValue('Class.name'): StringValue('composite_compositeargument'),
  2514. StringValue('Association.to_port'): StringValue('to_compositeargument'),
  2515. StringValue('Class.is_abstract'): BooleanValue(False),
  2516. StringValue('Association.from_min'): IntegerValue(0),
  2517. StringValue('Class.id_field'): StringValue('composite_compositeargument.name'),
  2518. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Composite'),
  2519. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.CompositeArgument')})
  2520. }))
  2521. cl = self.mvk.create(MappingValue({
  2522. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2523. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.composite_compositeargument'),
  2524. CreateConstants.ATTRS_KEY: MappingValue({
  2525. StringValue('Attribute.name'): StringValue('name'),
  2526. StringValue('Attribute.type'): StringType()})
  2527. }))
  2528. cl = self.mvk.create(MappingValue({
  2529. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2530. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2531. CreateConstants.ATTRS_KEY: MappingValue({
  2532. StringValue('Association.to_max'): IntegerValue(1),
  2533. StringValue('Association.from_max'): InfiniteValue('inf'),
  2534. StringValue('Association.from_port'): StringValue('from_parameter'),
  2535. StringValue('Association.to_min'): IntegerValue(0),
  2536. StringValue('Class.name'): StringValue('parameter_type_expression'),
  2537. StringValue('Association.to_port'): StringValue('to_type_expression'),
  2538. StringValue('Class.is_abstract'): BooleanValue(False),
  2539. StringValue('Association.from_min'): IntegerValue(0),
  2540. StringValue('Class.id_field'): StringValue('parameter_type_expression.name'),
  2541. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Parameter'),
  2542. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.NavigationExpression')})
  2543. }))
  2544. cl = self.mvk.create(MappingValue({
  2545. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2546. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.parameter_type_expression'),
  2547. CreateConstants.ATTRS_KEY: MappingValue({
  2548. StringValue('Attribute.name'): StringValue('name'),
  2549. StringValue('Attribute.type'): StringType()})
  2550. }))
  2551. cl = self.mvk.create(MappingValue({
  2552. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2553. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2554. CreateConstants.ATTRS_KEY: MappingValue({
  2555. StringValue('Inheritance.name'): StringValue('AbsState_i_ID'),
  2556. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsState'),
  2557. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  2558. }))
  2559. cl = self.mvk.create(MappingValue({
  2560. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2561. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2562. CreateConstants.ATTRS_KEY: MappingValue({
  2563. StringValue('Inheritance.name'): StringValue('PlainAssignment_i_Assignment'),
  2564. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.PlainAssignment'),
  2565. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Assignment')})
  2566. }))
  2567. cl = self.mvk.create(MappingValue({
  2568. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2569. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2570. CreateConstants.ATTRS_KEY: MappingValue({
  2571. StringValue('Association.to_max'): IntegerValue(1),
  2572. StringValue('Association.from_max'): InfiniteValue('inf'),
  2573. StringValue('Association.from_port'): StringValue('from_dictargument'),
  2574. StringValue('Association.to_min'): IntegerValue(1),
  2575. StringValue('Class.name'): StringValue('dictargument_labelexpression'),
  2576. StringValue('Association.to_port'): StringValue('to_expression'),
  2577. StringValue('Class.is_abstract'): BooleanValue(False),
  2578. StringValue('Association.from_min'): IntegerValue(0),
  2579. StringValue('Class.id_field'): StringValue('dictargument_labelexpression.name'),
  2580. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.DictArgument'),
  2581. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  2582. }))
  2583. cl = self.mvk.create(MappingValue({
  2584. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2585. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.dictargument_labelexpression'),
  2586. CreateConstants.ATTRS_KEY: MappingValue({
  2587. StringValue('Attribute.name'): StringValue('name'),
  2588. StringValue('Attribute.type'): StringType()})
  2589. }))
  2590. cl = self.mvk.create(MappingValue({
  2591. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2592. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2593. CreateConstants.ATTRS_KEY: MappingValue({
  2594. StringValue('Inheritance.name'): StringValue('Argument_i_ID'),
  2595. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Argument'),
  2596. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  2597. }))
  2598. cl = self.mvk.create(MappingValue({
  2599. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2600. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2601. CreateConstants.ATTRS_KEY: MappingValue({
  2602. StringValue('Association.to_max'): IntegerValue(1),
  2603. StringValue('Association.from_max'): InfiniteValue('inf'),
  2604. StringValue('Association.from_port'): StringValue('from_absmethod'),
  2605. StringValue('Association.to_min'): IntegerValue(1),
  2606. StringValue('Class.name'): StringValue('absmethod_actionblock_body'),
  2607. StringValue('Association.to_port'): StringValue('to_actionblock'),
  2608. StringValue('Class.is_abstract'): BooleanValue(False),
  2609. StringValue('Association.from_min'): IntegerValue(0),
  2610. StringValue('Class.id_field'): StringValue('absmethod_actionblock_body.name'),
  2611. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsMethod'),
  2612. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  2613. }))
  2614. cl = self.mvk.create(MappingValue({
  2615. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2616. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.absmethod_actionblock_body'),
  2617. CreateConstants.ATTRS_KEY: MappingValue({
  2618. StringValue('Attribute.name'): StringValue('name'),
  2619. StringValue('Attribute.type'): StringType()})
  2620. }))
  2621. cl = self.mvk.create(MappingValue({
  2622. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2623. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2624. CreateConstants.ATTRS_KEY: MappingValue({
  2625. StringValue('Inheritance.name'): StringValue('And_i_Binop'),
  2626. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.And'),
  2627. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  2628. }))
  2629. cl = self.mvk.create(MappingValue({
  2630. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2631. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2632. CreateConstants.ATTRS_KEY: MappingValue({
  2633. StringValue('Association.to_max'): IntegerValue(1),
  2634. StringValue('Association.from_max'): InfiniteValue('inf'),
  2635. StringValue('Association.from_port'): StringValue('from_event'),
  2636. StringValue('Association.to_min'): IntegerValue(0),
  2637. StringValue('Class.name'): StringValue('event_parameter'),
  2638. StringValue('Association.to_port'): StringValue('to_parameter'),
  2639. StringValue('Class.is_abstract'): BooleanValue(False),
  2640. StringValue('Association.from_min'): IntegerValue(0),
  2641. StringValue('Class.id_field'): StringValue('event_parameter.name'),
  2642. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Event'),
  2643. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Parameter')})
  2644. }))
  2645. cl = self.mvk.create(MappingValue({
  2646. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2647. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.event_parameter'),
  2648. CreateConstants.ATTRS_KEY: MappingValue({
  2649. StringValue('Attribute.name'): StringValue('name'),
  2650. StringValue('Attribute.type'): StringType()})
  2651. }))
  2652. cl = self.mvk.create(MappingValue({
  2653. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2654. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2655. CreateConstants.ATTRS_KEY: MappingValue({
  2656. StringValue('Inheritance.name'): StringValue('Break_i_Statement'),
  2657. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Break'),
  2658. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  2659. }))
  2660. cl = self.mvk.create(MappingValue({
  2661. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2662. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2663. CreateConstants.ATTRS_KEY: MappingValue({
  2664. StringValue('Inheritance.name'): StringValue('Top_i_ActionBlock'),
  2665. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Top'),
  2666. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  2667. }))
  2668. cl = self.mvk.create(MappingValue({
  2669. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2670. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2671. CreateConstants.ATTRS_KEY: MappingValue({
  2672. StringValue('Association.to_max'): IntegerValue(1),
  2673. StringValue('Association.from_max'): InfiniteValue('inf'),
  2674. StringValue('Association.from_port'): StringValue('from_transition'),
  2675. StringValue('Association.to_min'): IntegerValue(0),
  2676. StringValue('Class.name'): StringValue('transition_event_trigger'),
  2677. StringValue('Association.to_port'): StringValue('to_event'),
  2678. StringValue('Class.is_abstract'): BooleanValue(False),
  2679. StringValue('Association.from_min'): IntegerValue(0),
  2680. StringValue('Class.id_field'): StringValue('transition_event_trigger.name'),
  2681. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Transition'),
  2682. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Event')})
  2683. }))
  2684. cl = self.mvk.create(MappingValue({
  2685. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2686. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.transition_event_trigger'),
  2687. CreateConstants.ATTRS_KEY: MappingValue({
  2688. StringValue('Attribute.name'): StringValue('name'),
  2689. StringValue('Attribute.type'): StringType()})
  2690. }))
  2691. cl = self.mvk.create(MappingValue({
  2692. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2693. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2694. CreateConstants.ATTRS_KEY: MappingValue({
  2695. StringValue('Association.to_max'): IntegerValue(1),
  2696. StringValue('Association.from_max'): InfiniteValue('inf'),
  2697. StringValue('Association.from_port'): StringValue('from_selfexpression'),
  2698. StringValue('Association.to_min'): IntegerValue(0),
  2699. StringValue('Class.name'): StringValue('selfexpression_dotexpression'),
  2700. StringValue('Association.to_port'): StringValue('to_dotexpression'),
  2701. StringValue('Class.is_abstract'): BooleanValue(False),
  2702. StringValue('Association.from_min'): IntegerValue(0),
  2703. StringValue('Class.id_field'): StringValue('selfexpression_dotexpression.name'),
  2704. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.SelfExpression'),
  2705. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.DotExpression')})
  2706. }))
  2707. cl = self.mvk.create(MappingValue({
  2708. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2709. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.selfexpression_dotexpression'),
  2710. CreateConstants.ATTRS_KEY: MappingValue({
  2711. StringValue('Attribute.name'): StringValue('name'),
  2712. StringValue('Attribute.type'): StringType()})
  2713. }))
  2714. cl = self.mvk.create(MappingValue({
  2715. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2716. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2717. CreateConstants.ATTRS_KEY: MappingValue({
  2718. StringValue('Association.to_max'): IntegerValue(1),
  2719. StringValue('Association.from_max'): InfiniteValue('inf'),
  2720. StringValue('Association.from_port'): StringValue('from_declaration'),
  2721. StringValue('Association.to_min'): IntegerValue(1),
  2722. StringValue('Class.name'): StringValue('declaration_navigationexpression_type'),
  2723. StringValue('Association.to_port'): StringValue('to_navigationexpression'),
  2724. StringValue('Class.is_abstract'): BooleanValue(False),
  2725. StringValue('Association.from_min'): IntegerValue(0),
  2726. StringValue('Class.id_field'): StringValue('declaration_navigationexpression_type.name'),
  2727. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Declaration'),
  2728. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.NavigationExpression')})
  2729. }))
  2730. cl = self.mvk.create(MappingValue({
  2731. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2732. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.declaration_navigationexpression_type'),
  2733. CreateConstants.ATTRS_KEY: MappingValue({
  2734. StringValue('Attribute.name'): StringValue('name'),
  2735. StringValue('Attribute.type'): StringType()})
  2736. }))
  2737. cl = self.mvk.create(MappingValue({
  2738. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2739. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2740. CreateConstants.ATTRS_KEY: MappingValue({
  2741. StringValue('Inheritance.name'): StringValue('Mod_i_Binop'),
  2742. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Mod'),
  2743. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  2744. }))
  2745. cl = self.mvk.create(MappingValue({
  2746. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2747. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2748. CreateConstants.ATTRS_KEY: MappingValue({
  2749. StringValue('Inheritance.name'): StringValue('CompositeArgument_i_ID'),
  2750. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.CompositeArgument'),
  2751. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  2752. }))
  2753. cl = self.mvk.create(MappingValue({
  2754. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  2755. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2756. CreateConstants.ATTRS_KEY: MappingValue({
  2757. StringValue('Association.to_max'): IntegerValue(1),
  2758. StringValue('Association.from_max'): InfiniteValue('inf'),
  2759. StringValue('Association.from_port'): StringValue('from_declaration'),
  2760. StringValue('Association.to_min'): IntegerValue(0),
  2761. StringValue('Class.name'): StringValue('declaration_expression_init'),
  2762. StringValue('Association.to_port'): StringValue('to_expression'),
  2763. StringValue('Class.is_abstract'): BooleanValue(False),
  2764. StringValue('Association.from_min'): IntegerValue(0),
  2765. StringValue('Class.id_field'): StringValue('declaration_expression_init.name'),
  2766. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Declaration'),
  2767. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  2768. }))
  2769. cl = self.mvk.create(MappingValue({
  2770. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2771. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.declaration_expression_init'),
  2772. CreateConstants.ATTRS_KEY: MappingValue({
  2773. StringValue('Attribute.name'): StringValue('name'),
  2774. StringValue('Attribute.type'): StringType()})
  2775. }))
  2776. cl = self.mvk.create(MappingValue({
  2777. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2778. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2779. CreateConstants.ATTRS_KEY: MappingValue({
  2780. StringValue('Inheritance.name'): StringValue('Target_i_ID'),
  2781. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Target'),
  2782. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  2783. }))
  2784. cl = self.mvk.create(MappingValue({
  2785. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  2786. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2787. CreateConstants.ATTRS_KEY: MappingValue({
  2788. StringValue('Inheritance.name'): StringValue('Aggregation_i_Relationship'),
  2789. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Aggregation'),
  2790. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Relationship')})
  2791. }))
  2792. # -*- coding: utf-8 -*-
  2793. from mvk.impl.python.constants import CreateConstants, UpdateConstants
  2794. from mvk.impl.python.datatype import TypeFactory, Type, IntegerType, StringType, \
  2795. BooleanType, FloatType
  2796. from mvk.impl.python.datavalue import MappingValue, \
  2797. LocationValue, StringValue, FloatValue, \
  2798. IntegerValue, BooleanValue, InfiniteValue, Iterator
  2799. from mvk.impl.python.object import ClabjectReference, Clabject
  2800. from mvk.mvk import MvK
  2801. class Gen():
  2802. def __init__(self):
  2803. self.mvk = MvK()
  2804. def instance(self):
  2805. cl = self.mvk.create(MappingValue({
  2806. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams'),
  2807. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms'),
  2808. CreateConstants.ATTRS_KEY: MappingValue({
  2809. StringValue('SimpleClassDiagrams.name'): StringValue('SCCD')})
  2810. }))
  2811. cl = self.mvk.create(MappingValue({
  2812. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2813. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2814. CreateConstants.ATTRS_KEY: MappingValue({
  2815. StringValue('Attribute.name'): StringValue('author'),
  2816. StringValue('Attribute.type'): StringType()})
  2817. }))
  2818. cl = self.mvk.create(MappingValue({
  2819. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2820. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2821. CreateConstants.ATTRS_KEY: MappingValue({
  2822. StringValue('Attribute.name'): StringValue('description'),
  2823. StringValue('Attribute.type'): StringType()})
  2824. }))
  2825. cl = self.mvk.create(MappingValue({
  2826. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2827. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2828. CreateConstants.ATTRS_KEY: MappingValue({
  2829. StringValue('Attribute.name'): StringValue('name'),
  2830. StringValue('Attribute.type'): StringType(),
  2831. StringValue('Attribute.default'): StringValue('')})
  2832. }))
  2833. cl = self.mvk.create(MappingValue({
  2834. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2835. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2836. CreateConstants.ATTRS_KEY: MappingValue({
  2837. StringValue('Class.is_abstract'): BooleanValue(False),
  2838. StringValue('Class.name'): StringValue('MethodCallStm')})
  2839. }))
  2840. cl = self.mvk.create(MappingValue({
  2841. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2842. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2843. CreateConstants.ATTRS_KEY: MappingValue({
  2844. StringValue('Class.is_abstract'): BooleanValue(False),
  2845. StringValue('Class.name'): StringValue('Not')})
  2846. }))
  2847. cl = self.mvk.create(MappingValue({
  2848. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2849. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2850. CreateConstants.ATTRS_KEY: MappingValue({
  2851. StringValue('Class.is_abstract'): BooleanValue(False),
  2852. StringValue('Class.name'): StringValue('Mod')})
  2853. }))
  2854. cl = self.mvk.create(MappingValue({
  2855. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2856. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2857. CreateConstants.ATTRS_KEY: MappingValue({
  2858. StringValue('Class.is_abstract'): BooleanValue(False),
  2859. StringValue('Class.name'): StringValue('While')})
  2860. }))
  2861. cl = self.mvk.create(MappingValue({
  2862. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2863. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2864. CreateConstants.ATTRS_KEY: MappingValue({
  2865. StringValue('Class.is_abstract'): BooleanValue(False),
  2866. StringValue('Class.name'): StringValue('GEThan')})
  2867. }))
  2868. cl = self.mvk.create(MappingValue({
  2869. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2870. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2871. CreateConstants.ATTRS_KEY: MappingValue({
  2872. StringValue('Class.is_abstract'): BooleanValue(False),
  2873. StringValue('Class.name'): StringValue('Inheritance')})
  2874. }))
  2875. cl = self.mvk.create(MappingValue({
  2876. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2877. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Inheritance'),
  2878. CreateConstants.ATTRS_KEY: MappingValue({
  2879. StringValue('Attribute.name'): StringValue('priority'),
  2880. StringValue('Attribute.type'): IntegerType()})
  2881. }))
  2882. cl = self.mvk.create(MappingValue({
  2883. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2884. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2885. CreateConstants.ATTRS_KEY: MappingValue({
  2886. StringValue('Class.is_abstract'): BooleanValue(False),
  2887. StringValue('Class.name'): StringValue('State')})
  2888. }))
  2889. cl = self.mvk.create(MappingValue({
  2890. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2891. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2892. CreateConstants.ATTRS_KEY: MappingValue({
  2893. StringValue('Class.is_abstract'): BooleanValue(False),
  2894. StringValue('Class.name'): StringValue('DictArgument')})
  2895. }))
  2896. cl = self.mvk.create(MappingValue({
  2897. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2898. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2899. CreateConstants.ATTRS_KEY: MappingValue({
  2900. StringValue('Class.is_abstract'): BooleanValue(True),
  2901. StringValue('Class.name'): StringValue('AbsMethod')})
  2902. }))
  2903. cl = self.mvk.create(MappingValue({
  2904. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2905. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2906. CreateConstants.ATTRS_KEY: MappingValue({
  2907. StringValue('Class.is_abstract'): BooleanValue(False),
  2908. StringValue('Class.name'): StringValue('Target')})
  2909. }))
  2910. cl = self.mvk.create(MappingValue({
  2911. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2912. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2913. CreateConstants.ATTRS_KEY: MappingValue({
  2914. StringValue('Class.is_abstract'): BooleanValue(False),
  2915. StringValue('Class.name'): StringValue('ActionBlock')})
  2916. }))
  2917. cl = self.mvk.create(MappingValue({
  2918. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2919. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2920. CreateConstants.ATTRS_KEY: MappingValue({
  2921. StringValue('Class.is_abstract'): BooleanValue(False),
  2922. StringValue('Class.name'): StringValue('Selection')})
  2923. }))
  2924. cl = self.mvk.create(MappingValue({
  2925. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2926. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2927. CreateConstants.ATTRS_KEY: MappingValue({
  2928. StringValue('Class.is_abstract'): BooleanValue(True),
  2929. StringValue('Class.name'): StringValue('AtomValue')})
  2930. }))
  2931. cl = self.mvk.create(MappingValue({
  2932. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2933. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2934. CreateConstants.ATTRS_KEY: MappingValue({
  2935. StringValue('Class.is_abstract'): BooleanValue(False),
  2936. StringValue('Class.name'): StringValue('Top')})
  2937. }))
  2938. cl = self.mvk.create(MappingValue({
  2939. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2940. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2941. CreateConstants.ATTRS_KEY: MappingValue({
  2942. StringValue('Class.is_abstract'): BooleanValue(False),
  2943. StringValue('Class.name'): StringValue('Parenthesis')})
  2944. }))
  2945. cl = self.mvk.create(MappingValue({
  2946. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2947. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2948. CreateConstants.ATTRS_KEY: MappingValue({
  2949. StringValue('Class.is_abstract'): BooleanValue(False),
  2950. StringValue('Class.name'): StringValue('Import')})
  2951. }))
  2952. cl = self.mvk.create(MappingValue({
  2953. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2954. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Import'),
  2955. CreateConstants.ATTRS_KEY: MappingValue({
  2956. StringValue('Attribute.name'): StringValue('as'),
  2957. StringValue('Attribute.type'): StringType()})
  2958. }))
  2959. cl = self.mvk.create(MappingValue({
  2960. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2961. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Import'),
  2962. CreateConstants.ATTRS_KEY: MappingValue({
  2963. StringValue('Attribute.name'): StringValue('from'),
  2964. StringValue('Attribute.type'): StringType()})
  2965. }))
  2966. cl = self.mvk.create(MappingValue({
  2967. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2968. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Import'),
  2969. CreateConstants.ATTRS_KEY: MappingValue({
  2970. StringValue('Attribute.name'): StringValue('location'),
  2971. StringValue('Attribute.type'): StringType()})
  2972. }))
  2973. cl = self.mvk.create(MappingValue({
  2974. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2975. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2976. CreateConstants.ATTRS_KEY: MappingValue({
  2977. StringValue('Class.is_abstract'): BooleanValue(False),
  2978. StringValue('Class.name'): StringValue('Method')})
  2979. }))
  2980. cl = self.mvk.create(MappingValue({
  2981. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2982. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Method'),
  2983. CreateConstants.ATTRS_KEY: MappingValue({
  2984. StringValue('Attribute.name'): StringValue('returnType'),
  2985. StringValue('Attribute.type'): StringType()})
  2986. }))
  2987. cl = self.mvk.create(MappingValue({
  2988. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  2989. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Method'),
  2990. CreateConstants.ATTRS_KEY: MappingValue({
  2991. StringValue('Attribute.name'): StringValue('name'),
  2992. StringValue('Attribute.type'): StringType()})
  2993. }))
  2994. cl = self.mvk.create(MappingValue({
  2995. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  2996. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  2997. CreateConstants.ATTRS_KEY: MappingValue({
  2998. StringValue('Class.is_abstract'): BooleanValue(False),
  2999. StringValue('Class.name'): StringValue('StateMachine')})
  3000. }))
  3001. cl = self.mvk.create(MappingValue({
  3002. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3003. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3004. CreateConstants.ATTRS_KEY: MappingValue({
  3005. StringValue('Class.is_abstract'): BooleanValue(True),
  3006. StringValue('Class.name'): StringValue('AbsNavigationExpression')})
  3007. }))
  3008. cl = self.mvk.create(MappingValue({
  3009. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3010. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3011. CreateConstants.ATTRS_KEY: MappingValue({
  3012. StringValue('Class.is_abstract'): BooleanValue(False),
  3013. StringValue('Class.name'): StringValue('Composition')})
  3014. }))
  3015. cl = self.mvk.create(MappingValue({
  3016. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3017. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3018. CreateConstants.ATTRS_KEY: MappingValue({
  3019. StringValue('Class.is_abstract'): BooleanValue(False),
  3020. StringValue('Class.name'): StringValue('OrthogonalComponent')})
  3021. }))
  3022. cl = self.mvk.create(MappingValue({
  3023. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3024. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3025. CreateConstants.ATTRS_KEY: MappingValue({
  3026. StringValue('Class.is_abstract'): BooleanValue(True),
  3027. StringValue('Class.name'): StringValue('Expression')})
  3028. }))
  3029. cl = self.mvk.create(MappingValue({
  3030. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3031. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3032. CreateConstants.ATTRS_KEY: MappingValue({
  3033. StringValue('Class.is_abstract'): BooleanValue(False),
  3034. StringValue('Class.name'): StringValue('DotExpression')})
  3035. }))
  3036. cl = self.mvk.create(MappingValue({
  3037. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3038. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.DotExpression'),
  3039. CreateConstants.ATTRS_KEY: MappingValue({
  3040. StringValue('Attribute.name'): StringValue('path'),
  3041. StringValue('Attribute.type'): StringType()})
  3042. }))
  3043. cl = self.mvk.create(MappingValue({
  3044. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3045. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3046. CreateConstants.ATTRS_KEY: MappingValue({
  3047. StringValue('Class.is_abstract'): BooleanValue(False),
  3048. StringValue('Class.name'): StringValue('And')})
  3049. }))
  3050. cl = self.mvk.create(MappingValue({
  3051. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3052. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3053. CreateConstants.ATTRS_KEY: MappingValue({
  3054. StringValue('Class.is_abstract'): BooleanValue(False),
  3055. StringValue('Class.name'): StringValue('Dict')})
  3056. }))
  3057. cl = self.mvk.create(MappingValue({
  3058. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3059. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3060. CreateConstants.ATTRS_KEY: MappingValue({
  3061. StringValue('Class.is_abstract'): BooleanValue(True),
  3062. StringValue('Class.name'): StringValue('AbsState')})
  3063. }))
  3064. cl = self.mvk.create(MappingValue({
  3065. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3066. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.AbsState'),
  3067. CreateConstants.ATTRS_KEY: MappingValue({
  3068. StringValue('Attribute.name'): StringValue('name'),
  3069. StringValue('Attribute.type'): StringType()})
  3070. }))
  3071. cl = self.mvk.create(MappingValue({
  3072. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3073. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3074. CreateConstants.ATTRS_KEY: MappingValue({
  3075. StringValue('Class.is_abstract'): BooleanValue(False),
  3076. StringValue('Class.name'): StringValue('IfElse')})
  3077. }))
  3078. cl = self.mvk.create(MappingValue({
  3079. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3080. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3081. CreateConstants.ATTRS_KEY: MappingValue({
  3082. StringValue('Class.is_abstract'): BooleanValue(True),
  3083. StringValue('Class.name'): StringValue('AbsMethodCall')})
  3084. }))
  3085. cl = self.mvk.create(MappingValue({
  3086. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3087. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.AbsMethodCall'),
  3088. CreateConstants.ATTRS_KEY: MappingValue({
  3089. StringValue('Attribute.name'): StringValue('name'),
  3090. StringValue('Attribute.type'): StringType()})
  3091. }))
  3092. cl = self.mvk.create(MappingValue({
  3093. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3094. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3095. CreateConstants.ATTRS_KEY: MappingValue({
  3096. StringValue('Class.is_abstract'): BooleanValue(False),
  3097. StringValue('Class.name'): StringValue('Continue')})
  3098. }))
  3099. cl = self.mvk.create(MappingValue({
  3100. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3101. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3102. CreateConstants.ATTRS_KEY: MappingValue({
  3103. StringValue('Class.is_abstract'): BooleanValue(False),
  3104. StringValue('Class.name'): StringValue('Return')})
  3105. }))
  3106. cl = self.mvk.create(MappingValue({
  3107. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3108. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3109. CreateConstants.ATTRS_KEY: MappingValue({
  3110. StringValue('Class.is_abstract'): BooleanValue(True),
  3111. StringValue('Class.name'): StringValue('ID'),
  3112. StringValue('Class.id_field'): StringValue('ID.id')})
  3113. }))
  3114. cl = self.mvk.create(MappingValue({
  3115. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3116. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.ID'),
  3117. CreateConstants.ATTRS_KEY: MappingValue({
  3118. StringValue('Attribute.name'): StringValue('id'),
  3119. StringValue('Attribute.type'): StringType()})
  3120. }))
  3121. cl = self.mvk.create(MappingValue({
  3122. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3123. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3124. CreateConstants.ATTRS_KEY: MappingValue({
  3125. StringValue('Class.is_abstract'): BooleanValue(True),
  3126. StringValue('Class.name'): StringValue('Named'),
  3127. StringValue('Class.id_field'): StringValue('Named.name')})
  3128. }))
  3129. cl = self.mvk.create(MappingValue({
  3130. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3131. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Named'),
  3132. CreateConstants.ATTRS_KEY: MappingValue({
  3133. StringValue('Attribute.name'): StringValue('name'),
  3134. StringValue('Attribute.type'): StringType()})
  3135. }))
  3136. cl = self.mvk.create(MappingValue({
  3137. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3138. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3139. CreateConstants.ATTRS_KEY: MappingValue({
  3140. StringValue('Class.is_abstract'): BooleanValue(False),
  3141. StringValue('Class.name'): StringValue('Guard')})
  3142. }))
  3143. cl = self.mvk.create(MappingValue({
  3144. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3145. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3146. CreateConstants.ATTRS_KEY: MappingValue({
  3147. StringValue('Class.is_abstract'): BooleanValue(False),
  3148. StringValue('Class.name'): StringValue('Raise')})
  3149. }))
  3150. cl = self.mvk.create(MappingValue({
  3151. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3152. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3153. CreateConstants.ATTRS_KEY: MappingValue({
  3154. StringValue('Class.is_abstract'): BooleanValue(False),
  3155. StringValue('Class.name'): StringValue('Bottom')})
  3156. }))
  3157. cl = self.mvk.create(MappingValue({
  3158. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3159. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3160. CreateConstants.ATTRS_KEY: MappingValue({
  3161. StringValue('Class.is_abstract'): BooleanValue(True),
  3162. StringValue('Class.name'): StringValue('Statement')})
  3163. }))
  3164. cl = self.mvk.create(MappingValue({
  3165. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3166. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3167. CreateConstants.ATTRS_KEY: MappingValue({
  3168. StringValue('Class.is_abstract'): BooleanValue(False),
  3169. StringValue('Class.name'): StringValue('Scope')})
  3170. }))
  3171. cl = self.mvk.create(MappingValue({
  3172. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3173. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3174. CreateConstants.ATTRS_KEY: MappingValue({
  3175. StringValue('Class.is_abstract'): BooleanValue(False),
  3176. StringValue('Class.name'): StringValue('MethodCall')})
  3177. }))
  3178. cl = self.mvk.create(MappingValue({
  3179. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3180. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3181. CreateConstants.ATTRS_KEY: MappingValue({
  3182. StringValue('Class.is_abstract'): BooleanValue(True),
  3183. StringValue('Class.name'): StringValue('Assignment')})
  3184. }))
  3185. cl = self.mvk.create(MappingValue({
  3186. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3187. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3188. CreateConstants.ATTRS_KEY: MappingValue({
  3189. StringValue('Class.is_abstract'): BooleanValue(False),
  3190. StringValue('Class.name'): StringValue('Or')})
  3191. }))
  3192. cl = self.mvk.create(MappingValue({
  3193. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3194. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3195. CreateConstants.ATTRS_KEY: MappingValue({
  3196. StringValue('Class.is_abstract'): BooleanValue(False),
  3197. StringValue('Class.name'): StringValue('LThan')})
  3198. }))
  3199. cl = self.mvk.create(MappingValue({
  3200. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3201. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3202. CreateConstants.ATTRS_KEY: MappingValue({
  3203. StringValue('Class.is_abstract'): BooleanValue(False),
  3204. StringValue('Class.name'): StringValue('LEThan')})
  3205. }))
  3206. cl = self.mvk.create(MappingValue({
  3207. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3208. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3209. CreateConstants.ATTRS_KEY: MappingValue({
  3210. StringValue('Class.is_abstract'): BooleanValue(False),
  3211. StringValue('Class.name'): StringValue('BooleanValue')})
  3212. }))
  3213. cl = self.mvk.create(MappingValue({
  3214. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3215. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.BooleanValue'),
  3216. CreateConstants.ATTRS_KEY: MappingValue({
  3217. StringValue('Attribute.name'): StringValue('value'),
  3218. StringValue('Attribute.type'): BooleanType()})
  3219. }))
  3220. cl = self.mvk.create(MappingValue({
  3221. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3222. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3223. CreateConstants.ATTRS_KEY: MappingValue({
  3224. StringValue('Class.is_abstract'): BooleanValue(False),
  3225. StringValue('Class.name'): StringValue('Mult')})
  3226. }))
  3227. cl = self.mvk.create(MappingValue({
  3228. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3229. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3230. CreateConstants.ATTRS_KEY: MappingValue({
  3231. StringValue('Class.is_abstract'): BooleanValue(False),
  3232. StringValue('Class.name'): StringValue('RegularArgument')})
  3233. }))
  3234. cl = self.mvk.create(MappingValue({
  3235. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3236. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3237. CreateConstants.ATTRS_KEY: MappingValue({
  3238. StringValue('Class.is_abstract'): BooleanValue(False),
  3239. StringValue('Class.name'): StringValue('GThan')})
  3240. }))
  3241. cl = self.mvk.create(MappingValue({
  3242. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3243. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3244. CreateConstants.ATTRS_KEY: MappingValue({
  3245. StringValue('Class.is_abstract'): BooleanValue(False),
  3246. StringValue('Class.name'): StringValue('Div')})
  3247. }))
  3248. cl = self.mvk.create(MappingValue({
  3249. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3250. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3251. CreateConstants.ATTRS_KEY: MappingValue({
  3252. StringValue('Class.is_abstract'): BooleanValue(False),
  3253. StringValue('Class.name'): StringValue('Minus')})
  3254. }))
  3255. cl = self.mvk.create(MappingValue({
  3256. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3257. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3258. CreateConstants.ATTRS_KEY: MappingValue({
  3259. StringValue('Class.is_abstract'): BooleanValue(False),
  3260. StringValue('Class.name'): StringValue('InPort')})
  3261. }))
  3262. cl = self.mvk.create(MappingValue({
  3263. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3264. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3265. CreateConstants.ATTRS_KEY: MappingValue({
  3266. StringValue('Class.is_abstract'): BooleanValue(True),
  3267. StringValue('Class.name'): StringValue('CompositeArgument')})
  3268. }))
  3269. cl = self.mvk.create(MappingValue({
  3270. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3271. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3272. CreateConstants.ATTRS_KEY: MappingValue({
  3273. StringValue('Class.is_abstract'): BooleanValue(False),
  3274. StringValue('Class.name'): StringValue('FinalState')})
  3275. }))
  3276. cl = self.mvk.create(MappingValue({
  3277. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3278. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3279. CreateConstants.ATTRS_KEY: MappingValue({
  3280. StringValue('Class.is_abstract'): BooleanValue(False),
  3281. StringValue('Class.name'): StringValue('PlainAssignment')})
  3282. }))
  3283. cl = self.mvk.create(MappingValue({
  3284. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3285. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3286. CreateConstants.ATTRS_KEY: MappingValue({
  3287. StringValue('Class.is_abstract'): BooleanValue(False),
  3288. StringValue('Class.name'): StringValue('StringValue')})
  3289. }))
  3290. cl = self.mvk.create(MappingValue({
  3291. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3292. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.StringValue'),
  3293. CreateConstants.ATTRS_KEY: MappingValue({
  3294. StringValue('Attribute.name'): StringValue('value'),
  3295. StringValue('Attribute.type'): StringType()})
  3296. }))
  3297. cl = self.mvk.create(MappingValue({
  3298. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3299. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3300. CreateConstants.ATTRS_KEY: MappingValue({
  3301. StringValue('Class.is_abstract'): BooleanValue(False),
  3302. StringValue('Class.name'): StringValue('Event')})
  3303. }))
  3304. cl = self.mvk.create(MappingValue({
  3305. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3306. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Event'),
  3307. CreateConstants.ATTRS_KEY: MappingValue({
  3308. StringValue('Attribute.name'): StringValue('name'),
  3309. StringValue('Attribute.type'): StringType()})
  3310. }))
  3311. cl = self.mvk.create(MappingValue({
  3312. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3313. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3314. CreateConstants.ATTRS_KEY: MappingValue({
  3315. StringValue('Class.is_abstract'): BooleanValue(False),
  3316. StringValue('Class.name'): StringValue('FloatValue')})
  3317. }))
  3318. cl = self.mvk.create(MappingValue({
  3319. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3320. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.FloatValue'),
  3321. CreateConstants.ATTRS_KEY: MappingValue({
  3322. StringValue('Attribute.name'): StringValue('value'),
  3323. StringValue('Attribute.type'): FloatType()})
  3324. }))
  3325. cl = self.mvk.create(MappingValue({
  3326. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3327. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3328. CreateConstants.ATTRS_KEY: MappingValue({
  3329. StringValue('Class.is_abstract'): BooleanValue(False),
  3330. StringValue('Class.name'): StringValue('OnExit')})
  3331. }))
  3332. cl = self.mvk.create(MappingValue({
  3333. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3334. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3335. CreateConstants.ATTRS_KEY: MappingValue({
  3336. StringValue('Class.is_abstract'): BooleanValue(False),
  3337. StringValue('Class.name'): StringValue('Destructor')})
  3338. }))
  3339. cl = self.mvk.create(MappingValue({
  3340. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3341. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3342. CreateConstants.ATTRS_KEY: MappingValue({
  3343. StringValue('Class.is_abstract'): BooleanValue(False),
  3344. StringValue('Class.name'): StringValue('Parameter')})
  3345. }))
  3346. cl = self.mvk.create(MappingValue({
  3347. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3348. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Parameter'),
  3349. CreateConstants.ATTRS_KEY: MappingValue({
  3350. StringValue('Attribute.name'): StringValue('default'),
  3351. StringValue('Attribute.type'): StringType()})
  3352. }))
  3353. cl = self.mvk.create(MappingValue({
  3354. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3355. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Parameter'),
  3356. CreateConstants.ATTRS_KEY: MappingValue({
  3357. StringValue('Attribute.name'): StringValue('name'),
  3358. StringValue('Attribute.type'): StringType()})
  3359. }))
  3360. cl = self.mvk.create(MappingValue({
  3361. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3362. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3363. CreateConstants.ATTRS_KEY: MappingValue({
  3364. StringValue('Class.is_abstract'): BooleanValue(False),
  3365. StringValue('Class.name'): StringValue('OnEnter')})
  3366. }))
  3367. cl = self.mvk.create(MappingValue({
  3368. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3369. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3370. CreateConstants.ATTRS_KEY: MappingValue({
  3371. StringValue('Class.is_abstract'): BooleanValue(True),
  3372. StringValue('Class.name'): StringValue('Relationship')})
  3373. }))
  3374. cl = self.mvk.create(MappingValue({
  3375. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3376. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Relationship'),
  3377. CreateConstants.ATTRS_KEY: MappingValue({
  3378. StringValue('Attribute.name'): StringValue('max'),
  3379. StringValue('Attribute.type'): IntegerType()})
  3380. }))
  3381. cl = self.mvk.create(MappingValue({
  3382. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3383. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Relationship'),
  3384. CreateConstants.ATTRS_KEY: MappingValue({
  3385. StringValue('Attribute.name'): StringValue('class'),
  3386. StringValue('Attribute.type'): StringType()})
  3387. }))
  3388. cl = self.mvk.create(MappingValue({
  3389. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3390. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Relationship'),
  3391. CreateConstants.ATTRS_KEY: MappingValue({
  3392. StringValue('Attribute.name'): StringValue('min'),
  3393. StringValue('Attribute.type'): IntegerType()})
  3394. }))
  3395. cl = self.mvk.create(MappingValue({
  3396. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3397. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3398. CreateConstants.ATTRS_KEY: MappingValue({
  3399. StringValue('Class.is_abstract'): BooleanValue(False),
  3400. StringValue('Class.name'): StringValue('Class')})
  3401. }))
  3402. cl = self.mvk.create(MappingValue({
  3403. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3404. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Class'),
  3405. CreateConstants.ATTRS_KEY: MappingValue({
  3406. StringValue('Attribute.name'): StringValue('default'),
  3407. StringValue('Attribute.type'): BooleanType()})
  3408. }))
  3409. cl = self.mvk.create(MappingValue({
  3410. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3411. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3412. CreateConstants.ATTRS_KEY: MappingValue({
  3413. StringValue('Class.is_abstract'): BooleanValue(False),
  3414. StringValue('Class.name'): StringValue('Tuple')})
  3415. }))
  3416. cl = self.mvk.create(MappingValue({
  3417. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3418. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3419. CreateConstants.ATTRS_KEY: MappingValue({
  3420. StringValue('Class.is_abstract'): BooleanValue(False),
  3421. StringValue('Class.name'): StringValue('Argument')})
  3422. }))
  3423. cl = self.mvk.create(MappingValue({
  3424. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3425. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Argument'),
  3426. CreateConstants.ATTRS_KEY: MappingValue({
  3427. StringValue('Attribute.name'): StringValue('name'),
  3428. StringValue('Attribute.type'): StringType()})
  3429. }))
  3430. cl = self.mvk.create(MappingValue({
  3431. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3432. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3433. CreateConstants.ATTRS_KEY: MappingValue({
  3434. StringValue('Class.is_abstract'): BooleanValue(True),
  3435. StringValue('Class.name'): StringValue('Composite')})
  3436. }))
  3437. cl = self.mvk.create(MappingValue({
  3438. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3439. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3440. CreateConstants.ATTRS_KEY: MappingValue({
  3441. StringValue('Class.is_abstract'): BooleanValue(False),
  3442. StringValue('Class.name'): StringValue('Add')})
  3443. }))
  3444. cl = self.mvk.create(MappingValue({
  3445. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3446. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3447. CreateConstants.ATTRS_KEY: MappingValue({
  3448. StringValue('Class.is_abstract'): BooleanValue(False),
  3449. StringValue('Class.name'): StringValue('IntegerValue')})
  3450. }))
  3451. cl = self.mvk.create(MappingValue({
  3452. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3453. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.IntegerValue'),
  3454. CreateConstants.ATTRS_KEY: MappingValue({
  3455. StringValue('Attribute.name'): StringValue('value'),
  3456. StringValue('Attribute.type'): IntegerType()})
  3457. }))
  3458. cl = self.mvk.create(MappingValue({
  3459. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3460. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3461. CreateConstants.ATTRS_KEY: MappingValue({
  3462. StringValue('Class.is_abstract'): BooleanValue(False),
  3463. StringValue('Class.name'): StringValue('NavigationExpression')})
  3464. }))
  3465. cl = self.mvk.create(MappingValue({
  3466. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3467. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3468. CreateConstants.ATTRS_KEY: MappingValue({
  3469. StringValue('Class.is_abstract'): BooleanValue(True),
  3470. StringValue('Class.name'): StringValue('Binop')})
  3471. }))
  3472. cl = self.mvk.create(MappingValue({
  3473. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3474. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3475. CreateConstants.ATTRS_KEY: MappingValue({
  3476. StringValue('Class.is_abstract'): BooleanValue(False),
  3477. StringValue('Class.name'): StringValue('Aggregation')})
  3478. }))
  3479. cl = self.mvk.create(MappingValue({
  3480. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3481. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3482. CreateConstants.ATTRS_KEY: MappingValue({
  3483. StringValue('Class.is_abstract'): BooleanValue(False),
  3484. StringValue('Class.name'): StringValue('Break')})
  3485. }))
  3486. cl = self.mvk.create(MappingValue({
  3487. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3488. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3489. CreateConstants.ATTRS_KEY: MappingValue({
  3490. StringValue('Class.is_abstract'): BooleanValue(False),
  3491. StringValue('Class.name'): StringValue('Association')})
  3492. }))
  3493. cl = self.mvk.create(MappingValue({
  3494. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3495. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Association'),
  3496. CreateConstants.ATTRS_KEY: MappingValue({
  3497. StringValue('Attribute.name'): StringValue('name'),
  3498. StringValue('Attribute.type'): StringType()})
  3499. }))
  3500. cl = self.mvk.create(MappingValue({
  3501. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3502. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3503. CreateConstants.ATTRS_KEY: MappingValue({
  3504. StringValue('Class.is_abstract'): BooleanValue(False),
  3505. StringValue('Class.name'): StringValue('Declaration')})
  3506. }))
  3507. cl = self.mvk.create(MappingValue({
  3508. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3509. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Declaration'),
  3510. CreateConstants.ATTRS_KEY: MappingValue({
  3511. StringValue('Attribute.name'): StringValue('name'),
  3512. StringValue('Attribute.type'): StringType()})
  3513. }))
  3514. cl = self.mvk.create(MappingValue({
  3515. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3516. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3517. CreateConstants.ATTRS_KEY: MappingValue({
  3518. StringValue('Class.is_abstract'): BooleanValue(False),
  3519. StringValue('Class.name'): StringValue('NEqual')})
  3520. }))
  3521. cl = self.mvk.create(MappingValue({
  3522. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3523. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3524. CreateConstants.ATTRS_KEY: MappingValue({
  3525. StringValue('Class.is_abstract'): BooleanValue(False),
  3526. StringValue('Class.name'): StringValue('MinusAssignment')})
  3527. }))
  3528. cl = self.mvk.create(MappingValue({
  3529. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3530. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3531. CreateConstants.ATTRS_KEY: MappingValue({
  3532. StringValue('Class.is_abstract'): BooleanValue(True),
  3533. StringValue('Class.name'): StringValue('PseudoState')})
  3534. }))
  3535. cl = self.mvk.create(MappingValue({
  3536. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3537. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.PseudoState'),
  3538. CreateConstants.ATTRS_KEY: MappingValue({
  3539. StringValue('Attribute.name'): StringValue('name'),
  3540. StringValue('Attribute.type'): StringType()})
  3541. }))
  3542. cl = self.mvk.create(MappingValue({
  3543. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3544. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3545. CreateConstants.ATTRS_KEY: MappingValue({
  3546. StringValue('Class.is_abstract'): BooleanValue(False),
  3547. StringValue('Class.name'): StringValue('Attribute')})
  3548. }))
  3549. cl = self.mvk.create(MappingValue({
  3550. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3551. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Attribute'),
  3552. CreateConstants.ATTRS_KEY: MappingValue({
  3553. StringValue('Attribute.name'): StringValue('default'),
  3554. StringValue('Attribute.type'): StringType()})
  3555. }))
  3556. cl = self.mvk.create(MappingValue({
  3557. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3558. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Attribute'),
  3559. CreateConstants.ATTRS_KEY: MappingValue({
  3560. StringValue('Attribute.name'): StringValue('type'),
  3561. StringValue('Attribute.type'): StringType()})
  3562. }))
  3563. cl = self.mvk.create(MappingValue({
  3564. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3565. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3566. CreateConstants.ATTRS_KEY: MappingValue({
  3567. StringValue('Class.is_abstract'): BooleanValue(False),
  3568. StringValue('Class.name'): StringValue('Subtract')})
  3569. }))
  3570. cl = self.mvk.create(MappingValue({
  3571. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3572. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3573. CreateConstants.ATTRS_KEY: MappingValue({
  3574. StringValue('Class.is_abstract'): BooleanValue(False),
  3575. StringValue('Class.name'): StringValue('SelfExpression')})
  3576. }))
  3577. cl = self.mvk.create(MappingValue({
  3578. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3579. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3580. CreateConstants.ATTRS_KEY: MappingValue({
  3581. StringValue('Class.is_abstract'): BooleanValue(False),
  3582. StringValue('Class.name'): StringValue('PlusAssignment')})
  3583. }))
  3584. cl = self.mvk.create(MappingValue({
  3585. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3586. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3587. CreateConstants.ATTRS_KEY: MappingValue({
  3588. StringValue('Class.is_abstract'): BooleanValue(False),
  3589. StringValue('Class.name'): StringValue('HistoryState')})
  3590. }))
  3591. cl = self.mvk.create(MappingValue({
  3592. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3593. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.HistoryState'),
  3594. CreateConstants.ATTRS_KEY: MappingValue({
  3595. StringValue('Attribute.name'): StringValue('isDeepHistory'),
  3596. StringValue('Attribute.type'): BooleanType()})
  3597. }))
  3598. cl = self.mvk.create(MappingValue({
  3599. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3600. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3601. CreateConstants.ATTRS_KEY: MappingValue({
  3602. StringValue('Class.is_abstract'): BooleanValue(False),
  3603. StringValue('Class.name'): StringValue('Transition')})
  3604. }))
  3605. cl = self.mvk.create(MappingValue({
  3606. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3607. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Transition'),
  3608. CreateConstants.ATTRS_KEY: MappingValue({
  3609. StringValue('Attribute.name'): StringValue('default'),
  3610. StringValue('Attribute.type'): BooleanType()})
  3611. }))
  3612. cl = self.mvk.create(MappingValue({
  3613. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3614. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Transition'),
  3615. CreateConstants.ATTRS_KEY: MappingValue({
  3616. StringValue('Attribute.name'): StringValue('after'),
  3617. StringValue('Attribute.type'): FloatType()})
  3618. }))
  3619. cl = self.mvk.create(MappingValue({
  3620. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3621. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.Transition'),
  3622. CreateConstants.ATTRS_KEY: MappingValue({
  3623. StringValue('Attribute.name'): StringValue('target'),
  3624. StringValue('Attribute.type'): StringType()})
  3625. }))
  3626. cl = self.mvk.create(MappingValue({
  3627. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3628. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3629. CreateConstants.ATTRS_KEY: MappingValue({
  3630. StringValue('Class.is_abstract'): BooleanValue(False),
  3631. StringValue('Class.name'): StringValue('Equal')})
  3632. }))
  3633. cl = self.mvk.create(MappingValue({
  3634. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3635. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3636. CreateConstants.ATTRS_KEY: MappingValue({
  3637. StringValue('Class.is_abstract'): BooleanValue(False),
  3638. StringValue('Class.name'): StringValue('Constructor')})
  3639. }))
  3640. cl = self.mvk.create(MappingValue({
  3641. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3642. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3643. CreateConstants.ATTRS_KEY: MappingValue({
  3644. StringValue('Class.is_abstract'): BooleanValue(True),
  3645. StringValue('Class.name'): StringValue('Unop')})
  3646. }))
  3647. cl = self.mvk.create(MappingValue({
  3648. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3649. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3650. CreateConstants.ATTRS_KEY: MappingValue({
  3651. StringValue('Class.is_abstract'): BooleanValue(False),
  3652. StringValue('Class.name'): StringValue('InitialState')})
  3653. }))
  3654. cl = self.mvk.create(MappingValue({
  3655. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Class'),
  3656. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3657. CreateConstants.ATTRS_KEY: MappingValue({
  3658. StringValue('Class.is_abstract'): BooleanValue(False),
  3659. StringValue('Class.name'): StringValue('Array')})
  3660. }))
  3661. cl = self.mvk.create(MappingValue({
  3662. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3663. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3664. CreateConstants.ATTRS_KEY: MappingValue({
  3665. StringValue('Inheritance.name'): StringValue('MethodCall_i_AbsMethodCall'),
  3666. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.MethodCall'),
  3667. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsMethodCall')})
  3668. }))
  3669. cl = self.mvk.create(MappingValue({
  3670. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3671. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3672. CreateConstants.ATTRS_KEY: MappingValue({
  3673. StringValue('Inheritance.name'): StringValue('Not_i_Unop'),
  3674. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Not'),
  3675. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Unop')})
  3676. }))
  3677. cl = self.mvk.create(MappingValue({
  3678. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  3679. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3680. CreateConstants.ATTRS_KEY: MappingValue({
  3681. StringValue('Association.to_max'): IntegerValue(1),
  3682. StringValue('Association.from_max'): InfiniteValue('inf'),
  3683. StringValue('Association.from_port'): StringValue('from_statement'),
  3684. StringValue('Association.to_min'): IntegerValue(0),
  3685. StringValue('Class.name'): StringValue('statement_statement_next'),
  3686. StringValue('Association.to_port'): StringValue('to_statement'),
  3687. StringValue('Class.is_abstract'): BooleanValue(False),
  3688. StringValue('Association.from_min'): IntegerValue(0),
  3689. StringValue('Class.id_field'): StringValue('statement_statement_next.name'),
  3690. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Statement'),
  3691. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  3692. }))
  3693. cl = self.mvk.create(MappingValue({
  3694. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3695. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.statement_statement_next'),
  3696. CreateConstants.ATTRS_KEY: MappingValue({
  3697. StringValue('Attribute.name'): StringValue('name'),
  3698. StringValue('Attribute.type'): StringType()})
  3699. }))
  3700. cl = self.mvk.create(MappingValue({
  3701. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3702. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3703. CreateConstants.ATTRS_KEY: MappingValue({
  3704. StringValue('Inheritance.name'): StringValue('While_i_Statement'),
  3705. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.While'),
  3706. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  3707. }))
  3708. cl = self.mvk.create(MappingValue({
  3709. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  3710. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3711. CreateConstants.ATTRS_KEY: MappingValue({
  3712. StringValue('Association.to_max'): InfiniteValue('inf'),
  3713. StringValue('Association.from_max'): InfiniteValue('inf'),
  3714. StringValue('Association.from_port'): StringValue('from_absstate'),
  3715. StringValue('Association.to_min'): IntegerValue(0),
  3716. StringValue('Class.name'): StringValue('absstate_pseudostate'),
  3717. StringValue('Association.to_port'): StringValue('to_pseudostate'),
  3718. StringValue('Class.is_abstract'): BooleanValue(False),
  3719. StringValue('Association.from_min'): IntegerValue(0),
  3720. StringValue('Class.id_field'): StringValue('absstate_pseudostate.name'),
  3721. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsState'),
  3722. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.PseudoState')})
  3723. }))
  3724. cl = self.mvk.create(MappingValue({
  3725. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3726. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.absstate_pseudostate'),
  3727. CreateConstants.ATTRS_KEY: MappingValue({
  3728. StringValue('Attribute.name'): StringValue('name'),
  3729. StringValue('Attribute.type'): StringType()})
  3730. }))
  3731. cl = self.mvk.create(MappingValue({
  3732. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3733. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3734. CreateConstants.ATTRS_KEY: MappingValue({
  3735. StringValue('Inheritance.name'): StringValue('MethodCall_i_Expression'),
  3736. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.MethodCall'),
  3737. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  3738. }))
  3739. cl = self.mvk.create(MappingValue({
  3740. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3741. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3742. CreateConstants.ATTRS_KEY: MappingValue({
  3743. StringValue('Inheritance.name'): StringValue('Subtract_i_Binop'),
  3744. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Subtract'),
  3745. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  3746. }))
  3747. cl = self.mvk.create(MappingValue({
  3748. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3749. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3750. CreateConstants.ATTRS_KEY: MappingValue({
  3751. StringValue('Inheritance.name'): StringValue('Dict_i_Composite'),
  3752. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Dict'),
  3753. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Composite')})
  3754. }))
  3755. cl = self.mvk.create(MappingValue({
  3756. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3757. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3758. CreateConstants.ATTRS_KEY: MappingValue({
  3759. StringValue('Inheritance.name'): StringValue('Unop_i_Expression'),
  3760. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Unop'),
  3761. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  3762. }))
  3763. cl = self.mvk.create(MappingValue({
  3764. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3765. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3766. CreateConstants.ATTRS_KEY: MappingValue({
  3767. StringValue('Inheritance.name'): StringValue('BooleanValue_i_AtomValue'),
  3768. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.BooleanValue'),
  3769. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AtomValue')})
  3770. }))
  3771. cl = self.mvk.create(MappingValue({
  3772. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3773. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3774. CreateConstants.ATTRS_KEY: MappingValue({
  3775. StringValue('Inheritance.name'): StringValue('Parenthesis_i_Unop'),
  3776. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Parenthesis'),
  3777. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Unop')})
  3778. }))
  3779. cl = self.mvk.create(MappingValue({
  3780. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3781. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3782. CreateConstants.ATTRS_KEY: MappingValue({
  3783. StringValue('Inheritance.name'): StringValue('Raise_i_ID'),
  3784. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Raise'),
  3785. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  3786. }))
  3787. cl = self.mvk.create(MappingValue({
  3788. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  3789. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3790. CreateConstants.ATTRS_KEY: MappingValue({
  3791. StringValue('Association.to_max'): IntegerValue(1),
  3792. StringValue('Association.from_max'): InfiniteValue('inf'),
  3793. StringValue('Association.from_port'): StringValue('from_raise'),
  3794. StringValue('Association.to_min'): IntegerValue(0),
  3795. StringValue('Class.name'): StringValue('raise_scope'),
  3796. StringValue('Association.to_port'): StringValue('to_scope'),
  3797. StringValue('Class.is_abstract'): BooleanValue(False),
  3798. StringValue('Association.from_min'): IntegerValue(0),
  3799. StringValue('Class.id_field'): StringValue('raise_scope.name'),
  3800. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Raise'),
  3801. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Scope')})
  3802. }))
  3803. cl = self.mvk.create(MappingValue({
  3804. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3805. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.raise_scope'),
  3806. CreateConstants.ATTRS_KEY: MappingValue({
  3807. StringValue('Attribute.name'): StringValue('name'),
  3808. StringValue('Attribute.type'): StringType()})
  3809. }))
  3810. cl = self.mvk.create(MappingValue({
  3811. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3812. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3813. CreateConstants.ATTRS_KEY: MappingValue({
  3814. StringValue('Inheritance.name'): StringValue('FinalState_i_PseudoState'),
  3815. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.FinalState'),
  3816. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.PseudoState')})
  3817. }))
  3818. cl = self.mvk.create(MappingValue({
  3819. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3820. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3821. CreateConstants.ATTRS_KEY: MappingValue({
  3822. StringValue('Inheritance.name'): StringValue('NEqual_i_Binop'),
  3823. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.NEqual'),
  3824. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  3825. }))
  3826. cl = self.mvk.create(MappingValue({
  3827. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3828. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3829. CreateConstants.ATTRS_KEY: MappingValue({
  3830. StringValue('Inheritance.name'): StringValue('AbsNavigationExpression_i_ID'),
  3831. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsNavigationExpression'),
  3832. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  3833. }))
  3834. cl = self.mvk.create(MappingValue({
  3835. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  3836. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3837. CreateConstants.ATTRS_KEY: MappingValue({
  3838. StringValue('Association.to_max'): IntegerValue(1),
  3839. StringValue('Association.from_max'): InfiniteValue('inf'),
  3840. StringValue('Association.from_port'): StringValue('from_ifelse'),
  3841. StringValue('Association.to_min'): IntegerValue(1),
  3842. StringValue('Class.name'): StringValue('ifelse_expression_condition'),
  3843. StringValue('Association.to_port'): StringValue('to_expression'),
  3844. StringValue('Class.is_abstract'): BooleanValue(False),
  3845. StringValue('Association.from_min'): IntegerValue(0),
  3846. StringValue('Class.id_field'): StringValue('ifelse_expression_condition.name'),
  3847. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.IfElse'),
  3848. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  3849. }))
  3850. cl = self.mvk.create(MappingValue({
  3851. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3852. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.ifelse_expression_condition'),
  3853. CreateConstants.ATTRS_KEY: MappingValue({
  3854. StringValue('Attribute.name'): StringValue('name'),
  3855. StringValue('Attribute.type'): StringType()})
  3856. }))
  3857. cl = self.mvk.create(MappingValue({
  3858. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3859. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3860. CreateConstants.ATTRS_KEY: MappingValue({
  3861. StringValue('Inheritance.name'): StringValue('AbsMethod_i_ID'),
  3862. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsMethod'),
  3863. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  3864. }))
  3865. cl = self.mvk.create(MappingValue({
  3866. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3867. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3868. CreateConstants.ATTRS_KEY: MappingValue({
  3869. StringValue('Inheritance.name'): StringValue('GEThan_i_Binop'),
  3870. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.GEThan'),
  3871. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  3872. }))
  3873. cl = self.mvk.create(MappingValue({
  3874. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3875. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3876. CreateConstants.ATTRS_KEY: MappingValue({
  3877. StringValue('Inheritance.name'): StringValue('Class_i_Named'),
  3878. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Class'),
  3879. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Named')})
  3880. }))
  3881. cl = self.mvk.create(MappingValue({
  3882. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  3883. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3884. CreateConstants.ATTRS_KEY: MappingValue({
  3885. StringValue('Association.to_max'): IntegerValue(1),
  3886. StringValue('Association.from_max'): InfiniteValue('inf'),
  3887. StringValue('Association.from_port'): StringValue('from_while'),
  3888. StringValue('Association.to_min'): IntegerValue(1),
  3889. StringValue('Class.name'): StringValue('while_actionblock_body'),
  3890. StringValue('Association.to_port'): StringValue('to_actionblock'),
  3891. StringValue('Class.is_abstract'): BooleanValue(False),
  3892. StringValue('Association.from_min'): IntegerValue(0),
  3893. StringValue('Class.id_field'): StringValue('while_actionblock_body.name'),
  3894. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.While'),
  3895. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  3896. }))
  3897. cl = self.mvk.create(MappingValue({
  3898. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3899. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.while_actionblock_body'),
  3900. CreateConstants.ATTRS_KEY: MappingValue({
  3901. StringValue('Attribute.name'): StringValue('name'),
  3902. StringValue('Attribute.type'): StringType()})
  3903. }))
  3904. cl = self.mvk.create(MappingValue({
  3905. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3906. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3907. CreateConstants.ATTRS_KEY: MappingValue({
  3908. StringValue('Inheritance.name'): StringValue('StateMachine_i_ID'),
  3909. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.StateMachine'),
  3910. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  3911. }))
  3912. cl = self.mvk.create(MappingValue({
  3913. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3914. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3915. CreateConstants.ATTRS_KEY: MappingValue({
  3916. StringValue('Inheritance.name'): StringValue('OnEnter_i_ActionBlock'),
  3917. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.OnEnter'),
  3918. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  3919. }))
  3920. cl = self.mvk.create(MappingValue({
  3921. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  3922. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3923. CreateConstants.ATTRS_KEY: MappingValue({
  3924. StringValue('Association.to_max'): InfiniteValue('inf'),
  3925. StringValue('Association.from_max'): InfiniteValue('inf'),
  3926. StringValue('Association.from_port'): StringValue('from_absstate'),
  3927. StringValue('Association.to_min'): IntegerValue(0),
  3928. StringValue('Class.name'): StringValue('absstate_absstate_inner'),
  3929. StringValue('Association.to_port'): StringValue('to_absstate'),
  3930. StringValue('Class.is_abstract'): BooleanValue(False),
  3931. StringValue('Association.from_min'): IntegerValue(0),
  3932. StringValue('Class.id_field'): StringValue('absstate_absstate_inner.name'),
  3933. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsState'),
  3934. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsState')})
  3935. }))
  3936. cl = self.mvk.create(MappingValue({
  3937. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3938. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.absstate_absstate_inner'),
  3939. CreateConstants.ATTRS_KEY: MappingValue({
  3940. StringValue('Attribute.name'): StringValue('name'),
  3941. StringValue('Attribute.type'): StringType()})
  3942. }))
  3943. cl = self.mvk.create(MappingValue({
  3944. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3945. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3946. CreateConstants.ATTRS_KEY: MappingValue({
  3947. StringValue('Inheritance.name'): StringValue('GThan_i_Binop'),
  3948. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.GThan'),
  3949. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  3950. }))
  3951. cl = self.mvk.create(MappingValue({
  3952. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  3953. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3954. CreateConstants.ATTRS_KEY: MappingValue({
  3955. StringValue('Association.to_max'): IntegerValue(1),
  3956. StringValue('Association.from_max'): InfiniteValue('inf'),
  3957. StringValue('Association.from_port'): StringValue('from_scope'),
  3958. StringValue('Association.to_min'): IntegerValue(1),
  3959. StringValue('Class.name'): StringValue('scope_expression'),
  3960. StringValue('Association.to_port'): StringValue('to_expression'),
  3961. StringValue('Class.is_abstract'): BooleanValue(False),
  3962. StringValue('Association.from_min'): IntegerValue(0),
  3963. StringValue('Class.id_field'): StringValue('scope_expression.name'),
  3964. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Scope'),
  3965. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  3966. }))
  3967. cl = self.mvk.create(MappingValue({
  3968. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3969. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.scope_expression'),
  3970. CreateConstants.ATTRS_KEY: MappingValue({
  3971. StringValue('Attribute.name'): StringValue('name'),
  3972. StringValue('Attribute.type'): StringType()})
  3973. }))
  3974. cl = self.mvk.create(MappingValue({
  3975. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  3976. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  3977. CreateConstants.ATTRS_KEY: MappingValue({
  3978. StringValue('Association.to_max'): IntegerValue(1),
  3979. StringValue('Association.from_max'): InfiniteValue('inf'),
  3980. StringValue('Association.from_port'): StringValue('from_ifelse'),
  3981. StringValue('Association.to_min'): IntegerValue(0),
  3982. StringValue('Class.name'): StringValue('ifelse_actionblock_elsebody'),
  3983. StringValue('Association.to_port'): StringValue('to_actionblock'),
  3984. StringValue('Class.is_abstract'): BooleanValue(False),
  3985. StringValue('Association.from_min'): IntegerValue(0),
  3986. StringValue('Class.id_field'): StringValue('ifelse_actionblock_elsebody.name'),
  3987. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.IfElse'),
  3988. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  3989. }))
  3990. cl = self.mvk.create(MappingValue({
  3991. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  3992. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.ifelse_actionblock_elsebody'),
  3993. CreateConstants.ATTRS_KEY: MappingValue({
  3994. StringValue('Attribute.name'): StringValue('name'),
  3995. StringValue('Attribute.type'): StringType()})
  3996. }))
  3997. cl = self.mvk.create(MappingValue({
  3998. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  3999. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4000. CreateConstants.ATTRS_KEY: MappingValue({
  4001. StringValue('Inheritance.name'): StringValue('PlusAssignment_i_Assignment'),
  4002. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.PlusAssignment'),
  4003. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Assignment')})
  4004. }))
  4005. cl = self.mvk.create(MappingValue({
  4006. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4007. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4008. CreateConstants.ATTRS_KEY: MappingValue({
  4009. StringValue('Inheritance.name'): StringValue('AtomValue_i_Expression'),
  4010. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AtomValue'),
  4011. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4012. }))
  4013. cl = self.mvk.create(MappingValue({
  4014. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4015. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4016. CreateConstants.ATTRS_KEY: MappingValue({
  4017. StringValue('Inheritance.name'): StringValue('Selection_i_Binop'),
  4018. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Selection'),
  4019. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  4020. }))
  4021. cl = self.mvk.create(MappingValue({
  4022. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4023. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4024. CreateConstants.ATTRS_KEY: MappingValue({
  4025. StringValue('Association.to_max'): IntegerValue(1),
  4026. StringValue('Association.from_max'): InfiniteValue('inf'),
  4027. StringValue('Association.from_port'): StringValue('from_assignment'),
  4028. StringValue('Association.to_min'): IntegerValue(1),
  4029. StringValue('Class.name'): StringValue('assignment_expression_right'),
  4030. StringValue('Association.to_port'): StringValue('to_expression'),
  4031. StringValue('Class.is_abstract'): BooleanValue(False),
  4032. StringValue('Association.from_min'): IntegerValue(0),
  4033. StringValue('Class.id_field'): StringValue('assignment_expression_right.name'),
  4034. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Assignment'),
  4035. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4036. }))
  4037. cl = self.mvk.create(MappingValue({
  4038. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4039. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.assignment_expression_right'),
  4040. CreateConstants.ATTRS_KEY: MappingValue({
  4041. StringValue('Attribute.name'): StringValue('name'),
  4042. StringValue('Attribute.type'): StringType()})
  4043. }))
  4044. cl = self.mvk.create(MappingValue({
  4045. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4046. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4047. CreateConstants.ATTRS_KEY: MappingValue({
  4048. StringValue('Association.to_max'): InfiniteValue('inf'),
  4049. StringValue('Association.from_max'): InfiniteValue('inf'),
  4050. StringValue('Association.from_port'): StringValue('from_absmethod'),
  4051. StringValue('Association.to_min'): IntegerValue(0),
  4052. StringValue('Class.name'): StringValue('absmethod_parameter'),
  4053. StringValue('Association.to_port'): StringValue('to_parameter'),
  4054. StringValue('Class.is_abstract'): BooleanValue(False),
  4055. StringValue('Association.from_min'): IntegerValue(0),
  4056. StringValue('Class.id_field'): StringValue('absmethod_parameter.name'),
  4057. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsMethod'),
  4058. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Parameter')})
  4059. }))
  4060. cl = self.mvk.create(MappingValue({
  4061. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4062. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.absmethod_parameter'),
  4063. CreateConstants.ATTRS_KEY: MappingValue({
  4064. StringValue('Attribute.name'): StringValue('name'),
  4065. StringValue('Attribute.type'): StringType()})
  4066. }))
  4067. cl = self.mvk.create(MappingValue({
  4068. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4069. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4070. CreateConstants.ATTRS_KEY: MappingValue({
  4071. StringValue('Association.to_max'): InfiniteValue('inf'),
  4072. StringValue('Association.from_max'): InfiniteValue('inf'),
  4073. StringValue('Association.from_port'): StringValue('from_statemachine'),
  4074. StringValue('Association.to_min'): IntegerValue(0),
  4075. StringValue('Class.name'): StringValue('statemachine_transition'),
  4076. StringValue('Association.to_port'): StringValue('to_transition'),
  4077. StringValue('Class.is_abstract'): BooleanValue(False),
  4078. StringValue('Association.from_min'): IntegerValue(0),
  4079. StringValue('Class.id_field'): StringValue('statemachine_transition.name'),
  4080. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.StateMachine'),
  4081. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Transition')})
  4082. }))
  4083. cl = self.mvk.create(MappingValue({
  4084. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4085. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.statemachine_transition'),
  4086. CreateConstants.ATTRS_KEY: MappingValue({
  4087. StringValue('Attribute.name'): StringValue('name'),
  4088. StringValue('Attribute.type'): StringType()})
  4089. }))
  4090. cl = self.mvk.create(MappingValue({
  4091. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4092. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4093. CreateConstants.ATTRS_KEY: MappingValue({
  4094. StringValue('Inheritance.name'): StringValue('ActionBlock_i_ID'),
  4095. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.ActionBlock'),
  4096. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  4097. }))
  4098. cl = self.mvk.create(MappingValue({
  4099. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4100. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4101. CreateConstants.ATTRS_KEY: MappingValue({
  4102. StringValue('Association.to_max'): InfiniteValue('inf'),
  4103. StringValue('Association.from_max'): InfiniteValue('inf'),
  4104. StringValue('Association.from_port'): StringValue('from_transition'),
  4105. StringValue('Association.to_min'): IntegerValue(0),
  4106. StringValue('Class.name'): StringValue('transition_raise'),
  4107. StringValue('Association.to_port'): StringValue('to_raise'),
  4108. StringValue('Class.is_abstract'): BooleanValue(False),
  4109. StringValue('Association.from_min'): IntegerValue(0),
  4110. StringValue('Class.id_field'): StringValue('transition_raise.name'),
  4111. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Transition'),
  4112. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Raise')})
  4113. }))
  4114. cl = self.mvk.create(MappingValue({
  4115. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4116. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.transition_raise'),
  4117. CreateConstants.ATTRS_KEY: MappingValue({
  4118. StringValue('Attribute.name'): StringValue('name'),
  4119. StringValue('Attribute.type'): StringType()})
  4120. }))
  4121. cl = self.mvk.create(MappingValue({
  4122. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4123. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4124. CreateConstants.ATTRS_KEY: MappingValue({
  4125. StringValue('Association.to_max'): IntegerValue(1),
  4126. StringValue('Association.from_max'): InfiniteValue('inf'),
  4127. StringValue('Association.from_port'): StringValue('from_target'),
  4128. StringValue('Association.to_min'): IntegerValue(1),
  4129. StringValue('Class.name'): StringValue('target_expression'),
  4130. StringValue('Association.to_port'): StringValue('to_expression'),
  4131. StringValue('Class.is_abstract'): BooleanValue(False),
  4132. StringValue('Association.from_min'): IntegerValue(0),
  4133. StringValue('Class.id_field'): StringValue('target_expression.name'),
  4134. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Target'),
  4135. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4136. }))
  4137. cl = self.mvk.create(MappingValue({
  4138. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4139. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.target_expression'),
  4140. CreateConstants.ATTRS_KEY: MappingValue({
  4141. StringValue('Attribute.name'): StringValue('name'),
  4142. StringValue('Attribute.type'): StringType()})
  4143. }))
  4144. cl = self.mvk.create(MappingValue({
  4145. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4146. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4147. CreateConstants.ATTRS_KEY: MappingValue({
  4148. StringValue('Association.to_max'): IntegerValue(1),
  4149. StringValue('Association.from_max'): InfiniteValue('inf'),
  4150. StringValue('Association.from_port'): StringValue('from_while'),
  4151. StringValue('Association.to_min'): IntegerValue(1),
  4152. StringValue('Class.name'): StringValue('while_expression_condition'),
  4153. StringValue('Association.to_port'): StringValue('to_expression'),
  4154. StringValue('Class.is_abstract'): BooleanValue(False),
  4155. StringValue('Association.from_min'): IntegerValue(0),
  4156. StringValue('Class.id_field'): StringValue('while_expression_condition.name'),
  4157. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.While'),
  4158. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4159. }))
  4160. cl = self.mvk.create(MappingValue({
  4161. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4162. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.while_expression_condition'),
  4163. CreateConstants.ATTRS_KEY: MappingValue({
  4164. StringValue('Attribute.name'): StringValue('name'),
  4165. StringValue('Attribute.type'): StringType()})
  4166. }))
  4167. cl = self.mvk.create(MappingValue({
  4168. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4169. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4170. CreateConstants.ATTRS_KEY: MappingValue({
  4171. StringValue('Inheritance.name'): StringValue('InitialState_i_PseudoState'),
  4172. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.InitialState'),
  4173. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.PseudoState')})
  4174. }))
  4175. cl = self.mvk.create(MappingValue({
  4176. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4177. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4178. CreateConstants.ATTRS_KEY: MappingValue({
  4179. StringValue('Inheritance.name'): StringValue('Binop_i_Expression'),
  4180. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Binop'),
  4181. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4182. }))
  4183. cl = self.mvk.create(MappingValue({
  4184. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4185. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4186. CreateConstants.ATTRS_KEY: MappingValue({
  4187. StringValue('Inheritance.name'): StringValue('InPort_i_Named'),
  4188. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.InPort'),
  4189. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Named')})
  4190. }))
  4191. cl = self.mvk.create(MappingValue({
  4192. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4193. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4194. CreateConstants.ATTRS_KEY: MappingValue({
  4195. StringValue('Inheritance.name'): StringValue('Expression_i_ID'),
  4196. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Expression'),
  4197. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  4198. }))
  4199. cl = self.mvk.create(MappingValue({
  4200. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4201. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4202. CreateConstants.ATTRS_KEY: MappingValue({
  4203. StringValue('Inheritance.name'): StringValue('Array_i_Composite'),
  4204. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Array'),
  4205. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Composite')})
  4206. }))
  4207. cl = self.mvk.create(MappingValue({
  4208. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4209. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4210. CreateConstants.ATTRS_KEY: MappingValue({
  4211. StringValue('Inheritance.name'): StringValue('NavigationExpression_i_Expression'),
  4212. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.NavigationExpression'),
  4213. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4214. }))
  4215. cl = self.mvk.create(MappingValue({
  4216. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4217. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4218. CreateConstants.ATTRS_KEY: MappingValue({
  4219. StringValue('Association.to_max'): IntegerValue(1),
  4220. StringValue('Association.from_max'): InfiniteValue('inf'),
  4221. StringValue('Association.from_port'): StringValue('from_actionblock'),
  4222. StringValue('Association.to_min'): IntegerValue(0),
  4223. StringValue('Class.name'): StringValue('actionblock_statement'),
  4224. StringValue('Association.to_port'): StringValue('to_statement'),
  4225. StringValue('Class.is_abstract'): BooleanValue(False),
  4226. StringValue('Association.from_min'): IntegerValue(0),
  4227. StringValue('Class.id_field'): StringValue('actionblock_statement.name'),
  4228. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.ActionBlock'),
  4229. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  4230. }))
  4231. cl = self.mvk.create(MappingValue({
  4232. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4233. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.actionblock_statement'),
  4234. CreateConstants.ATTRS_KEY: MappingValue({
  4235. StringValue('Attribute.name'): StringValue('name'),
  4236. StringValue('Attribute.type'): StringType()})
  4237. }))
  4238. cl = self.mvk.create(MappingValue({
  4239. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4240. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4241. CreateConstants.ATTRS_KEY: MappingValue({
  4242. StringValue('Inheritance.name'): StringValue('Relationship_i_ID'),
  4243. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Relationship'),
  4244. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  4245. }))
  4246. cl = self.mvk.create(MappingValue({
  4247. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4248. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4249. CreateConstants.ATTRS_KEY: MappingValue({
  4250. StringValue('Inheritance.name'): StringValue('Add_i_Binop'),
  4251. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Add'),
  4252. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  4253. }))
  4254. cl = self.mvk.create(MappingValue({
  4255. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4256. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4257. CreateConstants.ATTRS_KEY: MappingValue({
  4258. StringValue('Inheritance.name'): StringValue('Inheritance_i_Relationship'),
  4259. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Inheritance'),
  4260. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Relationship')})
  4261. }))
  4262. cl = self.mvk.create(MappingValue({
  4263. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4264. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4265. CreateConstants.ATTRS_KEY: MappingValue({
  4266. StringValue('Inheritance.name'): StringValue('Import_i_Statement'),
  4267. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Import'),
  4268. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  4269. }))
  4270. cl = self.mvk.create(MappingValue({
  4271. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4272. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4273. CreateConstants.ATTRS_KEY: MappingValue({
  4274. StringValue('Inheritance.name'): StringValue('Constructor_i_AbsMethod'),
  4275. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Constructor'),
  4276. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsMethod')})
  4277. }))
  4278. cl = self.mvk.create(MappingValue({
  4279. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4280. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4281. CreateConstants.ATTRS_KEY: MappingValue({
  4282. StringValue('Association.to_max'): IntegerValue(1),
  4283. StringValue('Association.from_max'): InfiniteValue('inf'),
  4284. StringValue('Association.from_port'): StringValue('from_regularargument'),
  4285. StringValue('Association.to_min'): IntegerValue(1),
  4286. StringValue('Class.name'): StringValue('regularargument_expression'),
  4287. StringValue('Association.to_port'): StringValue('to_expression'),
  4288. StringValue('Class.is_abstract'): BooleanValue(False),
  4289. StringValue('Association.from_min'): IntegerValue(0),
  4290. StringValue('Class.id_field'): StringValue('regularargument_expression.name'),
  4291. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.RegularArgument'),
  4292. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4293. }))
  4294. cl = self.mvk.create(MappingValue({
  4295. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4296. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.regularargument_expression'),
  4297. CreateConstants.ATTRS_KEY: MappingValue({
  4298. StringValue('Attribute.name'): StringValue('name'),
  4299. StringValue('Attribute.type'): StringType()})
  4300. }))
  4301. cl = self.mvk.create(MappingValue({
  4302. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4303. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4304. CreateConstants.ATTRS_KEY: MappingValue({
  4305. StringValue('Inheritance.name'): StringValue('Minus_i_Unop'),
  4306. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Minus'),
  4307. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Unop')})
  4308. }))
  4309. cl = self.mvk.create(MappingValue({
  4310. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4311. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4312. CreateConstants.ATTRS_KEY: MappingValue({
  4313. StringValue('Inheritance.name'): StringValue('Method_i_AbsMethod'),
  4314. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Method'),
  4315. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsMethod')})
  4316. }))
  4317. cl = self.mvk.create(MappingValue({
  4318. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4319. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4320. CreateConstants.ATTRS_KEY: MappingValue({
  4321. StringValue('Association.to_max'): IntegerValue(1),
  4322. StringValue('Association.from_max'): InfiniteValue('inf'),
  4323. StringValue('Association.from_port'): StringValue('from_assignment'),
  4324. StringValue('Association.to_min'): IntegerValue(1),
  4325. StringValue('Class.name'): StringValue('assignment_expression_left'),
  4326. StringValue('Association.to_port'): StringValue('to_expression'),
  4327. StringValue('Class.is_abstract'): BooleanValue(False),
  4328. StringValue('Association.from_min'): IntegerValue(0),
  4329. StringValue('Class.id_field'): StringValue('assignment_expression_left.name'),
  4330. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Assignment'),
  4331. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4332. }))
  4333. cl = self.mvk.create(MappingValue({
  4334. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4335. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.assignment_expression_left'),
  4336. CreateConstants.ATTRS_KEY: MappingValue({
  4337. StringValue('Attribute.name'): StringValue('name'),
  4338. StringValue('Attribute.type'): StringType()})
  4339. }))
  4340. cl = self.mvk.create(MappingValue({
  4341. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4342. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4343. CreateConstants.ATTRS_KEY: MappingValue({
  4344. StringValue('Association.to_max'): IntegerValue(1),
  4345. StringValue('Association.from_max'): InfiniteValue('inf'),
  4346. StringValue('Association.from_port'): StringValue('from_transition'),
  4347. StringValue('Association.to_min'): IntegerValue(0),
  4348. StringValue('Class.name'): StringValue('transition_inport'),
  4349. StringValue('Association.to_port'): StringValue('to_inport'),
  4350. StringValue('Class.is_abstract'): BooleanValue(False),
  4351. StringValue('Association.from_min'): IntegerValue(0),
  4352. StringValue('Class.id_field'): StringValue('transition_inport.name'),
  4353. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Transition'),
  4354. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.InPort')})
  4355. }))
  4356. cl = self.mvk.create(MappingValue({
  4357. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4358. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.transition_inport'),
  4359. CreateConstants.ATTRS_KEY: MappingValue({
  4360. StringValue('Attribute.name'): StringValue('name'),
  4361. StringValue('Attribute.type'): StringType()})
  4362. }))
  4363. cl = self.mvk.create(MappingValue({
  4364. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4365. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4366. CreateConstants.ATTRS_KEY: MappingValue({
  4367. StringValue('Inheritance.name'): StringValue('MinusAssignment_i_Assignment'),
  4368. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.MinusAssignment'),
  4369. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Assignment')})
  4370. }))
  4371. cl = self.mvk.create(MappingValue({
  4372. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4373. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4374. CreateConstants.ATTRS_KEY: MappingValue({
  4375. StringValue('Association.to_max'): InfiniteValue('inf'),
  4376. StringValue('Association.from_max'): InfiniteValue('inf'),
  4377. StringValue('Association.from_port'): StringValue('from_class'),
  4378. StringValue('Association.to_min'): IntegerValue(0),
  4379. StringValue('Class.name'): StringValue('class_relationship'),
  4380. StringValue('Association.to_port'): StringValue('to_relationship'),
  4381. StringValue('Class.is_abstract'): BooleanValue(False),
  4382. StringValue('Association.from_min'): IntegerValue(0),
  4383. StringValue('Class.id_field'): StringValue('class_relationship.name'),
  4384. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Class'),
  4385. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Relationship')})
  4386. }))
  4387. cl = self.mvk.create(MappingValue({
  4388. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4389. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.class_relationship'),
  4390. CreateConstants.ATTRS_KEY: MappingValue({
  4391. StringValue('Attribute.name'): StringValue('name'),
  4392. StringValue('Attribute.type'): StringType()})
  4393. }))
  4394. cl = self.mvk.create(MappingValue({
  4395. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4396. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4397. CreateConstants.ATTRS_KEY: MappingValue({
  4398. StringValue('Inheritance.name'): StringValue('Mult_i_Binop'),
  4399. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Mult'),
  4400. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  4401. }))
  4402. cl = self.mvk.create(MappingValue({
  4403. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4404. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4405. CreateConstants.ATTRS_KEY: MappingValue({
  4406. StringValue('Inheritance.name'): StringValue('DotExpression_i_AbsNavigationExpression'),
  4407. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.DotExpression'),
  4408. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsNavigationExpression')})
  4409. }))
  4410. cl = self.mvk.create(MappingValue({
  4411. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4412. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4413. CreateConstants.ATTRS_KEY: MappingValue({
  4414. StringValue('Inheritance.name'): StringValue('PseudoState_i_ID'),
  4415. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.PseudoState'),
  4416. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  4417. }))
  4418. cl = self.mvk.create(MappingValue({
  4419. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4420. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4421. CreateConstants.ATTRS_KEY: MappingValue({
  4422. StringValue('Inheritance.name'): StringValue('Bottom_i_ActionBlock'),
  4423. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Bottom'),
  4424. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  4425. }))
  4426. cl = self.mvk.create(MappingValue({
  4427. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4428. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4429. CreateConstants.ATTRS_KEY: MappingValue({
  4430. StringValue('Association.to_max'): InfiniteValue('inf'),
  4431. StringValue('Association.from_max'): InfiniteValue('inf'),
  4432. StringValue('Association.from_port'): StringValue('from_class'),
  4433. StringValue('Association.to_min'): IntegerValue(0),
  4434. StringValue('Class.name'): StringValue('class_attribute'),
  4435. StringValue('Association.to_port'): StringValue('to_attribute'),
  4436. StringValue('Class.is_abstract'): BooleanValue(False),
  4437. StringValue('Association.from_min'): IntegerValue(0),
  4438. StringValue('Class.id_field'): StringValue('class_attribute.name'),
  4439. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Class'),
  4440. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Attribute')})
  4441. }))
  4442. cl = self.mvk.create(MappingValue({
  4443. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4444. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.class_attribute'),
  4445. CreateConstants.ATTRS_KEY: MappingValue({
  4446. StringValue('Attribute.name'): StringValue('name'),
  4447. StringValue('Attribute.type'): StringType()})
  4448. }))
  4449. cl = self.mvk.create(MappingValue({
  4450. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4451. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4452. CreateConstants.ATTRS_KEY: MappingValue({
  4453. StringValue('Inheritance.name'): StringValue('Scope_i_ID'),
  4454. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Scope'),
  4455. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  4456. }))
  4457. cl = self.mvk.create(MappingValue({
  4458. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4459. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4460. CreateConstants.ATTRS_KEY: MappingValue({
  4461. StringValue('Inheritance.name'): StringValue('Assignment_i_Statement'),
  4462. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Assignment'),
  4463. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  4464. }))
  4465. cl = self.mvk.create(MappingValue({
  4466. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4467. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4468. CreateConstants.ATTRS_KEY: MappingValue({
  4469. StringValue('Inheritance.name'): StringValue('Destructor_i_AbsMethod'),
  4470. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Destructor'),
  4471. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsMethod')})
  4472. }))
  4473. cl = self.mvk.create(MappingValue({
  4474. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4475. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4476. CreateConstants.ATTRS_KEY: MappingValue({
  4477. StringValue('Inheritance.name'): StringValue('Equal_i_Binop'),
  4478. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Equal'),
  4479. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  4480. }))
  4481. cl = self.mvk.create(MappingValue({
  4482. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4483. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4484. CreateConstants.ATTRS_KEY: MappingValue({
  4485. StringValue('Association.to_max'): InfiniteValue('inf'),
  4486. StringValue('Association.from_max'): InfiniteValue('inf'),
  4487. StringValue('Association.from_port'): StringValue('from_statemachine'),
  4488. StringValue('Association.to_min'): IntegerValue(0),
  4489. StringValue('Class.name'): StringValue('statemachine_absstate'),
  4490. StringValue('Association.to_port'): StringValue('to_absstate'),
  4491. StringValue('Class.is_abstract'): BooleanValue(False),
  4492. StringValue('Association.from_min'): IntegerValue(0),
  4493. StringValue('Class.id_field'): StringValue('statemachine_absstate.name'),
  4494. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.StateMachine'),
  4495. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsState')})
  4496. }))
  4497. cl = self.mvk.create(MappingValue({
  4498. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4499. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.statemachine_absstate'),
  4500. CreateConstants.ATTRS_KEY: MappingValue({
  4501. StringValue('Attribute.name'): StringValue('name'),
  4502. StringValue('Attribute.type'): StringType()})
  4503. }))
  4504. cl = self.mvk.create(MappingValue({
  4505. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4506. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4507. CreateConstants.ATTRS_KEY: MappingValue({
  4508. StringValue('Inheritance.name'): StringValue('Parameter_i_ID'),
  4509. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Parameter'),
  4510. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  4511. }))
  4512. cl = self.mvk.create(MappingValue({
  4513. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4514. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4515. CreateConstants.ATTRS_KEY: MappingValue({
  4516. StringValue('Inheritance.name'): StringValue('OrthogonalComponent_i_AbsState'),
  4517. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.OrthogonalComponent'),
  4518. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsState')})
  4519. }))
  4520. cl = self.mvk.create(MappingValue({
  4521. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4522. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4523. CreateConstants.ATTRS_KEY: MappingValue({
  4524. StringValue('Inheritance.name'): StringValue('Return_i_Statement'),
  4525. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Return'),
  4526. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  4527. }))
  4528. cl = self.mvk.create(MappingValue({
  4529. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4530. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4531. CreateConstants.ATTRS_KEY: MappingValue({
  4532. StringValue('Inheritance.name'): StringValue('Statement_i_ID'),
  4533. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Statement'),
  4534. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  4535. }))
  4536. cl = self.mvk.create(MappingValue({
  4537. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4538. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4539. CreateConstants.ATTRS_KEY: MappingValue({
  4540. StringValue('Association.to_max'): IntegerValue(1),
  4541. StringValue('Association.from_max'): InfiniteValue('inf'),
  4542. StringValue('Association.from_port'): StringValue('from_raise'),
  4543. StringValue('Association.to_min'): IntegerValue(1),
  4544. StringValue('Class.name'): StringValue('raise_methodcall'),
  4545. StringValue('Association.to_port'): StringValue('to_methodcall'),
  4546. StringValue('Class.is_abstract'): BooleanValue(False),
  4547. StringValue('Association.from_min'): IntegerValue(0),
  4548. StringValue('Class.id_field'): StringValue('raise_methodcall.name'),
  4549. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Raise'),
  4550. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.MethodCall')})
  4551. }))
  4552. cl = self.mvk.create(MappingValue({
  4553. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4554. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.raise_methodcall'),
  4555. CreateConstants.ATTRS_KEY: MappingValue({
  4556. StringValue('Attribute.name'): StringValue('name'),
  4557. StringValue('Attribute.type'): StringType()})
  4558. }))
  4559. cl = self.mvk.create(MappingValue({
  4560. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4561. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4562. CreateConstants.ATTRS_KEY: MappingValue({
  4563. StringValue('Association.to_max'): IntegerValue(1),
  4564. StringValue('Association.from_max'): InfiniteValue('inf'),
  4565. StringValue('Association.from_port'): StringValue('from_argument'),
  4566. StringValue('Association.to_min'): IntegerValue(0),
  4567. StringValue('Class.name'): StringValue('argument_argument_next'),
  4568. StringValue('Association.to_port'): StringValue('to_argument'),
  4569. StringValue('Class.is_abstract'): BooleanValue(False),
  4570. StringValue('Association.from_min'): IntegerValue(0),
  4571. StringValue('Class.id_field'): StringValue('argument_argument_next.name'),
  4572. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Argument'),
  4573. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Argument')})
  4574. }))
  4575. cl = self.mvk.create(MappingValue({
  4576. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4577. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.argument_argument_next'),
  4578. CreateConstants.ATTRS_KEY: MappingValue({
  4579. StringValue('Attribute.name'): StringValue('name'),
  4580. StringValue('Attribute.type'): StringType()})
  4581. }))
  4582. cl = self.mvk.create(MappingValue({
  4583. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4584. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4585. CreateConstants.ATTRS_KEY: MappingValue({
  4586. StringValue('Association.to_max'): IntegerValue(1),
  4587. StringValue('Association.from_max'): InfiniteValue('inf'),
  4588. StringValue('Association.from_port'): StringValue('from_raise'),
  4589. StringValue('Association.to_min'): IntegerValue(0),
  4590. StringValue('Class.name'): StringValue('raise_target'),
  4591. StringValue('Association.to_port'): StringValue('to_Target'),
  4592. StringValue('Class.is_abstract'): BooleanValue(False),
  4593. StringValue('Association.from_min'): IntegerValue(0),
  4594. StringValue('Class.id_field'): StringValue('raise_target.name'),
  4595. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Raise'),
  4596. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Target')})
  4597. }))
  4598. cl = self.mvk.create(MappingValue({
  4599. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4600. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.raise_target'),
  4601. CreateConstants.ATTRS_KEY: MappingValue({
  4602. StringValue('Attribute.name'): StringValue('name'),
  4603. StringValue('Attribute.type'): StringType()})
  4604. }))
  4605. cl = self.mvk.create(MappingValue({
  4606. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4607. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4608. CreateConstants.ATTRS_KEY: MappingValue({
  4609. StringValue('Inheritance.name'): StringValue('Composition_i_Relationship'),
  4610. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Composition'),
  4611. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Relationship')})
  4612. }))
  4613. cl = self.mvk.create(MappingValue({
  4614. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4615. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4616. CreateConstants.ATTRS_KEY: MappingValue({
  4617. StringValue('Association.to_max'): IntegerValue(1),
  4618. StringValue('Association.from_max'): InfiniteValue('inf'),
  4619. StringValue('Association.from_port'): StringValue('from_return'),
  4620. StringValue('Association.to_min'): IntegerValue(0),
  4621. StringValue('Class.name'): StringValue('return_expression'),
  4622. StringValue('Association.to_port'): StringValue('to_expression'),
  4623. StringValue('Class.is_abstract'): BooleanValue(False),
  4624. StringValue('Association.from_min'): IntegerValue(0),
  4625. StringValue('Class.id_field'): StringValue('return_expression.name'),
  4626. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Return'),
  4627. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4628. }))
  4629. cl = self.mvk.create(MappingValue({
  4630. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4631. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.return_expression'),
  4632. CreateConstants.ATTRS_KEY: MappingValue({
  4633. StringValue('Attribute.name'): StringValue('name'),
  4634. StringValue('Attribute.type'): StringType()})
  4635. }))
  4636. cl = self.mvk.create(MappingValue({
  4637. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4638. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4639. CreateConstants.ATTRS_KEY: MappingValue({
  4640. StringValue('Association.to_max'): IntegerValue(1),
  4641. StringValue('Association.from_max'): InfiniteValue('inf'),
  4642. StringValue('Association.from_port'): StringValue('from_parameter'),
  4643. StringValue('Association.to_min'): IntegerValue(0),
  4644. StringValue('Class.name'): StringValue('parameter_parameter_next'),
  4645. StringValue('Association.to_port'): StringValue('to_parameter'),
  4646. StringValue('Class.is_abstract'): BooleanValue(False),
  4647. StringValue('Association.from_min'): IntegerValue(0),
  4648. StringValue('Class.id_field'): StringValue('parameter_parameter_next.name'),
  4649. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Parameter'),
  4650. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Parameter')})
  4651. }))
  4652. cl = self.mvk.create(MappingValue({
  4653. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4654. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.parameter_parameter_next'),
  4655. CreateConstants.ATTRS_KEY: MappingValue({
  4656. StringValue('Attribute.name'): StringValue('name'),
  4657. StringValue('Attribute.type'): StringType()})
  4658. }))
  4659. cl = self.mvk.create(MappingValue({
  4660. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4661. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4662. CreateConstants.ATTRS_KEY: MappingValue({
  4663. StringValue('Inheritance.name'): StringValue('OnExit_i_ActionBlock'),
  4664. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.OnExit'),
  4665. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  4666. }))
  4667. cl = self.mvk.create(MappingValue({
  4668. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4669. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4670. CreateConstants.ATTRS_KEY: MappingValue({
  4671. StringValue('Association.to_max'): IntegerValue(1),
  4672. StringValue('Association.from_max'): InfiniteValue('inf'),
  4673. StringValue('Association.from_port'): StringValue('from_absstate'),
  4674. StringValue('Association.to_min'): IntegerValue(0),
  4675. StringValue('Class.name'): StringValue('absstate_onexit'),
  4676. StringValue('Association.to_port'): StringValue('to_onexit'),
  4677. StringValue('Class.is_abstract'): BooleanValue(False),
  4678. StringValue('Association.from_min'): IntegerValue(0),
  4679. StringValue('Class.id_field'): StringValue('absstate_onexit.name'),
  4680. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsState'),
  4681. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.OnExit')})
  4682. }))
  4683. cl = self.mvk.create(MappingValue({
  4684. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4685. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.absstate_onexit'),
  4686. CreateConstants.ATTRS_KEY: MappingValue({
  4687. StringValue('Attribute.name'): StringValue('name'),
  4688. StringValue('Attribute.type'): StringType()})
  4689. }))
  4690. cl = self.mvk.create(MappingValue({
  4691. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4692. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4693. CreateConstants.ATTRS_KEY: MappingValue({
  4694. StringValue('Inheritance.name'): StringValue('State_i_AbsState'),
  4695. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.State'),
  4696. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsState')})
  4697. }))
  4698. cl = self.mvk.create(MappingValue({
  4699. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4700. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4701. CreateConstants.ATTRS_KEY: MappingValue({
  4702. StringValue('Association.to_max'): IntegerValue(1),
  4703. StringValue('Association.from_max'): InfiniteValue('inf'),
  4704. StringValue('Association.from_port'): StringValue('from_class'),
  4705. StringValue('Association.to_min'): IntegerValue(0),
  4706. StringValue('Class.name'): StringValue('class_statemachine'),
  4707. StringValue('Association.to_port'): StringValue('to_statemachine'),
  4708. StringValue('Class.is_abstract'): BooleanValue(False),
  4709. StringValue('Association.from_min'): IntegerValue(0),
  4710. StringValue('Class.id_field'): StringValue('class_statemachine.name'),
  4711. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Class'),
  4712. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.StateMachine')})
  4713. }))
  4714. cl = self.mvk.create(MappingValue({
  4715. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4716. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.class_statemachine'),
  4717. CreateConstants.ATTRS_KEY: MappingValue({
  4718. StringValue('Attribute.name'): StringValue('name'),
  4719. StringValue('Attribute.type'): StringType()})
  4720. }))
  4721. cl = self.mvk.create(MappingValue({
  4722. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4723. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4724. CreateConstants.ATTRS_KEY: MappingValue({
  4725. StringValue('Association.to_max'): IntegerValue(1),
  4726. StringValue('Association.from_max'): InfiniteValue('inf'),
  4727. StringValue('Association.from_port'): StringValue('from_binop'),
  4728. StringValue('Association.to_min'): IntegerValue(1),
  4729. StringValue('Class.name'): StringValue('binop_expression_right'),
  4730. StringValue('Association.to_port'): StringValue('to_expression'),
  4731. StringValue('Class.is_abstract'): BooleanValue(False),
  4732. StringValue('Association.from_min'): IntegerValue(0),
  4733. StringValue('Class.id_field'): StringValue('binop_expression_right.name'),
  4734. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Binop'),
  4735. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4736. }))
  4737. cl = self.mvk.create(MappingValue({
  4738. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4739. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.binop_expression_right'),
  4740. CreateConstants.ATTRS_KEY: MappingValue({
  4741. StringValue('Attribute.name'): StringValue('name'),
  4742. StringValue('Attribute.type'): StringType()})
  4743. }))
  4744. cl = self.mvk.create(MappingValue({
  4745. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4746. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4747. CreateConstants.ATTRS_KEY: MappingValue({
  4748. StringValue('Association.to_max'): IntegerValue(1),
  4749. StringValue('Association.from_max'): InfiniteValue('inf'),
  4750. StringValue('Association.from_port'): StringValue('from_transition'),
  4751. StringValue('Association.to_min'): IntegerValue(0),
  4752. StringValue('Class.name'): StringValue('transition_actionblock'),
  4753. StringValue('Association.to_port'): StringValue('to_actionblock'),
  4754. StringValue('Class.is_abstract'): BooleanValue(False),
  4755. StringValue('Association.from_min'): IntegerValue(0),
  4756. StringValue('Class.id_field'): StringValue('transition_actionblock.name'),
  4757. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Transition'),
  4758. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  4759. }))
  4760. cl = self.mvk.create(MappingValue({
  4761. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4762. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.transition_actionblock'),
  4763. CreateConstants.ATTRS_KEY: MappingValue({
  4764. StringValue('Attribute.name'): StringValue('name'),
  4765. StringValue('Attribute.type'): StringType()})
  4766. }))
  4767. cl = self.mvk.create(MappingValue({
  4768. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4769. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4770. CreateConstants.ATTRS_KEY: MappingValue({
  4771. StringValue('Association.to_max'): IntegerValue(1),
  4772. StringValue('Association.from_max'): InfiniteValue('inf'),
  4773. StringValue('Association.from_port'): StringValue('from_regularargument'),
  4774. StringValue('Association.to_min'): IntegerValue(1),
  4775. StringValue('Class.name'): StringValue('dictargument_expression'),
  4776. StringValue('Association.to_port'): StringValue('to_expression'),
  4777. StringValue('Class.is_abstract'): BooleanValue(False),
  4778. StringValue('Association.from_min'): IntegerValue(0),
  4779. StringValue('Class.id_field'): StringValue('dictargument_expression.name'),
  4780. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.DictArgument'),
  4781. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4782. }))
  4783. cl = self.mvk.create(MappingValue({
  4784. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4785. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.dictargument_expression'),
  4786. CreateConstants.ATTRS_KEY: MappingValue({
  4787. StringValue('Attribute.name'): StringValue('name'),
  4788. StringValue('Attribute.type'): StringType()})
  4789. }))
  4790. cl = self.mvk.create(MappingValue({
  4791. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4792. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4793. CreateConstants.ATTRS_KEY: MappingValue({
  4794. StringValue('Inheritance.name'): StringValue('IntegerValue_i_AtomValue'),
  4795. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.IntegerValue'),
  4796. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AtomValue')})
  4797. }))
  4798. cl = self.mvk.create(MappingValue({
  4799. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4800. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4801. CreateConstants.ATTRS_KEY: MappingValue({
  4802. StringValue('Association.to_max'): IntegerValue(1),
  4803. StringValue('Association.from_max'): InfiniteValue('inf'),
  4804. StringValue('Association.from_port'): StringValue('from_declaration'),
  4805. StringValue('Association.to_min'): IntegerValue(1),
  4806. StringValue('Class.name'): StringValue('declaration_navigationexpression_type'),
  4807. StringValue('Association.to_port'): StringValue('to_navigationexpression'),
  4808. StringValue('Class.is_abstract'): BooleanValue(False),
  4809. StringValue('Association.from_min'): IntegerValue(0),
  4810. StringValue('Class.id_field'): StringValue('declaration_navigationexpression_type.name'),
  4811. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Declaration'),
  4812. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.NavigationExpression')})
  4813. }))
  4814. cl = self.mvk.create(MappingValue({
  4815. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4816. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.declaration_navigationexpression_type'),
  4817. CreateConstants.ATTRS_KEY: MappingValue({
  4818. StringValue('Attribute.name'): StringValue('name'),
  4819. StringValue('Attribute.type'): StringType()})
  4820. }))
  4821. cl = self.mvk.create(MappingValue({
  4822. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4823. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4824. CreateConstants.ATTRS_KEY: MappingValue({
  4825. StringValue('Inheritance.name'): StringValue('RegularArgument_i_CompositeArgument'),
  4826. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.RegularArgument'),
  4827. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.CompositeArgument')})
  4828. }))
  4829. cl = self.mvk.create(MappingValue({
  4830. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4831. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4832. CreateConstants.ATTRS_KEY: MappingValue({
  4833. StringValue('Association.to_max'): InfiniteValue('inf'),
  4834. StringValue('Association.from_max'): InfiniteValue('inf'),
  4835. StringValue('Association.from_port'): StringValue('from_argument'),
  4836. StringValue('Association.to_min'): IntegerValue(0),
  4837. StringValue('Class.name'): StringValue('argument_value'),
  4838. StringValue('Association.to_port'): StringValue('to_value'),
  4839. StringValue('Class.is_abstract'): BooleanValue(False),
  4840. StringValue('Association.from_min'): IntegerValue(0),
  4841. StringValue('Class.id_field'): StringValue('argument_value.name'),
  4842. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Argument'),
  4843. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4844. }))
  4845. cl = self.mvk.create(MappingValue({
  4846. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4847. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.argument_value'),
  4848. CreateConstants.ATTRS_KEY: MappingValue({
  4849. StringValue('Attribute.name'): StringValue('name'),
  4850. StringValue('Attribute.type'): StringType()})
  4851. }))
  4852. cl = self.mvk.create(MappingValue({
  4853. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4854. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4855. CreateConstants.ATTRS_KEY: MappingValue({
  4856. StringValue('Inheritance.name'): StringValue('MethodCallStm_i_AbsMethodCall'),
  4857. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.MethodCallStm'),
  4858. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsMethodCall')})
  4859. }))
  4860. cl = self.mvk.create(MappingValue({
  4861. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4862. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4863. CreateConstants.ATTRS_KEY: MappingValue({
  4864. StringValue('Inheritance.name'): StringValue('HistoryState_i_PseudoState'),
  4865. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.HistoryState'),
  4866. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.PseudoState')})
  4867. }))
  4868. cl = self.mvk.create(MappingValue({
  4869. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4870. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4871. CreateConstants.ATTRS_KEY: MappingValue({
  4872. StringValue('Association.to_max'): InfiniteValue('inf'),
  4873. StringValue('Association.from_max'): InfiniteValue('inf'),
  4874. StringValue('Association.from_port'): StringValue('from_statemachine'),
  4875. StringValue('Association.to_min'): IntegerValue(0),
  4876. StringValue('Class.name'): StringValue('statemachine_pseudostate'),
  4877. StringValue('Association.to_port'): StringValue('to_pseudostate'),
  4878. StringValue('Class.is_abstract'): BooleanValue(False),
  4879. StringValue('Association.from_min'): IntegerValue(0),
  4880. StringValue('Class.id_field'): StringValue('statemachine_pseudostate.name'),
  4881. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.StateMachine'),
  4882. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.PseudoState')})
  4883. }))
  4884. cl = self.mvk.create(MappingValue({
  4885. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4886. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.statemachine_pseudostate'),
  4887. CreateConstants.ATTRS_KEY: MappingValue({
  4888. StringValue('Attribute.name'): StringValue('name'),
  4889. StringValue('Attribute.type'): StringType()})
  4890. }))
  4891. cl = self.mvk.create(MappingValue({
  4892. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4893. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4894. CreateConstants.ATTRS_KEY: MappingValue({
  4895. StringValue('Inheritance.name'): StringValue('MethodCallStm_i_Statement'),
  4896. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.MethodCallStm'),
  4897. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  4898. }))
  4899. cl = self.mvk.create(MappingValue({
  4900. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4901. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4902. CreateConstants.ATTRS_KEY: MappingValue({
  4903. StringValue('Inheritance.name'): StringValue('LEThan_i_Binop'),
  4904. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.LEThan'),
  4905. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  4906. }))
  4907. cl = self.mvk.create(MappingValue({
  4908. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4909. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4910. CreateConstants.ATTRS_KEY: MappingValue({
  4911. StringValue('Inheritance.name'): StringValue('Composite_i_Expression'),
  4912. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Composite'),
  4913. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4914. }))
  4915. cl = self.mvk.create(MappingValue({
  4916. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4917. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4918. CreateConstants.ATTRS_KEY: MappingValue({
  4919. StringValue('Association.to_max'): IntegerValue(1),
  4920. StringValue('Association.from_max'): InfiniteValue('inf'),
  4921. StringValue('Association.from_port'): StringValue('from_methodcall'),
  4922. StringValue('Association.to_min'): IntegerValue(0),
  4923. StringValue('Class.name'): StringValue('methodcall_sender'),
  4924. StringValue('Association.to_port'): StringValue('to_expression'),
  4925. StringValue('Class.is_abstract'): BooleanValue(False),
  4926. StringValue('Association.from_min'): IntegerValue(0),
  4927. StringValue('Class.id_field'): StringValue('methodcall_sender.name'),
  4928. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsMethodCall'),
  4929. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4930. }))
  4931. cl = self.mvk.create(MappingValue({
  4932. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4933. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.methodcall_sender'),
  4934. CreateConstants.ATTRS_KEY: MappingValue({
  4935. StringValue('Attribute.name'): StringValue('name'),
  4936. StringValue('Attribute.type'): StringType()})
  4937. }))
  4938. cl = self.mvk.create(MappingValue({
  4939. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4940. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4941. CreateConstants.ATTRS_KEY: MappingValue({
  4942. StringValue('Inheritance.name'): StringValue('IfElse_i_Statement'),
  4943. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.IfElse'),
  4944. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  4945. }))
  4946. cl = self.mvk.create(MappingValue({
  4947. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4948. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4949. CreateConstants.ATTRS_KEY: MappingValue({
  4950. StringValue('Association.to_max'): IntegerValue(1),
  4951. StringValue('Association.from_max'): InfiniteValue('inf'),
  4952. StringValue('Association.from_port'): StringValue('from_binop'),
  4953. StringValue('Association.to_min'): IntegerValue(1),
  4954. StringValue('Class.name'): StringValue('binop_expression_left'),
  4955. StringValue('Association.to_port'): StringValue('to_expression'),
  4956. StringValue('Class.is_abstract'): BooleanValue(False),
  4957. StringValue('Association.from_min'): IntegerValue(0),
  4958. StringValue('Class.id_field'): StringValue('binop_expression_left.name'),
  4959. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Binop'),
  4960. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  4961. }))
  4962. cl = self.mvk.create(MappingValue({
  4963. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4964. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.binop_expression_left'),
  4965. CreateConstants.ATTRS_KEY: MappingValue({
  4966. StringValue('Attribute.name'): StringValue('name'),
  4967. StringValue('Attribute.type'): StringType()})
  4968. }))
  4969. cl = self.mvk.create(MappingValue({
  4970. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  4971. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4972. CreateConstants.ATTRS_KEY: MappingValue({
  4973. StringValue('Inheritance.name'): StringValue('Event_i_ID'),
  4974. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Event'),
  4975. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  4976. }))
  4977. cl = self.mvk.create(MappingValue({
  4978. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  4979. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  4980. CreateConstants.ATTRS_KEY: MappingValue({
  4981. StringValue('Association.to_max'): InfiniteValue('inf'),
  4982. StringValue('Association.from_max'): InfiniteValue('inf'),
  4983. StringValue('Association.from_port'): StringValue('from_class'),
  4984. StringValue('Association.to_min'): IntegerValue(0),
  4985. StringValue('Class.name'): StringValue('class_method'),
  4986. StringValue('Association.to_port'): StringValue('to_method'),
  4987. StringValue('Class.is_abstract'): BooleanValue(False),
  4988. StringValue('Association.from_min'): IntegerValue(0),
  4989. StringValue('Class.id_field'): StringValue('class_method.name'),
  4990. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Class'),
  4991. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsMethod')})
  4992. }))
  4993. cl = self.mvk.create(MappingValue({
  4994. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  4995. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.class_method'),
  4996. CreateConstants.ATTRS_KEY: MappingValue({
  4997. StringValue('Attribute.name'): StringValue('name'),
  4998. StringValue('Attribute.type'): StringType()})
  4999. }))
  5000. cl = self.mvk.create(MappingValue({
  5001. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5002. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5003. CreateConstants.ATTRS_KEY: MappingValue({
  5004. StringValue('Inheritance.name'): StringValue('LThan_i_Binop'),
  5005. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.LThan'),
  5006. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  5007. }))
  5008. cl = self.mvk.create(MappingValue({
  5009. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5010. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5011. CreateConstants.ATTRS_KEY: MappingValue({
  5012. StringValue('Inheritance.name'): StringValue('Attribute_i_Named'),
  5013. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Attribute'),
  5014. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Named')})
  5015. }))
  5016. cl = self.mvk.create(MappingValue({
  5017. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5018. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5019. CreateConstants.ATTRS_KEY: MappingValue({
  5020. StringValue('Association.to_max'): IntegerValue(1),
  5021. StringValue('Association.from_max'): InfiniteValue('inf'),
  5022. StringValue('Association.from_port'): StringValue('from_guard'),
  5023. StringValue('Association.to_min'): IntegerValue(1),
  5024. StringValue('Class.name'): StringValue('guard_expression'),
  5025. StringValue('Association.to_port'): StringValue('to_expression'),
  5026. StringValue('Class.is_abstract'): BooleanValue(False),
  5027. StringValue('Association.from_min'): IntegerValue(0),
  5028. StringValue('Class.id_field'): StringValue('guard_expression.name'),
  5029. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Guard'),
  5030. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  5031. }))
  5032. cl = self.mvk.create(MappingValue({
  5033. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5034. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.guard_expression'),
  5035. CreateConstants.ATTRS_KEY: MappingValue({
  5036. StringValue('Attribute.name'): StringValue('name'),
  5037. StringValue('Attribute.type'): StringType()})
  5038. }))
  5039. cl = self.mvk.create(MappingValue({
  5040. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5041. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5042. CreateConstants.ATTRS_KEY: MappingValue({
  5043. StringValue('Association.to_max'): IntegerValue(1),
  5044. StringValue('Association.from_max'): InfiniteValue('inf'),
  5045. StringValue('Association.from_port'): StringValue('from_unop'),
  5046. StringValue('Association.to_min'): IntegerValue(1),
  5047. StringValue('Class.name'): StringValue('unop_expression'),
  5048. StringValue('Association.to_port'): StringValue('to_expression'),
  5049. StringValue('Class.is_abstract'): BooleanValue(False),
  5050. StringValue('Association.from_min'): IntegerValue(0),
  5051. StringValue('Class.id_field'): StringValue('unop_expression.name'),
  5052. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Unop'),
  5053. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  5054. }))
  5055. cl = self.mvk.create(MappingValue({
  5056. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5057. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.unop_expression'),
  5058. CreateConstants.ATTRS_KEY: MappingValue({
  5059. StringValue('Attribute.name'): StringValue('name'),
  5060. StringValue('Attribute.type'): StringType()})
  5061. }))
  5062. cl = self.mvk.create(MappingValue({
  5063. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5064. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5065. CreateConstants.ATTRS_KEY: MappingValue({
  5066. StringValue('Inheritance.name'): StringValue('Tuple_i_Composite'),
  5067. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Tuple'),
  5068. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Composite')})
  5069. }))
  5070. cl = self.mvk.create(MappingValue({
  5071. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5072. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5073. CreateConstants.ATTRS_KEY: MappingValue({
  5074. StringValue('Inheritance.name'): StringValue('Continue_i_Statement'),
  5075. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Continue'),
  5076. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  5077. }))
  5078. cl = self.mvk.create(MappingValue({
  5079. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5080. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5081. CreateConstants.ATTRS_KEY: MappingValue({
  5082. StringValue('Inheritance.name'): StringValue('Declaration_i_Statement'),
  5083. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Declaration'),
  5084. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  5085. }))
  5086. cl = self.mvk.create(MappingValue({
  5087. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5088. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5089. CreateConstants.ATTRS_KEY: MappingValue({
  5090. StringValue('Association.to_max'): IntegerValue(1),
  5091. StringValue('Association.from_max'): InfiniteValue('inf'),
  5092. StringValue('Association.from_port'): StringValue('from_ifelse'),
  5093. StringValue('Association.to_min'): IntegerValue(1),
  5094. StringValue('Class.name'): StringValue('ifelse_actionblock_ifbody'),
  5095. StringValue('Association.to_port'): StringValue('to_actionblock'),
  5096. StringValue('Class.is_abstract'): BooleanValue(False),
  5097. StringValue('Association.from_min'): IntegerValue(0),
  5098. StringValue('Class.id_field'): StringValue('ifelse_actionblock_ifbody.name'),
  5099. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.IfElse'),
  5100. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  5101. }))
  5102. cl = self.mvk.create(MappingValue({
  5103. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5104. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.ifelse_actionblock_ifbody'),
  5105. CreateConstants.ATTRS_KEY: MappingValue({
  5106. StringValue('Attribute.name'): StringValue('name'),
  5107. StringValue('Attribute.type'): StringType()})
  5108. }))
  5109. cl = self.mvk.create(MappingValue({
  5110. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5111. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5112. CreateConstants.ATTRS_KEY: MappingValue({
  5113. StringValue('Association.to_max'): IntegerValue(1),
  5114. StringValue('Association.from_max'): InfiniteValue('inf'),
  5115. StringValue('Association.from_port'): StringValue('from_absstate'),
  5116. StringValue('Association.to_min'): IntegerValue(0),
  5117. StringValue('Class.name'): StringValue('absstate_onenter'),
  5118. StringValue('Association.to_port'): StringValue('to_onenter'),
  5119. StringValue('Class.is_abstract'): BooleanValue(False),
  5120. StringValue('Association.from_min'): IntegerValue(0),
  5121. StringValue('Class.id_field'): StringValue('absstate_onenter.name'),
  5122. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsState'),
  5123. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.OnEnter')})
  5124. }))
  5125. cl = self.mvk.create(MappingValue({
  5126. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5127. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.absstate_onenter'),
  5128. CreateConstants.ATTRS_KEY: MappingValue({
  5129. StringValue('Attribute.name'): StringValue('name'),
  5130. StringValue('Attribute.type'): StringType()})
  5131. }))
  5132. cl = self.mvk.create(MappingValue({
  5133. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5134. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5135. CreateConstants.ATTRS_KEY: MappingValue({
  5136. StringValue('Inheritance.name'): StringValue('StringValue_i_AtomValue'),
  5137. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.StringValue'),
  5138. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AtomValue')})
  5139. }))
  5140. cl = self.mvk.create(MappingValue({
  5141. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5142. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5143. CreateConstants.ATTRS_KEY: MappingValue({
  5144. StringValue('Inheritance.name'): StringValue('Div_i_Binop'),
  5145. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Div'),
  5146. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  5147. }))
  5148. cl = self.mvk.create(MappingValue({
  5149. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5150. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5151. CreateConstants.ATTRS_KEY: MappingValue({
  5152. StringValue('Association.to_max'): IntegerValue(1),
  5153. StringValue('Association.from_max'): InfiniteValue('inf'),
  5154. StringValue('Association.from_port'): StringValue('from_compositeargument'),
  5155. StringValue('Association.to_min'): IntegerValue(1),
  5156. StringValue('Class.name'): StringValue('compositeargument_compositeargument_next'),
  5157. StringValue('Association.to_port'): StringValue('to_compositeargument'),
  5158. StringValue('Class.is_abstract'): BooleanValue(False),
  5159. StringValue('Association.from_min'): IntegerValue(0),
  5160. StringValue('Class.id_field'): StringValue('compositeargument_compositeargument_next.name'),
  5161. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.CompositeArgument'),
  5162. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.CompositeArgument')})
  5163. }))
  5164. cl = self.mvk.create(MappingValue({
  5165. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5166. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.compositeargument_compositeargument_next'),
  5167. CreateConstants.ATTRS_KEY: MappingValue({
  5168. StringValue('Attribute.name'): StringValue('name'),
  5169. StringValue('Attribute.type'): StringType()})
  5170. }))
  5171. cl = self.mvk.create(MappingValue({
  5172. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5173. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5174. CreateConstants.ATTRS_KEY: MappingValue({
  5175. StringValue('Inheritance.name'): StringValue('Transition_i_ID'),
  5176. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Transition'),
  5177. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  5178. }))
  5179. cl = self.mvk.create(MappingValue({
  5180. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5181. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5182. CreateConstants.ATTRS_KEY: MappingValue({
  5183. StringValue('Inheritance.name'): StringValue('FloatValue_i_AtomValue'),
  5184. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.FloatValue'),
  5185. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AtomValue')})
  5186. }))
  5187. cl = self.mvk.create(MappingValue({
  5188. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5189. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5190. CreateConstants.ATTRS_KEY: MappingValue({
  5191. StringValue('Association.to_max'): InfiniteValue('inf'),
  5192. StringValue('Association.from_max'): InfiniteValue('inf'),
  5193. StringValue('Association.from_port'): StringValue('from_absstate'),
  5194. StringValue('Association.to_min'): IntegerValue(0),
  5195. StringValue('Class.name'): StringValue('absstate_transition'),
  5196. StringValue('Association.to_port'): StringValue('to_transition'),
  5197. StringValue('Class.is_abstract'): BooleanValue(False),
  5198. StringValue('Association.from_min'): IntegerValue(0),
  5199. StringValue('Class.id_field'): StringValue('absstate_transition.name'),
  5200. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsState'),
  5201. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Transition')})
  5202. }))
  5203. cl = self.mvk.create(MappingValue({
  5204. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5205. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.absstate_transition'),
  5206. CreateConstants.ATTRS_KEY: MappingValue({
  5207. StringValue('Attribute.name'): StringValue('name'),
  5208. StringValue('Attribute.type'): StringType()})
  5209. }))
  5210. cl = self.mvk.create(MappingValue({
  5211. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5212. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5213. CreateConstants.ATTRS_KEY: MappingValue({
  5214. StringValue('Association.to_max'): IntegerValue(1),
  5215. StringValue('Association.from_max'): InfiniteValue('inf'),
  5216. StringValue('Association.from_port'): StringValue('from_navigationexpression'),
  5217. StringValue('Association.to_min'): IntegerValue(1),
  5218. StringValue('Class.name'): StringValue('navigationexpression_absnavigationexpression'),
  5219. StringValue('Association.to_port'): StringValue('to_absnavigationexpression'),
  5220. StringValue('Class.is_abstract'): BooleanValue(False),
  5221. StringValue('Association.from_min'): IntegerValue(0),
  5222. StringValue('Class.id_field'): StringValue('navigationexpression_absnavigationexpression.name'),
  5223. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.NavigationExpression'),
  5224. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsNavigationExpression')})
  5225. }))
  5226. cl = self.mvk.create(MappingValue({
  5227. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5228. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.navigationexpression_absnavigationexpression'),
  5229. CreateConstants.ATTRS_KEY: MappingValue({
  5230. StringValue('Attribute.name'): StringValue('name'),
  5231. StringValue('Attribute.type'): StringType()})
  5232. }))
  5233. cl = self.mvk.create(MappingValue({
  5234. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5235. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5236. CreateConstants.ATTRS_KEY: MappingValue({
  5237. StringValue('Inheritance.name'): StringValue('DictArgument_i_CompositeArgument'),
  5238. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.DictArgument'),
  5239. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.CompositeArgument')})
  5240. }))
  5241. cl = self.mvk.create(MappingValue({
  5242. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5243. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5244. CreateConstants.ATTRS_KEY: MappingValue({
  5245. StringValue('Inheritance.name'): StringValue('Association_i_Relationship'),
  5246. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Association'),
  5247. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Relationship')})
  5248. }))
  5249. cl = self.mvk.create(MappingValue({
  5250. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5251. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5252. CreateConstants.ATTRS_KEY: MappingValue({
  5253. StringValue('Inheritance.name'): StringValue('SelfExpression_i_AbsNavigationExpression'),
  5254. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.SelfExpression'),
  5255. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.AbsNavigationExpression')})
  5256. }))
  5257. cl = self.mvk.create(MappingValue({
  5258. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5259. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5260. CreateConstants.ATTRS_KEY: MappingValue({
  5261. StringValue('Association.to_max'): IntegerValue(1),
  5262. StringValue('Association.from_max'): InfiniteValue('inf'),
  5263. StringValue('Association.from_port'): StringValue('from_transition'),
  5264. StringValue('Association.to_min'): IntegerValue(0),
  5265. StringValue('Class.name'): StringValue('transition_guard'),
  5266. StringValue('Association.to_port'): StringValue('to_guard'),
  5267. StringValue('Class.is_abstract'): BooleanValue(False),
  5268. StringValue('Association.from_min'): IntegerValue(0),
  5269. StringValue('Class.id_field'): StringValue('transition_guard.name'),
  5270. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Transition'),
  5271. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Guard')})
  5272. }))
  5273. cl = self.mvk.create(MappingValue({
  5274. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5275. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.transition_guard'),
  5276. CreateConstants.ATTRS_KEY: MappingValue({
  5277. StringValue('Attribute.name'): StringValue('name'),
  5278. StringValue('Attribute.type'): StringType()})
  5279. }))
  5280. cl = self.mvk.create(MappingValue({
  5281. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5282. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5283. CreateConstants.ATTRS_KEY: MappingValue({
  5284. StringValue('Inheritance.name'): StringValue('Guard_i_ID'),
  5285. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Guard'),
  5286. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  5287. }))
  5288. cl = self.mvk.create(MappingValue({
  5289. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5290. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5291. CreateConstants.ATTRS_KEY: MappingValue({
  5292. StringValue('Inheritance.name'): StringValue('Or_i_Binop'),
  5293. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Or'),
  5294. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  5295. }))
  5296. cl = self.mvk.create(MappingValue({
  5297. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5298. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5299. CreateConstants.ATTRS_KEY: MappingValue({
  5300. StringValue('Association.to_max'): InfiniteValue('inf'),
  5301. StringValue('Association.from_max'): InfiniteValue('inf'),
  5302. StringValue('Association.from_port'): StringValue('from_class'),
  5303. StringValue('Association.to_min'): IntegerValue(0),
  5304. StringValue('Class.name'): StringValue('class_inport'),
  5305. StringValue('Association.to_port'): StringValue('to_inport'),
  5306. StringValue('Class.is_abstract'): BooleanValue(False),
  5307. StringValue('Association.from_min'): IntegerValue(0),
  5308. StringValue('Class.id_field'): StringValue('class_inport.name'),
  5309. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Class'),
  5310. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.InPort')})
  5311. }))
  5312. cl = self.mvk.create(MappingValue({
  5313. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5314. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.class_inport'),
  5315. CreateConstants.ATTRS_KEY: MappingValue({
  5316. StringValue('Attribute.name'): StringValue('name'),
  5317. StringValue('Attribute.type'): StringType()})
  5318. }))
  5319. cl = self.mvk.create(MappingValue({
  5320. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5321. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5322. CreateConstants.ATTRS_KEY: MappingValue({
  5323. StringValue('Association.to_max'): InfiniteValue('inf'),
  5324. StringValue('Association.from_max'): InfiniteValue('inf'),
  5325. StringValue('Association.from_port'): StringValue('from_methodcall'),
  5326. StringValue('Association.to_min'): IntegerValue(0),
  5327. StringValue('Class.name'): StringValue('methodcall_argument'),
  5328. StringValue('Association.to_port'): StringValue('to_argument'),
  5329. StringValue('Class.is_abstract'): BooleanValue(False),
  5330. StringValue('Association.from_min'): IntegerValue(0),
  5331. StringValue('Class.id_field'): StringValue('methodcall_argument.name'),
  5332. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsMethodCall'),
  5333. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Argument')})
  5334. }))
  5335. cl = self.mvk.create(MappingValue({
  5336. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5337. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.methodcall_argument'),
  5338. CreateConstants.ATTRS_KEY: MappingValue({
  5339. StringValue('Attribute.name'): StringValue('name'),
  5340. StringValue('Attribute.type'): StringType()})
  5341. }))
  5342. cl = self.mvk.create(MappingValue({
  5343. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5344. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5345. CreateConstants.ATTRS_KEY: MappingValue({
  5346. StringValue('Association.to_max'): IntegerValue(1),
  5347. StringValue('Association.from_max'): InfiniteValue('inf'),
  5348. StringValue('Association.from_port'): StringValue('from_composite'),
  5349. StringValue('Association.to_min'): IntegerValue(1),
  5350. StringValue('Class.name'): StringValue('composite_compositeargument'),
  5351. StringValue('Association.to_port'): StringValue('to_compositeargument'),
  5352. StringValue('Class.is_abstract'): BooleanValue(False),
  5353. StringValue('Association.from_min'): IntegerValue(0),
  5354. StringValue('Class.id_field'): StringValue('composite_compositeargument.name'),
  5355. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Composite'),
  5356. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.CompositeArgument')})
  5357. }))
  5358. cl = self.mvk.create(MappingValue({
  5359. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5360. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.composite_compositeargument'),
  5361. CreateConstants.ATTRS_KEY: MappingValue({
  5362. StringValue('Attribute.name'): StringValue('name'),
  5363. StringValue('Attribute.type'): StringType()})
  5364. }))
  5365. cl = self.mvk.create(MappingValue({
  5366. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5367. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5368. CreateConstants.ATTRS_KEY: MappingValue({
  5369. StringValue('Association.to_max'): IntegerValue(1),
  5370. StringValue('Association.from_max'): InfiniteValue('inf'),
  5371. StringValue('Association.from_port'): StringValue('from_parameter'),
  5372. StringValue('Association.to_min'): IntegerValue(0),
  5373. StringValue('Class.name'): StringValue('parameter_type_expression'),
  5374. StringValue('Association.to_port'): StringValue('to_type_expression'),
  5375. StringValue('Class.is_abstract'): BooleanValue(False),
  5376. StringValue('Association.from_min'): IntegerValue(0),
  5377. StringValue('Class.id_field'): StringValue('parameter_type_expression.name'),
  5378. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Parameter'),
  5379. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.NavigationExpression')})
  5380. }))
  5381. cl = self.mvk.create(MappingValue({
  5382. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5383. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.parameter_type_expression'),
  5384. CreateConstants.ATTRS_KEY: MappingValue({
  5385. StringValue('Attribute.name'): StringValue('name'),
  5386. StringValue('Attribute.type'): StringType()})
  5387. }))
  5388. cl = self.mvk.create(MappingValue({
  5389. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5390. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5391. CreateConstants.ATTRS_KEY: MappingValue({
  5392. StringValue('Inheritance.name'): StringValue('AbsState_i_ID'),
  5393. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsState'),
  5394. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  5395. }))
  5396. cl = self.mvk.create(MappingValue({
  5397. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5398. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5399. CreateConstants.ATTRS_KEY: MappingValue({
  5400. StringValue('Inheritance.name'): StringValue('PlainAssignment_i_Assignment'),
  5401. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.PlainAssignment'),
  5402. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Assignment')})
  5403. }))
  5404. cl = self.mvk.create(MappingValue({
  5405. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5406. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5407. CreateConstants.ATTRS_KEY: MappingValue({
  5408. StringValue('Association.to_max'): IntegerValue(1),
  5409. StringValue('Association.from_max'): InfiniteValue('inf'),
  5410. StringValue('Association.from_port'): StringValue('from_dictargument'),
  5411. StringValue('Association.to_min'): IntegerValue(1),
  5412. StringValue('Class.name'): StringValue('dictargument_labelexpression'),
  5413. StringValue('Association.to_port'): StringValue('to_expression'),
  5414. StringValue('Class.is_abstract'): BooleanValue(False),
  5415. StringValue('Association.from_min'): IntegerValue(0),
  5416. StringValue('Class.id_field'): StringValue('dictargument_labelexpression.name'),
  5417. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.DictArgument'),
  5418. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  5419. }))
  5420. cl = self.mvk.create(MappingValue({
  5421. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5422. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.dictargument_labelexpression'),
  5423. CreateConstants.ATTRS_KEY: MappingValue({
  5424. StringValue('Attribute.name'): StringValue('name'),
  5425. StringValue('Attribute.type'): StringType()})
  5426. }))
  5427. cl = self.mvk.create(MappingValue({
  5428. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5429. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5430. CreateConstants.ATTRS_KEY: MappingValue({
  5431. StringValue('Inheritance.name'): StringValue('Argument_i_ID'),
  5432. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Argument'),
  5433. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  5434. }))
  5435. cl = self.mvk.create(MappingValue({
  5436. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5437. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5438. CreateConstants.ATTRS_KEY: MappingValue({
  5439. StringValue('Association.to_max'): IntegerValue(1),
  5440. StringValue('Association.from_max'): InfiniteValue('inf'),
  5441. StringValue('Association.from_port'): StringValue('from_absmethod'),
  5442. StringValue('Association.to_min'): IntegerValue(1),
  5443. StringValue('Class.name'): StringValue('absmethod_actionblock_body'),
  5444. StringValue('Association.to_port'): StringValue('to_actionblock'),
  5445. StringValue('Class.is_abstract'): BooleanValue(False),
  5446. StringValue('Association.from_min'): IntegerValue(0),
  5447. StringValue('Class.id_field'): StringValue('absmethod_actionblock_body.name'),
  5448. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.AbsMethod'),
  5449. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  5450. }))
  5451. cl = self.mvk.create(MappingValue({
  5452. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5453. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.absmethod_actionblock_body'),
  5454. CreateConstants.ATTRS_KEY: MappingValue({
  5455. StringValue('Attribute.name'): StringValue('name'),
  5456. StringValue('Attribute.type'): StringType()})
  5457. }))
  5458. cl = self.mvk.create(MappingValue({
  5459. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5460. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5461. CreateConstants.ATTRS_KEY: MappingValue({
  5462. StringValue('Inheritance.name'): StringValue('And_i_Binop'),
  5463. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.And'),
  5464. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  5465. }))
  5466. cl = self.mvk.create(MappingValue({
  5467. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5468. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5469. CreateConstants.ATTRS_KEY: MappingValue({
  5470. StringValue('Association.to_max'): IntegerValue(1),
  5471. StringValue('Association.from_max'): InfiniteValue('inf'),
  5472. StringValue('Association.from_port'): StringValue('from_event'),
  5473. StringValue('Association.to_min'): IntegerValue(0),
  5474. StringValue('Class.name'): StringValue('event_parameter'),
  5475. StringValue('Association.to_port'): StringValue('to_parameter'),
  5476. StringValue('Class.is_abstract'): BooleanValue(False),
  5477. StringValue('Association.from_min'): IntegerValue(0),
  5478. StringValue('Class.id_field'): StringValue('event_parameter.name'),
  5479. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Event'),
  5480. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Parameter')})
  5481. }))
  5482. cl = self.mvk.create(MappingValue({
  5483. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5484. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.event_parameter'),
  5485. CreateConstants.ATTRS_KEY: MappingValue({
  5486. StringValue('Attribute.name'): StringValue('name'),
  5487. StringValue('Attribute.type'): StringType()})
  5488. }))
  5489. cl = self.mvk.create(MappingValue({
  5490. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5491. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5492. CreateConstants.ATTRS_KEY: MappingValue({
  5493. StringValue('Inheritance.name'): StringValue('Break_i_Statement'),
  5494. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Break'),
  5495. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Statement')})
  5496. }))
  5497. cl = self.mvk.create(MappingValue({
  5498. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5499. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5500. CreateConstants.ATTRS_KEY: MappingValue({
  5501. StringValue('Inheritance.name'): StringValue('Top_i_ActionBlock'),
  5502. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Top'),
  5503. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ActionBlock')})
  5504. }))
  5505. cl = self.mvk.create(MappingValue({
  5506. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5507. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5508. CreateConstants.ATTRS_KEY: MappingValue({
  5509. StringValue('Association.to_max'): IntegerValue(1),
  5510. StringValue('Association.from_max'): InfiniteValue('inf'),
  5511. StringValue('Association.from_port'): StringValue('from_transition'),
  5512. StringValue('Association.to_min'): IntegerValue(0),
  5513. StringValue('Class.name'): StringValue('transition_event_trigger'),
  5514. StringValue('Association.to_port'): StringValue('to_event'),
  5515. StringValue('Class.is_abstract'): BooleanValue(False),
  5516. StringValue('Association.from_min'): IntegerValue(0),
  5517. StringValue('Class.id_field'): StringValue('transition_event_trigger.name'),
  5518. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Transition'),
  5519. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Event')})
  5520. }))
  5521. cl = self.mvk.create(MappingValue({
  5522. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5523. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.transition_event_trigger'),
  5524. CreateConstants.ATTRS_KEY: MappingValue({
  5525. StringValue('Attribute.name'): StringValue('name'),
  5526. StringValue('Attribute.type'): StringType()})
  5527. }))
  5528. cl = self.mvk.create(MappingValue({
  5529. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5530. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5531. CreateConstants.ATTRS_KEY: MappingValue({
  5532. StringValue('Association.to_max'): IntegerValue(1),
  5533. StringValue('Association.from_max'): InfiniteValue('inf'),
  5534. StringValue('Association.from_port'): StringValue('from_selfexpression'),
  5535. StringValue('Association.to_min'): IntegerValue(0),
  5536. StringValue('Class.name'): StringValue('selfexpression_dotexpression'),
  5537. StringValue('Association.to_port'): StringValue('to_dotexpression'),
  5538. StringValue('Class.is_abstract'): BooleanValue(False),
  5539. StringValue('Association.from_min'): IntegerValue(0),
  5540. StringValue('Class.id_field'): StringValue('selfexpression_dotexpression.name'),
  5541. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.SelfExpression'),
  5542. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.DotExpression')})
  5543. }))
  5544. cl = self.mvk.create(MappingValue({
  5545. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5546. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.selfexpression_dotexpression'),
  5547. CreateConstants.ATTRS_KEY: MappingValue({
  5548. StringValue('Attribute.name'): StringValue('name'),
  5549. StringValue('Attribute.type'): StringType()})
  5550. }))
  5551. cl = self.mvk.create(MappingValue({
  5552. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5553. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5554. CreateConstants.ATTRS_KEY: MappingValue({
  5555. StringValue('Inheritance.name'): StringValue('Mod_i_Binop'),
  5556. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Mod'),
  5557. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Binop')})
  5558. }))
  5559. cl = self.mvk.create(MappingValue({
  5560. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5561. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5562. CreateConstants.ATTRS_KEY: MappingValue({
  5563. StringValue('Inheritance.name'): StringValue('CompositeArgument_i_ID'),
  5564. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.CompositeArgument'),
  5565. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  5566. }))
  5567. cl = self.mvk.create(MappingValue({
  5568. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Association'),
  5569. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5570. CreateConstants.ATTRS_KEY: MappingValue({
  5571. StringValue('Association.to_max'): IntegerValue(1),
  5572. StringValue('Association.from_max'): InfiniteValue('inf'),
  5573. StringValue('Association.from_port'): StringValue('from_declaration'),
  5574. StringValue('Association.to_min'): IntegerValue(0),
  5575. StringValue('Class.name'): StringValue('declaration_expression_init'),
  5576. StringValue('Association.to_port'): StringValue('to_expression'),
  5577. StringValue('Class.is_abstract'): BooleanValue(False),
  5578. StringValue('Association.from_min'): IntegerValue(0),
  5579. StringValue('Class.id_field'): StringValue('declaration_expression_init.name'),
  5580. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Declaration'),
  5581. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Expression')})
  5582. }))
  5583. cl = self.mvk.create(MappingValue({
  5584. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Attribute'),
  5585. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD.declaration_expression_init'),
  5586. CreateConstants.ATTRS_KEY: MappingValue({
  5587. StringValue('Attribute.name'): StringValue('name'),
  5588. StringValue('Attribute.type'): StringType()})
  5589. }))
  5590. cl = self.mvk.create(MappingValue({
  5591. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5592. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5593. CreateConstants.ATTRS_KEY: MappingValue({
  5594. StringValue('Inheritance.name'): StringValue('Target_i_ID'),
  5595. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Target'),
  5596. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.ID')})
  5597. }))
  5598. cl = self.mvk.create(MappingValue({
  5599. CreateConstants.TYPE_KEY: LocationValue('protected.formalisms.SimpleClassDiagrams.Inheritance'),
  5600. CreateConstants.LOCATION_KEY: LocationValue('protected.formalisms.SCCD'),
  5601. CreateConstants.ATTRS_KEY: MappingValue({
  5602. StringValue('Inheritance.name'): StringValue('Aggregation_i_Relationship'),
  5603. StringValue('from_class'): LocationValue('protected.formalisms.SCCD.Aggregation'),
  5604. StringValue('to_class'): LocationValue('protected.formalisms.SCCD.Relationship')})
  5605. }))