Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Roggan

Pages: [1]
1
General Board / EA vs Borland Together
« on: December 10, 2004, 05:29:12 am »
Can anyone shed some light over the differences between Borland Together and EA?

from the little ive seen of BT , it seems to be focused purely on the coding aspect and nothing on the rest.

so , please give some info on what BT does better than EA and vice versa.

//Roger

2
Uml Process / Interfaces realized by classes and components?
« on: December 08, 2004, 01:07:32 am »
When drawing interfaces in the component view,
are those interfaces the _same_ interface that i should use in my class diagram? or should i recreate the interface when using it in class view?

3
Uml Process / Activity diagrams, how to?
« on: December 12, 2004, 03:56:02 am »
Hi,
Im new to UML and having some trouble understanding activities together with swimlanes.

assume the following scenario.

Dice game:
game class
player class
dice class
lamp class


each game has instances of 1 player , 2 dices and 2 lamps (red and green)

game lets player throw dices ,
game calculates sum of dice1 and dice2
if sum = 7 turn green lamp on
else turn red lamp on
end

how would that be modelled in an activity diagram ?
(with swimlanes and object states)


i read in an uml book the other day that by looking on which activities goes in which swimlane , i could create my components interfaces from that.
but i dont see how this would apply here.

so if anyone have the time , please enlighten me :)

//Roger

4
Uml Process / Re: Components inside a system?
« on: December 08, 2004, 03:56:05 am »
I understand that a component can be created of a set of sub components.

what i ment was what to call the module in my sample.

if an invoicing module is a part of an exe meaning the invoicing module has no own physical representation , is the invoicing module still a component?


5
Uml Process / Components inside a system?
« on: December 08, 2004, 12:32:00 am »
as i understand it , a component is basicly one or more physical files that realizes something.

eg , we could have a component for invoicing , "invoicing.dll"

but what if the invoicing module lives inside a dll/system together with lots of other functionallity.
eg if we have a huge exe containing everything.

does the invoicing module stop to be a component in that case?


and related:

we are using a legacy system here , where all programs are basicly stored in the systems own database.
so there are no actual files present in that system.
would modules stored in that virtual filesystem still be components?


6
Uml Process / Components and interfaces
« on: December 08, 2004, 12:26:25 am »
Im reading an UML book right now , and according to the book all components realizes an interface of some kind.

im all ok with that when it comes to things like dll/exe files.

but according to the book , a source code file is also a component (with a different steriotype)

what interface does that expose?
or should i just think of it as an made up interface with operations such as "edit","save","open" ?

//Roger

7
Uml Process / Sequence diag, conditions and attribute access?
« on: December 05, 2004, 04:44:27 am »
What is the correct way to draw conditions in EA?
ive seen some online samples of uml in general where they placed some box around the operatons inside a certain contidion.
eg a box for a contidion and antoer for a "else" statement.

also , how do i draw that one class access attribs on another class?

//Roger

8
Uml Process / Logic view - aggregations?
« on: December 05, 2004, 04:41:35 am »
Im trying to learn UML right now , and im currently trying EA.

If i understand things correctly , an aggregation line is there to describe that one class has one or more references to objects of some other class.

which seems all ok when i generate code to.

however , if i reverseengineer some code that has one or more member vars referencing to another class , EA dont show aggregation lines , just normal association lines with the member vars names on them.

what does that mean? is that equal to aggregation?
which is the correct one to use?

also , if i have an aggregation line with multiplicity 1 on the source and 2 on the target , shouldnt that mean that each of the parent class has two references to the target?

if so , how does one generate code for that? does a 1 to 2+ relation always require that the parent has a array/list/collection of its references or could it just mean that you have two separate member variables?

//Roger

Pages: [1]