Book a Demo

Author Topic: Rrequired Extension  (Read 2907 times)

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Rrequired Extension
« on: June 12, 2007, 08:59:52 pm »
In UML 2.1 Superstructure Specification there is a possibility for an Extension to be required (18.3.2 Extension).

/ isRequired: Boolean
Indicates whether an instance of the extending stereotype must be created when an instance of the extended class is created. The attribute value is derived from the multiplicity of the Property referenced by Extension::ownedEnd; a multiplicity of 1 means that isRequired is true, but otherwise it is false. Since the default multiplicity of an ExtensionEnd is 0..1, the default value of isRequired is false.

Is it possible in EA to set an Extension to be required? How?

And consequently if the profile would be applied to a package, will this extension (stereotype) be really required?
Peter

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Rrequired Extension
« Reply #1 on: June 13, 2007, 12:59:22 pm »
I remember Neil (KP) answering a similar question to this on the forum.  EA currently doesn't support applying a profile to a package.  Until this is done forcing any stereotype to be applied can't really be done.