Book a Demo

Author Topic: Specifying Part Multiplicity on Composit Structure  (Read 3097 times)

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Specifying Part Multiplicity on Composit Structure
« on: August 20, 2005, 08:22:47 am »
Ref: OMG UML 2.0 specification, 9.3.12 Property (from InternalStructures), page 194, Presentation Options...

Figure 115 shows the two options for showing a property's multiplicity.  I like the mark in the upper right corner best, but would be satisfied with the cardinality notation suffixed to the name.

How do I accomplish this in EA?

I've created a CompositeStructure Diagram in EA.  Using the Class tool, created an 'owning' class.  I enlarged the class symbol to allow nesting of the 'owned' parts.  Using the 'Part' tool, nested a part in the class.

The 'Part' properties do not provide a place to specify multiplicity (how many instances of the Part is owned by the class).  ???

Two points:
  • Not all Parts are associated with other Parts; and
  • the cardinality of connected parts can be different from the cardinality of the connector ends.
For example: a Car may have four wheels, only two of which are connected to the engine. Therefor, the cardinality of the connector ends does not relate to my problem.

Thanks
Jim

Verbal Use Cases aren't worth the paper they are written upon.

AshK

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: Specifying Part Multiplicity on Composit Struc
« Reply #1 on: August 21, 2005, 05:05:19 pm »
Hi Jim,

Please right click the Part and select Advanced Settings->Set Multiplicity.

HTH,

Ash
The Sparx Team
[email protected]

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Specifying Part Multiplicity on Composit Struc
« Reply #2 on: August 21, 2005, 05:19:44 pm »
Thanks!  Works great!
Jim
Verbal Use Cases aren't worth the paper they are written upon.