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

Pages: [1] 2 3 ... 5
1
General Board / How to search for Initial Code value?
« on: September 20, 2007, 02:33:42 am »
Hi,

I've populated a method's Initial Code but I can't use Advanced search (searching Method Details) to find it. If it were Behavior field I'd obtain the object immediately. However, for the Initial Code field it doesn't work.

Does anybody know another way of searching for initial code values?

Thanks.

Radek

2
General Board / Re: Detailed settings for RTF-templates
« on: October 31, 2007, 12:37:32 pm »
Eee... I'm afraid I didn't get it... I'm sorry...

I hoped it would be quite easy - just to enhance our templates a bit in EA Document Template Editor, add some conditions when particular information shall or shall not be displyed in the generated documentation.

I would like to have templates creation process as simple as possible (using the Document Template Editor if possible) but I still need to use conditions for data processing.

If I can't use Document Template Editor somehow to accept conditions for processing data, I won't use these templates at all.


And then I hoped you'd tell me about some special method in automation interface for running the documentation (based on the template) ganeration process.

Your response is too advanced for me I must say... But thank you anyway for your answer, David :-)

3
General Board / Detailed settings for RTF-templates
« on: October 31, 2007, 08:05:49 am »
Hello,

first of all I'd like to ask whether it is possible to run generating of RTF documentation (with our own teplate) non-interactively, i.e. programmatically via automation interface. And if it is possible, how can I do that?

If it's not possible, please, ignore the following, since we won't be able to use EA templates then...
We're trying to write our own RTF templates and have some troubles (probably due to lack of knowledge) which limit us rather much. We just can't find filtering, conditional options and contraints:
How can we set the template not to process all elements but let's say UseCases only?
How can we set the template to process only classes having a tagged value A with "xxx" value?
How can we set the template to display the whole content of some class linked file? (We're able to display the linked file path or size but can't display its content - at least for linked text files this would be really nice)
In short, we're missing a possibility of some "ifs and thens"...

Is there an area in the EA help file describing this issue and we just missed it? Or is it a bit more complicated?

Thanks,

Radek

4
General Board / How to rename a database datatype?
« on: October 30, 2007, 03:05:55 am »
Hello there,

I'd like to rename a database datatype in my (manually created) product. This can be done very easy in Settings / Database Datatypes.
However, this doesn't change any existing attribute having this data type as its type.
I mean, if I rename my database datatype from AAA to BBB all the existing attributes having type AAA will remain unchanged, having (now non-existing) type AAA.

How can I rename the database datatype to achieve also all the attributes to change their type from AAA to BBB automatically? It seems to me quite a natural requirement but I can't find a way of doing it...

Thanks for any hint.

Radek

5
General Board / Re: Attributes (table columns) data types disappea
« on: October 29, 2007, 05:00:38 am »
By the way the following info from EA Help is really funny:

Element - attribute MiscData:
String. This low-level property provides information about the contents of the PDatax fields. These database fields are not documented and developers must gain understanding of these fields through their own endeavors to use this property.

OK, I'm gonna write to Sparxians whether it would be possible to get a patch and then work just with GenType (and forget all those PDATAx fields)...

6
General Board / Re: Attributes (table columns) data types disappea
« on: October 29, 2007, 12:48:15 am »
Oh, OK, sorry. I've just removed the other copy of this issue.

But to return to my problem - one of my colleagues told me that once before all the tables from the model suddenly disappeared. It was before we put the model under version control so fixing that problem was quite easy by loading data from xml to the database again.

However, now, with hundreds of packages under version control, this process won't be so easy.

Any hint?

My current problem with attributes data types selecting could be caused by "null" value in PDATA2 field of problematic tables.
I have noticed that if I set some "database" to a particular class I will see this database name in both GenType and PDATA2 fields (if I analyze database data of my EA project).
The tables where I can't select any attribute data type contain the database name only in GenType field...
But still I don't understand why the PDATA2 field became null...

Radek

7
General Board / Attributes (table columns) data types disappeared!
« on: October 25, 2007, 11:31:57 pm »
Hi,

