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

Pages: [1] 2
1
Suggestions and Requests / user-safe discussion forum
« on: July 09, 2007, 03:03:40 am »
working with the final release of 7.0, i started testing the discussion forum, which is a very good idea and tool to keep information at a single place.

unfortunately, every user can CHANGE existing entries, no matter who created it. as a result, one could change the entry of the starting poster into something completely different. not very handy :-(

proposal:
1.) user can only change his own postings (forces usage of security in projects)
2.) if a user changes his own postings, a note should be shown in the text when the user has changed this posting.

2
General Board / Problem with "feature" full qualified tagged value
« on: June 26, 2008, 09:44:55 pm »
hi, can't believe nobody ran into this problem so far as  i couldn't find any postings here regarding this topic.

from 7.1 onwards, EA treats tagged values that come from stereotypes in a profile totally different: the real UML name of the tagged value consists of profile name::stereotype name::tagged value name. this is, hmm, interesting and maybe a good solution to make tagged values unique somehow across different profiles. unfortunately, there is obviously no migration path. if you have a project with a DSL/profile already in use, then upgrade to 7.1 and once click "synchronize" in the resource pane, EA will create new tagged values with the new full qualified name and WILL NOT MIGRATE the old value. You will have the old "simple" tagged value with the value you once have entered, plus the new full qualified tagged value with no value at all. which leaves EA 7.1 completely useless for users of (changing) profiles...

we contacted sparx about that, so far they simply confirmed that this is not working as expected....anyone having an idea or at least seen the same behaviour?

br,
günther

3
General Board / Re: attributes with a new line
« on: August 01, 2007, 12:38:18 am »
honestly i think there is no such way to this. but you could overwrite the drawing style of classes using the shape script editor, but honestly this is not an easy job if you're new to EA. there are some examples here on the website and in the help provided by sparx.

4
General Board / Re: Load big remote-projects
« on: July 31, 2007, 04:59:49 am »
to what i know so far there is no way to limit access on aper user base. security in EA is only used for general access/functionality, but you cannot do access control with it. if you need to stay with one big repository in a database you will be stuck to the performance problems (hope you will nevery use the "synchronize tagged values..." feature of UML profiles on that database because this could take all night).

using import/export feature plus separate and smaller databases for each developer or group of developer might increase performance but leaves you with the problem of keeping all the referenced packages up to date. this COULD be solved but it's definitely not easy to do.

5
General Board / Re: Has ANYONE EVER been successful with EA?
« on: June 21, 2007, 11:33:33 pm »
Quote

What would be helpful is for others (if willing) to post their RTF templates somewhere.  I mean really complex ones with sample output attached so we can learn by example (where documentation is light)?  What say you all?



that's a good proposal, and it would definitely help all of us! perfect idea!

6
General Board / Re: Has ANYONE EVER been successful with EA?
« on: June 19, 2007, 06:15:49 am »
Quote
Hmm...
As Microsoft is the defacto standard, the problem should be solved.


but as there is little to none documentation provided by microsoft the path to solving this problem is well-controlled by them.....

7
General Board / Re: Need UML Data Modeling Model in UML
« on: May 15, 2007, 12:43:59 am »
hi all,

thanx for your replies. we will have a look into the ERwin approach later on, currently we seem to overcome this need by doing model-to-model-transformation within EA (but we need an add-in to have access to all information of the UML database model, but this is already the topic of another thread).

cheers,
g.

8
General Board / Need UML Data Modeling Model in UML
« on: May 08, 2007, 05:40:48 am »
hi all,

we're doing some MDSD research here, and for one of our customers we need to start with a database reverse engineering of their existings databases. we want to enrich the model generated by EA with some additional information (stereotypes for class and attribute). after that we export the model with a (third party) EA exporter.

but: when we reverse engineer the database model, we don't get a "normal" uml class model. we get a model with stereotypes like "table" or "column" that we can't link with a profile as the profile is built-in.

what we would need is the original UML diagram / eap-file that is used by EA for data modelling so that we can link this metamodel with our model.

anyone an idea how to get this? any input welcome! thanks in advance!

br,
guenther

9
General Board / Re: Add-In needed for use in transformation
« on: May 09, 2007, 10:53:56 pm »
hi simon,

