UML for a migration project.
I'm fairly new to UML, but I'm trying to integrate it into projects as
I get the opportunity.
Currently I'm working on a migration project and I'm using Enterprise
Architect to document the target database including adding
constraints. I then generate DDL to create a target database and write
Re: [UML Forum] Activity Diagram: Concept and clear traceability of data tokens
That's fine. It is really determined by the methodology that makes
things play together. Not everything in UML needs to be used in every
application; it is a hybrid notation intended to support quite different
construction approaches.
In this case what you describe is more Domain Modeling or a form of
Re: [UML Forum] Activity Diagram: Concept and clear traceability of data tokens
all was very interesting. At the moment I am using them very
extensive to describe workflows which are not yet modelled in terms of
classes and methods. They shall picture the next level after Use
Cases, so which part takes (in general) an action or how (a very small
how to make UML class diagram for MVC-application?
please help
and sorry for broken english
got a project on cakePHP
i need to make a class diagrams
its for my university
i've got 4 controllers and 4 models. each controller has one or many
views.
so
how do people usually draw class diagrams for it
sorry
How to create InstanceSpecification from ExecutionEnvironment (or Component)
I would like to create an InstanceSpecification object from an
ExecutionEnvironment one (or Component).
Is there a way to do it with the UML2 API?
Thanks in advance.
Nicolas
CfP: The 10th workshop on Domain-Specific Modeling
Reno/Tahoe, Nevada, USA, 17-18 October 2010
[link]
Domain-specific modeling (DSM) provides a modern solution to demands
for higher productivity by constricting the gap between problem and
solution modeling. In the past, productivity gains have been sought
ATL wins the Best Live model synchronization award at the Tool Transformation Contest 2010
The ATL team (composed by Frédéric Jouault and Dennis Wagelaar ) won the Best Model Synchronization award at the live contest hold during the Tool Transformation Contest 2010 event. Check the TTC web page for more information on the contest and the winners of other awards (if not yet there, they will add this information soon)
-->ATL 3.1.0 is available
ATL 3.1.0 has just been released.
As many of you already know, ATL is a model transformation language and toolkit available as an Eclipse/M2M component. In the field of Model-Driven Engineering (MDE), ATL provides ways to produce a set of target models from a set of source models. This release brings a lot of improvements, both at the user interface level and core level. Read the
new improvements of this version !
Atego launches Atego Process Director
List of bloggers on MDE topics
Xavier Seignard has posted a list of all MDE bloggers he follows. The list looks quite complete (of course you should add him to the list!)
Remember that my own selected selection of bloggers on MDE (or software engineering in general) is available here
Another nice list of free/open source UML tools
Executable UML with Enterprise Analyst
Enterprise Analyst (EAn) is an MDA tool for rapid and precise system prototyping basen on UML models. Its ultimate goal is to offer a full UML based implementation platform as can be seen in the following tool schema
Showing inherited and implemented methods
scenario.
Given two interfaces I1 and I2. Logically, if the language permitted
it, I would structure these as I2 inheriting from I1, but the language
in question does not currently support interface inheritance.
There are one or more concrete classes C1, C2, etc. Each is an
Re: [UML Forum] multiplicity constraints
Re: [UML Forum] multiplicity constraints
azzam wrote, On 5/25/2010 1:16 AM:
Once in a great while I will use this, although I can't remember if it's
always temporary. Sometimes, rather than saying that class A has an
association with every subclass of class B, I'll just say class A has an
association with B and make the max multiplicity the number of subclasses.
Re: [UML Forum] multiplicity constraints
Well, they should -- provided the constraints exist in the problem
space. Remember that UML models abstract some reality and not all
realities are constrained the same way. However,...
First, let me point out that 0- refers to conditionality, not
multiplicity. That is, it defines whether the association can be
[UML Forum] multiplicity constraints
UML offers several constraints, such as multiplicity constraints,
generalization set constraints, subsetting, and redefinitions. Recently I
began to wonder about the importance of these constraints in real models
(besides DATA BASE world). Actually, I was surprised that most examples I
Cursored or non Cursored
Cursored set up is what we call the standard dialog display of one to many relationships. Like in normal master detail displays when the master has a current value, a cursor, that controls what details to show.
The non Cursored set up would be more like a tree – something that displays details for every parent available, not just the parent selected (the current master). This is what treeviews and reports do and it is something we want to be able to do using viewmodels as well.
Consider this model
And this ViewModel:
The ViewModelUserControl uses a cursored set up when generating a UI:
1: <StackPanel Height="262" VerticalAlignment="Top" >
2: <Button Background="Yellow" Click="Button_Click">
3: <TextBlock Text="Click to Create New and Set in ViewModel" ></TextBlock>
4: </Button>
5: <viewmodel:ViewModelWPFUserControl Background="Azure" Name="viewModelWPFUserControl1"
6: EcoSpaceType="{x:Type eco:EcoProject12EcoSpace}"
7: ViewModelName="SampleViewModel" />
8: </StackPanel>
Giving us this in VisualStudio WPF Designer:
And in this UI the Cursor set up sees to it that the Class3 grid only shows the Class3 objects owned by the current row in the Class2 grid; this is the standard behavior.
Nothing new here for ECO5 developers really.
In ECO6 for Visual Studio 2010 we added a new ViewModel consumer: the BindableViewModel.
This component replaces the ViewModelContent (ViewModelContent is not removed, and BindableViewModel use ViewModelContent under the hood).
The reason for adding BindableViewModel is mainly to provide Design time binding support. This was not possible in the WPF designer for Visual Studio 2008, but it is for Visual Studio 2010.
Check out this code that defines two BindableViewModels one cursored and one that is not cursored:
1: <Window.Resources>
2: <wecpof:BindableViewModel x:Key="BindVM"
3: EcoSpaceType="{x:Type eco:EcoProject12EcoSpace}"
4: ViewModelName="SampleViewModel"
5: Cursored="True"></wecpof:BindableViewModel>
6: <wecpof:BindableViewModel x:Key="BindVM2"
7: EcoSpaceType="{x:Type eco:EcoProject12EcoSpace}"
8: ViewModelName="SampleViewModel"
9: Cursored="False"></wecpof:BindableViewModel>
10: </Window.Resources>
We can then use the artifacts within the viewmodel.
Check out this treeview that use the non cursored BindableViewModel:
1: <StackPanel DataContext="{StaticResource BindVM2 }" Background="Red">
2: <TextBlock x:Name="MyTextBlock2"
3: Text="{Binding Path=SampleViewModel/Class2/Name}"></TextBlock>
4: <TreeView ItemsSource="{Binding Path=SampleViewModel/Class2}" >
5: <TreeView.ItemTemplate>
6: <HierarchicalDataTemplate ItemsSource="{Binding Path=Class3}" >
7: <HierarchicalDataTemplate.ItemTemplate>
8: <HierarchicalDataTemplate>
9: <TextBlock Text="{Binding Path=AsString}"></TextBlock>
10: </HierarchicalDataTemplate>
11: </HierarchicalDataTemplate.ItemTemplate>
12: <TextBlock Text="{Binding Path=Name}"></TextBlock>
13: </HierarchicalDataTemplate>
14: </TreeView.ItemTemplate>
15:
16: </TreeView>
17: </StackPanel>
It looks like this at runtime:
ConclusionEven if you are not going to use the Generated UI capabilities provided by the ViewModelUserControls you can still use the ViewModel-definitions. The ViewModel is a good place to keep any and all transformations you need between your domain layer and your presentation. The ViewModel also holds the infrastructure for verifying OCL expression and for Validation definitions (Described here). And now with the ability to use both a Cursored set up and a non Cursored set up the argument is even stronger. Top this with design time support to the bind to the ViewModel-classes and columns.
Jolt awards for the best design and modeling tool
Greg Wilson sent me a link to the prestigious Jolt Awards that include a category for the best design and modeling tool . Don't forget to send your nomination (but no need to hurry, according to this our category is open until July next year)
-->Top 5 posts in May 2010
Time to review the five most popular blog eentries in May 2010 (according to your votes: number of votes=number of clicks on the post)are, in this order,:
- Discussion about big companies starting to believe in model-driven development
- Modeling and implementation of physical mobile workflows






