Skip to content

Feed aggregator

Constraints on an ObjectFlow (from BasicActivities, CompleteActivities)

UML Forum Google Group - 31 min 40 sec ago
Hello everyone,
I was inspecting constraints on ObjectFlow (from BasicActivities,
CompleteActivities) in the UML Superstructure Specification, v2.2.
(page 389).
I am wondering if there wasn't an issue with one of them.
Indeed, constraint [2] Package BasicActivities specifies :
"Object nodes connected by an object flow, with optionally intervening
Categories: Communities

Re: [UML Forum] Activity diagram and concurrency synchronization

UML Forum Google Group - 31 min 40 sec ago
Robbo,
Why don't you try the sequence Diagram?
;-)
Liv.
2010/1/26 Robbo <house...@gmail.com>
Categories: Communities

Re: [UML Forum] modeling max function using Activitiy Diagram

UML Forum Google Group - 31 min 40 sec ago
Sorry...
I really cant't understand where's the doubt about this...
You need a activity do "input parameters", and another one to "calculate
value".
So you need a decision point If the value returned is X, you get a way to a
activity X... But if the value returned is Y, you get another way to a
activity Y.
Categories: Communities

Activity diagram and concurrency synchronization

UML Forum Google Group - 31 min 40 sec ago
Hello,
I'd like to use UML modeling (I thought about activity diagram) for
representing the flow of two threads that use binary semaphores.
How could I represent the semphores and the P and V primitives?
I thought about sequential diagram, where I can represent P and V
using signals, but If I use sequantial diagram I don't know how to
Categories: Communities

Re: [UML Forum] modeling max function using Activitiy Diagram

UML Forum Google Group - 31 min 40 sec ago
Hello Michael,
Thank you very much for your answer, but I prefer an AD that map directly to
the C++ source code (in my C++ code I have not the instructions: int c= a-b;
if (c<0) else ...
1) in your first solution, I do not understand the last sentense: "... which
would then go to the return value"
the return value is the out put parameter of the activity, Can I put 2
Categories: Communities

Re : [UML Forum] modeling max function using Activitiy Diagram

UML Forum Google Group - 31 min 40 sec ago
Hello Michael,
Think you very much for your answer, but I prefer an AD that map directly to the C++ source code (in my C++ code I have not the instructions: int c= a-b; if (c<0) else ...
1) in your first solution, I do not understand the last sentense: "... which would then go to the return value"
the return value is the out put parameter of the activity, Can I put 2 incomings edges to this output parameter? I thik I could not, so in this case, I have to put a merge node or 2 output parameters. Is this what you have meant ?
Categories: Communities

Re: [UML Forum] modeling max function using Activitiy Diagram

UML Forum Google Group - 31 min 40 sec ago
Well, this is particularly silly thing to do ---
there are several ways.
1)
both a and b could go into the same action, which could subtract b from a (result=a-b)
the result could go the decision node, which would test on <=0 or  > 0.
Depending on the result the flow would go to a different action. Each action would have two inputs, one the result from the test and the other the appropriate a or b value, which would then go to the return value.
Categories: Communities

Re : [UML Forum] modeling max function using Activitiy Diagram

UML Forum Google Group - 31 min 40 sec ago
Hello Péréz,
The UML Activity Diagram is used to model behaviour of operations (the code of operations)
here I have an UML class with operation called max that take 2 parameters and has a type of int.
the  C++ code  is the behavior of max operation, I try to model this usin AD and UML actions...
Categories: Communities

Re: [UML Forum] modeling max function using Activitiy Diagram

UML Forum Google Group - 31 min 40 sec ago
Sorry, but I can't understand... Where's the UML here?
It seems that you are thinking about C++ code in place to think of UML.
2010/1/25 asma <charfia...@gmail.com>
Categories: Communities

Re: [UML Forum] How to use composition in an UML diagram

UML Forum Google Group - 31 min 40 sec ago
I Agree with you, Lahman.
I was writhing almost the same answer when I saw you e-mail.
UML is not so easy as it seems.
Here in Brazil theres a post-graduation course about UML. I think there's
another courses like this around the world.
A Forum is not the best way to learn... The best way to learn is starting to
Categories: Communities