thanks a lot for the code snippets, this helps us a lot!!! now we can bother the guys from the ms-related departments with helping us generating the dll. this is a good day!

ps: we already use attStatic and attAllowDuplicates, forunately we found that (by the way, attAllowDuplicates is called "attenableDuplicates" in the EA help, which I guess is wrong).

thanks again, cheers,
günther

10
General Board / Re: Add-In needed for use in transformation
« on: May 09, 2007, 05:16:01 am »
hi paolo,

thanx for your hints! luckily we don't have FK with more than one column, and for PK we're already aware of that situation.

still hoping somebody's better in writing add-ins than we are.....

cheers,
g.

11
General Board / Add-In needed for use in transformation
« on: May 09, 2007, 12:16:31 am »
hi,

we contacted EA support a few days ago to get some info on how to access information that is specific to the Database Model used in EA.

here's the mail we received:
Quote
Hello günther,

Unfortunately these properties are not exposed in the Code Template Framework (including the transformation templates).  You can still retrieve these values however by calling an Add-In with the EXEC_ADD_IN function.

For your reference, the following shows the common table 'column' fields and their equivalent field in the Automation Interface:

Attribute.IsOrdered        = Primary Key
Attribute.IsCollection     = Foreign Key
Attribute.AllowDuplicates  = Not Null
Attribute.IsStatic         = Unique
Attribute.Length           = Length
Attribute.Precision        = Precision
Attribute.Scale            = Scale

Additional information on authoring Add-Ins can be found in the EA Help file under the "Automation and Scripting" chapter, and additional code samples (including a basic C# Add-In) can be found on the following resources page:
http://www.sparxsystems.com.au/resources/developers/autint.html

For information on the method signature required for an EXEC_ADD_IN call, please see the following forum post:
http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=Automation;action=display;num=1153231946;start=6#6

Tagged Values can be accessed directly from the transformation templates:
http://www.sparxsystems.com.au/EAUserGuide/taggedvaluemacros.htm
Or if you prefer, you can also easily access tagged values from your Add-In by using the Attribute.TaggedValues collection.

I hope this helps.  If you have any further questions, please feel free to ask.

Best regards,

Aaron Bell
Sparx Systems Pty Ltd
[email protected]
http://www.sparxsystems.com.au
 

-----Original Message-----
From: Wieser Guenther AFD SD [mailto:[email protected]]
Sent: Wednesday, 2 May 2007 7:21 PM
To: sparxsupport
Subject: questions regarding model-to-model transformation

hi,

currently we're evaluatin EA for our planned MDSD projects (using openArchitectureWare). we started to use EA-internal model to model transformations, but now we're stuck when we try to convert our reverse engineered database model into a class model (that we afterwards can use with oAW). what we want to do inside the EA model-to-model-transformation is getting access to some specific attributes of a "column" wihtin a table class (as mentioned, reverese engineered by EA from an oracle db).

the following attributes of a column are of interest for us (expecting to use field substitution macros to access the values within the transformation code):
stereotype "column":
- primary key
- not null
- precision
- scale
- length

we want to put these values into a stereotype of the new attribute in the new class, or into tagged values.

the two questions are:
1.) how can we access the mentioned attributes of a column within model transformation code?
2.) how can we set a tagged value of an attribute within model transformation code?

thanks in advance for your help,
günther wieser


this was valueable information, but we're so far from coding C# or VisualBasic that we're more or less stuck and lost.

what we wonder is if anyone here ever built such an add-in to access these fields, or if anyone can offer us help with coding such an add-in? any help appreciated!

br,
günther

12
tested beta 2, works fine now with java 5.

thanx, guys!

13
found out that there is already a beta 2 of version 7.0 out, which SHOULD habe java 1.5 for the java api.

i'll check that and post the results.

14
a real newbie question:

unfortunately there is no beta bug report for the 7.0 beta. should i post this beta bug using the 6.5 beta bug form?

15
Tried the EA 7.0 beta today, and still the Java API is limited to a Java 6 runtime env.

May I ask someone from Sparx Support to confirm that in final 7.0 the API will be usable with Java 5? This is important information for us, as we can use Java 5 in our project but NOT Java 6. So if it would stay in Java 6 we won't use the Java API.

Pages: [1] 2