Constraints on an ObjectFlow (from BasicActivities, CompleteActivities)
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
Re: [UML Forum] Activity diagram and concurrency synchronization
Why don't you try the sequence Diagram?
;-)
Liv.
2010/1/26 Robbo <house...@gmail.com>
Re: [UML Forum] modeling max function using Activitiy Diagram
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.
Activity diagram and concurrency synchronization
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
Re: [UML Forum] modeling max function using Activitiy Diagram
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
Re : [UML Forum] modeling max function using Activitiy Diagram
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 ?
Re: [UML Forum] modeling max function using Activitiy Diagram
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.
Re : [UML Forum] modeling max function using Activitiy Diagram
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...
Re: [UML Forum] modeling max function using Activitiy Diagram
It seems that you are thinking about C++ code in place to think of UML.
2010/1/25 asma <charfia...@gmail.com>
Re: [UML Forum] How to use composition in an UML diagram
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
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
modeling max function using Activitiy Diagram
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
Re: [UML Forum] How to use composition in an UML diagram
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
Re: [UML Forum] How to use composition in an UML diagram
between an UML about classes and objects? (correct me if I'm wrong please)
Thanks!
2010/1/22 Livia Pérez <liviape...@gmail.com>
Interview with the creator of TextUML
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
Re: [UML Forum] How to use composition in an UML diagram
[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).
Mixing use cases, classes,states... in a single diagram with Gaphor
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.
-->RE: [UML Forum] How to use composition in an UML diagram
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]
UMLCanvas - bringing UML diagrams to the web
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).
-->Meta-Modellers Anonymous
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:


