Skip to content

UML Forum Google Group
Syndicate content
This group discusses topics related to the specification and application of the Unified Modeling Language.
Updated: 1 day 13 hours ago

Re: [UML Forum] [ANN]: Workflow Simulation and Execution of an UML Design

Sat, 08/14/2010 - 01:05
Responding to Support...
While interesting this approach seems to be highly tailored to the
specific problem (i.e., the simulator itself needs to be constructed for
each model by the developer). You might want to check out the MDA
Translation tools that are available (e.g., xUML, Bridgepoint, PathMATE,
Categories: Communities

Re: Multiplicity

Fri, 08/13/2010 - 18:48
This is the C/C++/Java syntax. As a result most of your readers should
be able handle it.

But, as far as I can tell from the UML standard it is not legal UML --
only a single "Multiplicity Element" is allowed.

On the other hand, people commonly write "void name(int data)" when
the UML is "name(data:int)".

Categories: Communities

[ANN]: Workflow Simulation and Execution of an UML Design

Fri, 08/13/2010 - 18:48
Hi all,

Here is another example of how to simulate and execute an UML Design:

[link]

Any question are welcome...

Best Regards,
Bruno

Categories: Communities

Multiplicity

Fri, 08/13/2010 - 18:48
I'm writting a class diagram that has an attribute of the type int.
The attribute is a 2D array of 4 by 12.

How can I write this attribute down ?

- score : int [12] { Bag }

This is a normal array of 12 elements of the type int. But each
element should be an array of again 4 elements of the type int.

Categories: Communities

SPLASH (OOPSLA) 2010 Workshop on Flexible Modeling Tools

Thu, 08/12/2010 - 18:20
CALL FOR PAPERS AND DEMONSTRATIONS

SPLASH 2010 Workshop on Flexible Modeling Tools
[link]

Monday, October 18, 2010, Reno, Nevada, USA. (In conjunction with
SPLASH/OOPSLA/Onward!)

"Flexible modeling tools" hold the promise of bridging the gap
between formal modeling and free-form authoring. This workshop will

Categories: Communities

UML Lovers group

Thu, 08/12/2010 - 18:20
Dear UML colleagues,
there's a group I created two years ago with some (I hope) interesting
discussions and links.

We are interested in UML and our contributions are mostly about the
UML ad used by Analysts and Business Analysts, a little less on the
pure technical side.

Everyone is welcome

Categories: Communities

RE: [UML Forum] Understanding Relationships for Class Diagram

Thu, 08/12/2010 - 18:20
Thanks Lahman, I got my answer... :)
Regards,
Sanjay Amin
Wipro Technologies
+91-20 30 96 02 07 (O) | +91-95 27 00 27 37 (M) | 8540207 (VOIP)
-----Original Message-----
Behalf Of H. S. Lahman
Sent: Wednesday, July 14, 2010 8:47 PM
To: umlforum@googlegroups.com
Responding to sanjay.amin...
And it was answered in my previous message. Evidently I was not clear
Categories: Communities

AW: [UML Forum] Understanding Relationships for Class Diagram

Thu, 08/12/2010 - 12:19
As mentioned, this depends on how your code is structured.

If you're creating a global attribute of Class B within Class A, this can be
achieved by an association. But an association doesn't indicate the calling
of an operation. Therefore, you must make use of a behavioral description in
the classifier behavior. Within classifier behavior you're able to describe

Categories: Communities

Re: [UML Forum] Understanding Relationships for Class Diagram

