Skip to content

Feed aggregator

Re: [UML Forum] Help with school project with UML diagram

UML Forum Google Group - Thu, 05/09/2013 - 01:35
Hi Itay Z,

Can I suggest some points to consider.
1. I only see one Actor here - the Customer - and three systems - Release1, Release2 and Release3. Dispatcher and System are not actors - they are the systems (or part thereof in the case of Dispatcher) that are the subject of the use cases. The system (the use case "subject") is already represented by the box around the set of use cases. You have these for Release 1, 2, 3.

Categories: Communities

class diagrams in lieu of component diagrams?

UML Forum Google Group - Thu, 05/09/2013 - 01:35
Hello - When I use UML for conceptual diagrams, class diagrams feel like
the most useful and descriptive UML diagram to use. I feel like I can use
class diagrams descriptively and consistently with pretty good success. It
seems like a class diagram can be used instead of a component diagram in
most scenarios. Do you agree? For example, this afternoon I was studying
Categories: Communities

Re: [UML Forum] Help with school project with UML diagram

UML Forum Google Group - Thu, 05/09/2013 - 01:35
Responding to Z...

It's refreshing that you actually did some work. Alas, many students
come on the forum and just ask us to solve the problem for them.

It is pretty close; I mostly just have a couple of quibbles...

You have two Order A Ticket uses cases. Presumably they do the same
thing, so you only need one. Just have the Call and Web versions link to

Categories: Communities

Help with school project with UML diagram

UML Forum Google Group - Thu, 05/09/2013 - 01:35
I need to present a new railway information system. the system enables the
customers to order a ticket and to do a check-in with extra payment.
at first release, the customers can do it only by phone, second release- by
website, last release - by smartphone app.
Is the attached diagram is good enought?
Categories: Communities

Re: [UML Forum] I need to ask about the object class, but it's a bad practice. Alternatives for this case?

UML Forum Google Group - Thu, 05/09/2013 - 01:35
Responding to GaL...

Note that your diagram is not a Strategy pattern because the subclasses
have different behaviors. So trying to access them polymorphically
through the superclass is a no-no. That's the real reason you have a
problem by needing to test the class.

The relationship from [Employee] to [IdentificationStrategy] has to be

Categories: Communities

Re: I need to ask about the object class, but it's a bad practice. Alternatives for this case?

UML Forum Google Group - Thu, 05/09/2013 - 01:35
Why shouldn't an Employee have both a QR code and a fingerprint registered,
and be able to use either?

This is a tautology: this has to be a kind of QrIdStrategy, because it *is*
a QrIdStrategy.
I'm confused by the fact that id in the abstract
IdentificationStrategy.equalsT o isn't of the same type as the id in the

Categories: Communities

I need to ask about the object class, but it's a bad practice. Alternatives for this case?

UML Forum Google Group - Thu, 05/09/2013 - 01:35
Hi! I'm having trouble extending an application. It is an attendance record
system. Currently each employee records attendance by a card that has a QR
code. Now they want to add fingerprint recognition, and there was no
problem until they asked for two forms of identification must coexist in
the system. Thus, the system must be able to sense QRs of the employee, but
Categories: Communities

UML QoS

UML Forum Google Group - Thu, 05/09/2013 - 01:35
Hello,
Is the UML QoS standard from Omg was used by communities of research or
scientific work, if so which work please.
I think the documentation of UML QoS from omg site is not very clear (the
concepts are not well defined) is there any other clearer documentation with
examples.
thank you
Categories: Communities

Iterative development and tests: how to aim at moving targets

UML Forum Google Group - Tue, 04/30/2013 - 05:54
Test driven development can be seen as a mirror image of model driven
development, a somewhat logical consequence considering the limited role of
models in agile approaches.
The downside is that without fully defined objectives, there is a question
mark on the kind of reference against which programs are to be tested;
Categories: Communities

Re: valid to use both an aggregation and dependency connector between 2 classes?

UML Forum Google Group - Tue, 04/30/2013 - 05:54
Perhaps the figure helps explain why it may be ok to model both an
Association and a Dependency between two UML Classes. From what you stated,
you do not need the Dependency you cited for the reason you cited. That is,
you do not need to model a Dependency from Parent to Child in addition to
the Association you have already modeled simply to indicate that a Parent
Categories: Communities

