Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: johnjordan on October 26, 2006, 02:49:59 am

Title: REPRESENTION OF SUB-MODELS AND INTERFACE DATA
Post by: johnjordan on October 26, 2006, 02:49:59 am
Hi –

I’m new to EA - so this question is probably quite foolish - sorry!

I have a logical data model composed of a series of class model diagrams.  I’m working on a project where the final deliverable will be composed of a series of interoperating components.  I want to split my logical model into a series of sub-models (?diagrams) each of which reflects the data in one of the components.  I also want to create small class models/diagrams representing the data carried in each of the interface messages.

How do I create these sub-models & interface data definitions by referencing back to the master model – so any updates to master model definitions/data types will be reflected in all the relevant submodels?

An additional requirement would be that, for a given class/entity, the master model would contain the super-set of attributes/relationships but individual sub-models may not.

Any ideas?

Cheers & thanks.

John
Title: Re: REPRESENTION OF SUB-MODELS AND INTERFACE DATA
Post by: peter.zrnko on October 26, 2006, 03:55:42 am
You can place an element on as many diagrams as you want. So create some new diagrams and place your elements there. You can drag these elements from project browser or use "Copy" and "Paste as Link" funcionality.

When  you place some elements on a new diagram every relationship between them will be shown until you hide it.

You can hide attributes and operationes in diagram properties and on per element in diagram basis .
Title: Re: REPRESENTION OF SUB-MODELS AND INTERFACE DATA
Post by: johnjordan on October 26, 2006, 04:14:01 am
Thanks Peter -

But I can't find how to hide attributes individually?  I only seem able to hide all attributes in all classes on a diagram.

Where should I be looking?

Cheers

John
Title: Re: REPRESENTION OF SUB-MODELS AND INTERFACE DATA
Post by: Paolo F Cantoni on October 26, 2006, 04:27:25 am
Quote
Thanks Peter -

But I can't find how to hide attributes individually?  I only seem able to hide all attributes in all classes on a diagram.

Where should I be looking?

Cheers

John
John,
Select the Class then Use [Ctrl-Shift+Y] then the custom button if you want to set the visibility of individual attributes.  (The buttons only work for one class)

If you want more general settings, select one or more classes and [Ctrl-Shift+Y] and use the check boxes.

See also the use of stereotypes for suppression in the bottom left.

Lastly, you can suppress attributes entirely through the diagram properties dialog.

HTH,
Paolo
Title: Re: REPRESENTION OF SUB-MODELS AND INTERFACE DATA
Post by: johnjordan on October 26, 2006, 05:40:31 am
Thanks Paolo -

My problem is that this seems to base attribute visibility on the attribute scope and/or stereotype.  Is there any way to suppress attribute visibility on an ad hoc basis?

For example, I have attributes which are 'public' but which I will want to suppress in one diagram but not in another.  If I change the attribute scope won't it be applied across all diagrams.

Cheers

John
Title: Re: REPRESENTION OF SUB-MODELS AND INTERFACE DATA
Post by: Paolo F Cantoni on October 26, 2006, 06:32:42 am
Quote
Thanks Paolo -

My problem is that this seems to base attribute visibility on the attribute scope and/or stereotype.  Is there any way to suppress attribute visibility on an ad hoc basis?

For example, I have attributes which are 'public' but which I will want to suppress in one diagram but not in another.  If I change the attribute scope won't it be applied across all diagrams.

Cheers

John
John,

From (I think) build 798, two [custom] buttons were added to the [Ctrl+Shift+Y] Set Feature Visibility dialog.  These allow setting whether an attribute will show on a per attribute/per diagram basis - total control.  If you don't have that build or later can you update?

HTH,
Paolo