I have a large EA project (on SQL database) with several models. I have also a new "product" (i.e. database datatypes) MyProduct (with almost the same types as in Informix) and the project has lots of packages version controlled.

I've just discovered that in one of my models I can't see table column data types in "Data type" field of any column in this model tables.  
So far, this model table columns have always displayed correctly but suddenly their data type information just disappeared.
All the tables still contain correctly set MyProduct in Database field but I can't even select any column data type of a table since the "Data type" drop-down list is empty.

In other models of the same project everything works fine and all the MyProduct tables display their column datatypes correctly.

We've discovered that checking-out a package from the problematic model fixes the columns data types displaying but the trouble is the amount of such version controled packages which would have to be processed to correct the whole model.
Unfortunately, in "File history" of the version controlled packages there is no change (so we still don't know the cause of our problem).

I just don't have any idea why the whole model data became suddenly "incorrect" neither how to fix it as soon as possible (without checking-out and checking-in all the packages under version control).

Any hint would be really appreciated...

Thanks,

Radek

8
General Board / FK operation sometimes dissappears after saving
« on: October 22, 2007, 06:11:29 am »
Hi,

I've encountered a problem with saving my model after I created a foreign key. The FK operation is created correctly when I design a new foreign key. However, sometimes(unfortunately not always) when I save such a model (either by closing the diagram containing the newly created FK connector or by menu File / Save Project or by Window / Save All Modified) the automatically created FK operation is deleted. The connector on the diagram seems to be OK, nevertheless if I display the "Foreign keys" property there are no source columns mapped to target columns (although before saving the model the mapping was correct). I can neither find the FK operation in my table's operations.

Has anybody had the same problem? Don't you have any idea what can be wrong with my data (since most foreign keys are created correctly and remain correct after saving the model, while only few of them don't keep their FK operation after saving)?

Thanks,

Radek

9
General Board / Re: How to migrate a Rose model to EA?
« on: July 19, 2007, 07:39:09 am »
It's great NOT to hear this... :-)

Nevertheless, I've got no idea how to contact "IBM Rational Customer Support Modeling team" even if I knew where could I find such a "temporary" license.
And the only links I've found were just about contacting that team...

Any more "safe" hints?

Radek
[email protected]

10
General Board / Re: How to migrate a Rose model to EA?
« on: July 19, 2007, 02:42:51 am »
I've searched for that several times before but I've found only Rose-customers links (i.e. announcements to contact (Rational/IBM) team) so far :-(

11
General Board / How to migrate a Rose model to EA?
« on: July 18, 2007, 11:11:41 pm »
Hi,  

I'd like to migrate a model from Rational Rose to EA (because of our company's decision to start using EA instead of Rose). Unfortunately our Rose support ended a quite short period before I found a note about "Unisys XMI AddIns for Rational Rose" which could have solved this task for me, so I'll probably have to migrate the model myself.

If you know a way of doing the migration without the need of decoding the model and populating a new EA model via automation, please, let me know.

Thanks.  



12
General Board / User defined types (obtained e.g. from Rose)
« on: June 26, 2007, 02:52:26 am »
Hi,

in Rational Rose I had the option to create a class and use it as a type of a table column. (I had a class called "Debit Amount" having type Double and I could use "Debit Amount" as a type in my tables for example)

Can I achieve the same (i.e. to use a class as a table column type) in EA somehow?

In EA I can create a new database datatype (via Settings/Database_Datatypes) but I can only set name, default value and max length (or precision).
In Rose I could have set check constraints for the class I used as a table column type. However, I can't achieve the same functionality (check constraints etc...) in EA using DB datatypes...

I'd appreciate any hint.

Radek

13
Well, actually I wanted to save a project stored on the SQL server to an EAP file and since it is quite easy directly from EA it might have been possible via Automation as well... ;-)

14
...and I can always (via automation) run export to XMI for each model in the project, take an empty EA project and import all the models XMI into it...
I've only wondered whether there is an easier way to achieve the same by simply Saving the project via automation somehow...

15
Hello,

is there a way of saving a copy of an opened EA project into another file via automation? (just like Save Project As and selecting Type of Save = Copy)

Thanks.

Radek

Pages: [1] 2 3 ... 5