Re: [UML Forum] Re: valid to use both an aggregation and dependency connector between 2 classes?

UML Forum Google Group - Tue, 04/30/2013 - 05:54
It sounds to me as though the appropriate UML construct to use in this
situation is to depict the repeater as an association class connecting the
user control on the WebForm with the child control.

This is conditional on whether the modelling tool you use supports this and
avoids the need to create two relationships. The other plus is that it is

Categories: Communities

Re: [UML Forum] Re: valid to use both an aggregation and dependency connector between 2 classes?

UML Forum Google Group - Tue, 04/30/2013 - 05:54
Responding to dotnetguy...

My condolences. How to Learn Bad OO Practices in 2000 Easy Lessons.

I agree with Wright. Webforms is an implementation technology while UML
encodes OOA/D. Figure out what the user wants to do with the UI and
model that. Then figure out if and how you might want encode it in

Categories: Communities

Re: [UML Forum] Re: valid to use both an aggregation and dependency connector between 2 classes?

UML Forum Google Group - Sat, 04/27/2013 - 17:35
which indicates aggregation.

No, Composition is 1:Many.

shows that the parent actively sets properties on the child.
relationship for a casual viewer of the diagram.
proper way to do this in UML that illustrates the relationship and
interaction as well to the casual viewer?

Define "proper" :-)

Categories: Communities

UMLtoSQL, UMLtoSymfony/PHP and UMLtoDjango/Python are now open source

UML Forum Google Group - Sat, 04/27/2013 - 17:35
Just released a set of Java classes to generate SQL / Python-Django domain
models / PHP-Symfony domain models from UML class diagrams. Open Source
License.

If you want to know more, full details are available in:

[link]

Categories: Communities

Re: [UML Forum] valid to use both an aggregation and dependency connector between 2 classes?

UML Forum Google Group - Sat, 04/27/2013 - 17:35
In problem domain terms, please, not implementation terms!
In other words, not 'parent', 'child', 'aggregation'; but - for example
- Cars and Wheels, or
- the Senate and Committees and Subcommittees.
Categories: Communities

Re: valid to use both an aggregation and dependency connector between 2 classes?

UML Forum Google Group - Sat, 04/27/2013 - 17:35
I'm guessing some of you guys are familiar with .NET WebForms.
I'm working on a WebForm that has a user control with a repeater. And that
repeater has a child user control that the parent sets property values on.
Composition is 1:1 whereas a repeater will by definition have many rows
which indicates aggregation.
Categories: Communities

Re: [UML Forum] valid to use both an aggregation and dependency connector between 2 classes?

UML Forum Google Group - Sat, 04/27/2013 - 17:35
Responding to dotnetguy...

When one talks about parent/child, the context is usually subtyping
(Data Modeling) or subclassing (OOA/D). Either way it would be a
generalization relationship in UML. There are some other contexts, like
modeling hierarchical trees, where the notion of parent/child is

Categories: Communities

Re: [UML Forum] valid to use both an aggregation and dependency connector between 2 classes?

UML Forum Google Group - Sat, 04/27/2013 - 17:35
The Parent/Child distinction must be refined as two criteria are to be
considered: structural identity (or life-cycle) and functional identity (or
semantic domain).
Composition is used for the former, aggregate for the latter.
[link]
Categories: Communities

Re: [UML Forum] valid to use both an aggregation and dependency connector between 2 classes?

UML Forum Google Group - Sat, 04/27/2013 - 17:35
Why is it a "parent-child" relationship? What Domain facts does the
relationship represent? It's a good idea to ensure you understand that
before deciding on how to represent it. How would you describe the
relationship as a pair of sentences?

For example:

- Each Order consists of one or more OrderLines

Categories: Communities

valid to use both an aggregation and dependency connector between 2 classes?

UML Forum Google Group - Thu, 04/25/2013 - 05:10
Hello I have 2 classes in a parent child relationship.
The parent has the child, so this indicates the need for an aggregation
relationship.
However, the parent also sets properties on the child, so I want to clearly
indicate this in UML as well.
I thought about connecting the parent to the child with an aggregation
Categories: Communities