[Uml-devel] UML question

Brian Thomas thomas at mail630.gsfc.nasa.gov
Thu May 29 08:56:10 UTC 2003


On Thursday 29 May 2003 11:46 am, Lea Anthony wrote:
> On Thursday 29 May 2003 16:02, Brian Thomas wrote:
> > On Sunday 25 May 2003 11:00 pm, umbrello-devel-request at mail.kde.org
>
> wrote:
> > > I think, a car would have a 1...*  aggregation of wheels, but not a
> > > 1...* aggregation of persons.
> >
> > 	I believe you want it the other way around. The wheels are in
> > composition with the car (e.g. they dont exist if the car doesnt exist)
> > but the passengers are in aggregation.
>
> If that's the case, what is a one to many relationship (straight line) ?

	Since Im not a member of the UML standards board, I  can only speak 
	personally here.. so with that disclaimer out of the way... :)

	I believe that is an association which basically indicates a 'pointer' exists
	between 2 classes.  Each class, depending on how the role and multiplicity
	is set, may 'know' of instances of the other class. The association may be
	1 or 2 way. Furthermore, unlike aggregations, there is no 'ownership' implied, 
	and that is the _only_ difference that Im aware of between this type of 
	association and an 'aggregation'.

	In practical terms, there is little difference between this 'untyped' association
	and an aggregation, IMO. 

						=b.t.




>
> -Lea.

-- 

No matter how subtle the wizard, a knife in the shoulder blades will seriously
cramp his style.





More information about the umbrello-devel mailing list