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.


Topics - abcoates

Pages: [1]
1
I like the UML profile functionality in EA, but I'm finding it very limiting because it doesn't appear to be possible to select either 'Element' or 'Property' as the metaclass.  In particular, 'Element' seems to be necessary to create abstract base stereotypes that define a set of tagged values that can then be extended to produce a class steroetype, an attribute stereotype, etc.

Are the full set of UML 2.0 metaclasses going to be supported soon, or am I missing something in the way EA makes the functionality available?  Thanks a lot in advance,

Cheers, Tony.

2
General Board / Managing XML Schema imports and includes
« on: October 16, 2007, 06:40:11 am »
I'm currently using EA 6.5, build 806.  I'm using EA to generate XML Schemas, and in particular there are multiple namespaces involved and multiple Schema files in each namespace (for modularity reasons).

The key problem that I am having is that, where my main Schema has namespace A, and needs to use definitions from two Schemas with namespace B, EA inserts two <xs:import> statements into Schema A.  However, Schema validators typically don't accept this, they accept the first import for namespace B and ignore the rest, which makes the Schema invalid.  A solution, in Schema terms, is for each namespace to have a separate Schema that just includes all of the Schemas for that namespace (without having any definitions of its own), and only do importing of those "includes only" Schemas.

That said, I can't find any way to get EA to do this, not when authoring the UML directly.  For example, it isn't obvious how you can set up one Schema to just contain includes of other Schemas, without there being a direct dependency on those Schemas that you want to include.

However, this isn't just an "EA can't do it" issue.  When I construct the Schemas by hand in the format I describe, with one Schema per namespace just for includes, and the imports only done via those "include only" Schemas, EA imports it perfectly well.  More interestingly, if I then export those Schemas, *EA exports them the the same import/include structure as they had when imported*.  So EA can do it, but what I want to know is whether or not the ability to set up the model for this is available directly at the level of the UML UI.

I exported the XMI for my model (after having imported the Schemas), and I see that for my "includes only" Schema, within the (package) <element> for that Schema, there is a <code> element with a "header2" attribute that the locations of the included Schemas.  How can I create that same "header2" value from within the UML UI?

Thanks very much in advance,

Cheers, Tony.

3
General Board / How to restore lost properties pane?
« on: June 09, 2006, 03:00:45 am »
I've lost my EA properties pane [build 790].  I may had accidentally dragged it somewhere (off-screen?), but it isn't there now.  It's selected in the "View" menu, but it won't let me deselect it.  Nothing I've tried has restored it.  Anyone have any suggestions?  Or should I just re-install EA?  Thanks a lot in advance for any help,
Cheers, Tony.

4
General Board / Does EA implement XML profiles?
« on: June 05, 2006, 08:30:54 am »
Quick question - does EA implement XMI profiles (i.e. parameterised generation of DTDs & Schemas using XMI)?  Thanks a lot in advance,

Cheers, Tony.

5
General Board / Out of memory importing XMI file
« on: December 18, 2004, 04:49:31 pm »
I am using EA 4.10.736 Enterprise.  I am trying to import an XMI file into EA, albeit a large one: 280M.  EA runs out of memory during the import, but while only using a fraction of the available memory (PC has 1G RAM).

Is there any way to increase the memory available to EA?  I really need to be able to work with big models, and this is a real blocker.  Thanks very much in advance,

Cheers, Tony.

6
General Board / Adding check constraints to relational tables
« on: December 27, 2002, 12:27:59 pm »
The documentation doesn't make it clear how to add check constraints to relational columns/tables.  I can create a check constraint, but I can't work out where to put the constraint test so that it appears in the generated DDL.

I am trying to limit a CHAR(1) column to take one of a set of 6 character values.  Thanks in advance for any advice,

   Cheers,
       Tony.

7
Bugs and Issues / How to save diagram showing alias names?
« on: January 28, 2010, 12:18:51 am »
I have a diagram where the class attributes have alias names.  I can display the alias names instead of the actual attribute names in an on-screen diagram, but when I try to save the diagram, it is saved with the attribute names rather than the attribute alias names.

How can I get the image saved with alias names instead?

Thanks very much in advance for any advice,

Cheers, Tony.

8
I have a UML model which uses a UML 2.0 profile and has a controlled package.  I actually want to generate the XMI for the controlled package from an external script so I can get some information into my EA model.

My problem is that I can't find the right XMI formulation to get the tagged values from each class's stereotype to appear on the class.  They appear if I re-apply the profile stereotype to the class in EA manually, but I have too many classes to do the whole lot manually.  How is the linkage made in XMI that particular tagged values are associate with a class with a particular UML profile stereotype?

Thanks a lot in advance,
Cheers, Tony.

Pages: [1]