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 - bluemanifold

Pages: [1]
1
Uml Process / Re: UML Profile and AssociationRole
« on: May 08, 2008, 05:53:38 pm »
Thanks guys - I have already submitted a bug report.  Frank is right about MDG and synching - that seems an oversight to me.  Will await Sparx's response.

2
Uml Process / Re: UML Profile and AssociationRole
« on: May 08, 2008, 12:28:58 am »
Hmm - in the resource pane you can explicitly 'Synch Tagged Values and Constraints' - this works fine for standard Class stereotypes and Association stereotypes i.e. you do not need to drag the stereotype from the toolbox but can apply it after creating a class and then you simply synchronise.

The trouble with AssociationRoles is that there appears no way of viewing the tags for the role element.

3
Uml Process / UML Profile and AssociationRole
« on: May 07, 2008, 11:20:58 pm »
I have created a UML Profile which defines a stereotype that extends AssociationRole.  I then import the profile into a project, create a couple of classes and then create a simple association between them.  I am then able to apply my stereotype to a role of the association (via the 'Association Properties' dialog box).  However, I am unable to view or edit any of the tagged values!  Selecting the role name does not display tagged values (presumably because it is being treated as a label not a role).  I may have expected that the tagged values would show up when I select the association and expand either Connector Target or Connector Source (in the Tagged Values pane) - but these refuse to expand.  Is there a way to edit tagged values for AssociationRoles or is this a limitation of EA?  (I am using 7.1.829).

4
Uml Process / Displaying Instantiated Template Arguments
« on: December 11, 2007, 03:09:49 am »
Hi,

I have modelled a template class and I now want to create an instatiated class.  No problem - create the class, add a realization link to the template class and in the class details, specify 'Instantiated' and add the argument(s).  Question - how do I display in the class diagram the argument types that have been used for the instantiation? I believe in UML you write the arguments within parentheses e.g. (int) and place next to the instantiated class.  EA does not seem to provide an integrated mechanism to do this - I guess I could simply attach some text to the instantiated class.  Is there a 'proper' way to do this?

Cheers,

Ed.

5
Uml Process / Re: Metamodel packages
« on: November 01, 2007, 12:37:06 am »
Cheers, Roy.  That worked - I also found a similar topic on one of the other forums.  :)

6
Uml Process / Re: Metamodel packages
« on: October 30, 2007, 07:07:12 am »
I guess I could do that, David.  I was actually reading the help system about MOF diagrams - I want to create my metamodel as a MOF diagram and eventually export the package.  That way, the package could be used by a profile model as well as within a standard class model (where it acts as a 'template').  The help system says that a <<metamodel>> stereotype is available for tagging the MOF package and yet when I go through the procedure, that particular stereotype is missing.

7
Uml Process / Metamodel packages
« on: October 30, 2007, 06:12:58 am »
Hi.  I'm trying to create a metamodel using EA 7.0.817.  When I open the package properties, the <<metamodel>> stereotype is missing from the list of available stereotypes.  A <<model>> stereotype is present but is this the same thing?  Any help would be appreciated.  Cheers.

8
Uml Process / Custom profile, constraints and validation
« on: October 25, 2007, 12:16:49 am »
I'm new to EA (having previously used Rose) and am investigating profiles. I have created a very simple profile: Stereotype A extends Classifier and it includes the following OCL constraint... inv: self.allAttributes->forAll(multiplicity.range.lower = 1 and multiplicity.range.upper = 1). All well & good - this OCL statement is validated by EA.  I save the profile, create a new project and import the profile.  I then drag stereotype A into my class diagram and a new class is created.  If I now try to validate the class, I get the following message: MVR040001 - warning (Class3 (Class)): OCL violation: inv: self.allAttributes->forAll(multiplicity.range.lower = 1 and multiplicity.range.upper = 1).  Why?  There are no attributes.  When I do add attributes with the correct multiplicity, I still get this warning message. Am I doing something wrong?  Cheers.
???

9
Automation Interface, Add-Ins and Tools / Model and class creation
« on: January 09, 2008, 06:12:46 am »
Does anyone know if it is possible to use the automation interface to create a UML model and then programatically add classes, attributes, etc.?

Pages: [1]