Category Archives: UML

Getting taggedvalues in runtime without code

When you use WECPOF you can create a whole system with use of the Model alone. As you do you might want to pick up information stored in the TaggedValues of the model. You can do that like this: G.allinstances->first.oclType.TaggedValue(‘Eco.PresentationUnit’) … Continue reading

Posted in OCL, WECPOF | 1 Comment

Everyone is in the cloud

So – these days everyone is in the cloud so how come I’m not? I guess that this is a question we all ask ourselves from time to time or not… Well I felt a strong need for “dogfooding” on … Continue reading

Posted in ASP.NET, AppComplete, AppCompleteCloud, Azure, Documtr, Modlr, UML, VisualStudio, WCF | 2 Comments

A sample that shows EVERYTHING there is to know about ECO

With a header like that I guess I am bound to fail – but such a sample is missed. The target audience for a sample like that is: Myself and others at CapableObjects needing to check a thing or two … Continue reading

Posted in CO-Unique, MS-Technology, Strategies, UML, VisualStudio | 1 Comment

Custom types and custom operations in OCL

We got this Question: I have an attribute of type TestStruct defined on a class. TestStruct is defined as follows: Code Snippet public struct TestStruct : IComparable {   public int Int1 { get; private set; }   public int Int2 { … Continue reading

Posted in EcoActionLanguage, OCL | 1 Comment

Modlr plugin

A Plugin interface is an easy way to allow for you to add your own extensions. We have now extended the Plugin with yet another interface to facilitate the adding of custom ocl operations. This way the design time functions … Continue reading

Posted in CO-Unique, Modlr, OCL, Plugin | 7 Comments

The oclSingleton ocl operator

There is an operator in ocl that I bet you do not know about yet: oclSingleton. Use it like this: Class1.oclSingleton <and follow with operations or navigations on that single instance> If Class1 does not have an instance at the … Continue reading

Posted in OCL, UML | Leave a comment

Side effects

From time to time you want to have side effects trigger when changing something in the objects. There are many valid reasons for this to happen – but it is not always the best way to solve things (just a … Continue reading

Posted in CO-Unique, Declarative, MDA, Packages | Leave a comment

Enumerations in Modlr

One weakness that we recently rectified was the lack of enumeration definitions inside Modlr. Before you have to just assign an Enumerable type name to an attribute like so: And then accept that Modlr treated your attribute of type string … Continue reading

Posted in UML | Leave a comment