Hi,
I'm currently doing a mapping between the data that can appear in a RTF document and their location in the EA database (I have my EA projects located in a remote SQL Server).
I have managed to understand the location (in terms of corresponding table, column and necessary join data) of most of the fields, but I couldn't find some of them:
1 - Several objects can have Stereotype and StereotypeEx fields in the RTF. What's the difference between this 2? No table has a field named "StereotypeEx"...
2 - Where are located the Element.BaseClasses, Element.IsLocked, Element.IsNew, Element.FullName, Element.Realizes and Element.Tag properties in the database?
3 - One of the possibilities in the RTF for the Element tag is the CustomProperties tag. Where is this information in the database?
4 - Each Element can have its Issues. I understand that this can be stored in table t_objectproblems with ProblemType = 'Issue'. But, in this case, where is the History field? There is no such field in that table.
5 - Each Element can have its Tasks. I know that 'system level' tasks are stored in t_tasks table. How can I relate each one of these with an element or where are the tasks of each element?
6 - Each Element can have Connectors. These can have information about their Source and Target elements. How can I access the following fields of Source (or Target) connectors: ConnSource.Cardinality, ConnSource.End, ConnSource.Ordering, ConnSource.Scope and ConnSource.TargetScope?
7 - Each Element can have Attributes. How can I access these attributes' following fields: Att.Alias, Att.Collection, Att.FK, Att.IsDerived, Att.Multiplicity, Att.NotNull, Att.PK and Att.Unique?
8 - Each Element can have EmbeddedElements. These are elements of certain types (Ports, Pins, ObjectNodes, etc). I think I can access them by looking for their type and their parent object. Am I right? If yes, how can I know the complete list of Embedded Elements' types?
9 - Each Element can have Methods. These are stored in table t_operations. How can I access the field Meth.Alias? t_operations doesn't have this column...
10 - Each method can have Parameters, and each Parameter can have Tagged Values. There is a table named t_operationtag, but this has the Tagged Values of a Method and not of a Method's Parameter. How can I access these Tagged Values?
I'm sorry for such a long post, but I don't know any kind of explained specification of the database schema used by EA projects...
I've managed to find all other data that is possible to insert from RTF templates (defined in the RTF template editor) by looking at the help in the automation section (to get a more clear view of what each field meant) and by manually inspecting the database schema and the stored data to understand how the mapping between RTF and source data is done (does anyone knows if this kind of information is available??)
Any input will be very appreciated.
Regards.