modeling max function using Activitiy Diagram

UML Forum Google Group - 31 min 40 sec ago
modeling max function using Activitiy Diagram
...
Lun 25 Janvier 2010, 11 h 32 min 13 s
De :
charfi asma <charfia...@yahoo.fr> [Discutez !]
...
Voir le contact
À : umlforum@googlegroups.com
Hello,
I tried to model this C++ function using AD(we assume that there is an
operation named max in class Class0, and the AD will model the
Categories: Communities

modeling max function using Activitiy Diagram

UML Forum Google Group - 31 min 40 sec ago
Hello,
I tried to model this C++ function using AD(we assume that there is an operation named max in class Class0, and the AD will model the behaviour of that operation)
int max (int a, int b)
{
if a < b
return b
else
return a;
I tried to use activity parameter nodes with 2 input parameter (int a and int b) et one outpout parameter
Categories: Communities

Re: [UML Forum] How to use composition in an UML diagram

UML Forum Google Group - 31 min 40 sec ago
Responding to Man...
UML classes are simply sets of objects. The set is defined by the
responsibilities that all objects in the set must have.
Objects abstract identifiable problem space entities.
The questions you are asking are very basic. I would strongly suggest
getting a book on UML and reading it. UML and the methodologies for
Categories: Communities

Re: [UML Forum] How to use composition in an UML diagram

UML Forum Google Group - 31 min 40 sec ago
Ah, thanks for your responses guys, but is there an actual difference
between an UML about classes and objects? (correct me if I'm wrong please)
Thanks!
2010/1/22 Livia Pérez <liviape...@gmail.com>
Categories: Communities

Interview with the creator of TextUML

UML Forum Google Group - 31 min 40 sec ago
TextUML is a textual modeling tool for UML that lets you "create
models at the same speed you write code". That sounds promising,
doesn't it?. Intrigued to know more about this tool, I had a virtual
coffee with Rafael Chaves (the creator of this tool) to better
understand TextUML (why creating it?, how is it developed?, what are
Categories: Communities

Re: [UML Forum] How to use composition in an UML diagram

UML Forum Google Group - Fri, 01/29/2010 - 11:43
There's another example...
[Product]*-------------------* [Shopping
Cart]*--------------------1[Cu stomer]
Obs.: Shopping Cart is just a customer's product list.
You can have many Customer's shopping carts with many products into.
The Shopping Cart class can have this attributes: (code, date,
customer_code, product_code, product_quantity, product_cost, total_cost).
Categories: Communities

Mixing use cases, classes,states... in a single diagram with Gaphor

Software Modeling Blog - Thu, 01/28/2010 - 15:15

Some monts ago, Greg Wilson and I talked about how nice it would be to be able to mix different kinds of model elements (as use cases, classes, states,...) in the same UML diagram.

This is specially useful when using UML as Sketch in order to communicate your design ideas with other members of the team.

-->

 

read more

Categories: Blogs

RE: [UML Forum] How to use composition in an UML diagram

UML Forum Google Group - Wed, 01/27/2010 - 02:03
FWIW
In reality, students register for a section of a course!
An active course has one or more sections.
Bob
-----Original Message-----
Of H. S. Lahman
Sent: Thursday, January 21, 2010 11:31 AM
To: umlforum@googlegroups.com
Responding to Man...
This is a somewhat different issue: multiplicity.
[Registration]
Categories: Communities

UMLCanvas - bringing UML diagrams to the web

Software Modeling Blog - Tue, 01/26/2010 - 22:24

The UMLCanvas project is an important component of the WebUML initiative (commented here )

UmlCanvas is a Javascript library that turns an HTML5 Canvas element into a dynamic and interactive UML diagram editor (only for class diagrams so far).

-->

 

read more

Categories: Blogs

Meta-Modellers Anonymous

Software Modeling Blog - Tue, 01/26/2010 - 21:54

I've found my support group: Meta-Modelers Anonymous (MMA) .

From their web page:
MMA is a support network to help those unfortunate people who are seriously addicted to meta-modelling. You should contact us if you or someone you know suffers from any of the following symptoms. We are here to help. Symptoms:

-->

 

read more

Categories: Blogs