Wed, 08/11/2010 - 11:44
Responding to sanjay.amin...
And it was answered in my previous message. Evidently I was not clear
enough, so I will try again...
This *sounds* like composition; B is part of A's implementation and
therefore A control's B's disposition (life cycle). But, as I explained
in my previous message, it depends on the OOPL you are modeling (i.e.,
Categories: Communities

RE: [UML Forum] Understanding Relationships for Class Diagram

Wed, 08/11/2010 - 11:44
Thanks all for your inputs.

My question is very simple.

- I have a class named A
- I have a class named B
- I am creating an instance of class B inside class A
- I am calling a method of class B inside class A after
creating an instance of class B
- I am using an output of the operation of B in class A for

Categories: Communities

Re: [UML Forum] Understanding Relationships for Class Diagram

Tue, 08/10/2010 - 17:12
Hi Sanjay
For myself if I would usually expect a Java instance variable that refers to
some classes to be an association of some type (providing that class isn't
just a data type).
With your example though you have an instance variable that isn't actually
being used by any method. It such it serves no purpose as object state so I
Categories: Communities

RE: [UML Forum] Understanding Relationships for Class Diagram

Sat, 08/07/2010 - 15:47
Sanjay,

There are some problems with your example. Create it, compile it, and see
if it works.

I think the point you are asking is whether A is Dependent upon B's name.
Am I correct?
"A dependency is a relationship that signifies that a single or a set of
model elements requires other model elements for their specification or

Categories: Communities

AW: [UML Forum] Understanding Relationships for Class Diagram

Fri, 08/06/2010 - 02:54
Responding to Sanjay.

Your snippet represents neither an association nor a dependency. As I
mentioned in my previous mail, a dependency is more or less a meta-concept,
indicating that a class is using another class. For my understanding a
dependency would result in the javadoc of class A.

Look to a similar snippet of your's:

Categories: Communities

Re: [UML Forum] Understanding Relationships for Class Diagram

Mon, 08/02/2010 - 19:02
Responding to sanjay.amin...
It is confusing because they model different things so they can overlap
for the same classes. The first four describe relationships between
n-ary relations in relational theory. Dependency describes physical
coupling at the 3GL level. That is, dependency describes what one object
Categories: Communities

[UML Forum] Understanding Relationships for Class Diagram

Mon, 08/02/2010 - 19:02
Hi Ken,

I know about the relationships categorized as following.

* association
* aggregation
* composition
* generalization
* dependency

What I want to know is precise definitions of each and when to use that
kind of relationship (scenario). I read some UML documents, but still
not clear about when to use dependency and when to use association.

Categories: Communities

RE: [UML Forum] Primitive Type musn't be a DataType

Mon, 08/02/2010 - 19:02
Sanjay,

There are many Relationships (graph edges) in the UML. Associations and
Dependencies are just two. Compare Associations between classes with Links
between Objects.

The two representations of ClassA, below (or attached), are almost identical
(assuming b::ClassB in the top representation MUST exist). This Association

Categories: Communities

RE: [UML Forum] Primitive Type musn't be a DataType

Mon, 08/02/2010 - 19:02
All,

The original edition "The Unified Modeling Language Reference Manual" by
Rumbaugh, Jacobson and Booch (Addison-Wesley) is available online at:

[link]
ge%20Reference%20Manual.pdf

Note: This details UML 1.x. It illustrates many excellent concepts, but not

Categories: Communities

Re: [UML Forum] Primitive Type musn't be a DataType

Mon, 08/02/2010 - 19:02
Hi Ken Lloyd,
Can you please help me I want to learn UML from scratch.
How to design class diagram ,object diagram in UML.
Can you please suggest any source over internet from where i can learn UML
language othet than from basic
other than
[link]
[link]
Thanks
Vinay
Please help me then I would be thankful to you
Categories: Communities

AW: [UML Forum] Primitive Type musn't be a DataType

Mon, 08/02/2010 - 19:02
Responding to Sanjay.

It depends on what do you want to express. Dependencies can be used to say,
that class A uses class B somehow, this indicates the usage of class B's
methods as well. It is a kind of meta-concept, saying that there is a
logical relationship between both classes. By using an association, you

Categories: Communities

RE: [UML Forum] Primitive Type musn't be a DataType

Mon, 08/02/2010 - 19:02
Hi Ken,

Thanks a lot for the information. The links are pretty useful.

I am using Java. I have a java class and I am calling other java class
by creating an instance and calling some of its method. Is this
indicates dependency or association? Where can I find few examples
related to class diagrams and relationships?

Categories: Communities