Recent Posts

Pages: [1] 2 3 ... 10
1
Use scripting and the TaggedValues collection of the according elements. That's pretty simple.

q.
2
The direction for the other should be Unspecified. If not: report a bug.

q.
3
Hi,

I have a imported package in my model that has a large number of systems represented as blocks with numeric tagged values. Is it possible to use these specific values within a parametric diagram for certain calculations? I have having trouble finding a way to "pull out" these values to use them elsewhere in the model. Any help on this would be much appreciated.

Thanks!
4
Hi,

It is the same relation type.

Properties for that one (the one with the arrow):


--
Mario.

5
Ah, but your second one is showing an Aggregation, is that the same for the relation between PartyAddress and Party, or is that an Association?

Geert
6
Uml Process / Re: Cascading use cases?
« Last post by Richard Freggi on Today at 12:39:12 am »
I always recommend reading Bittner/Spence about use case synthesis. Looks like more than 90% of all teaching does not do a good job which is why most people start with functional decomposition rather than synthesizing use cases (which is pointing out the added value for actors of the system under consideration).

q.

qwerty is right on the money.  During my Master degree classes the teacher could not explain what to do with use cases, we focused mostly on class diagrams.  Use cases were a kind of oddity for me until I read Bittner/Spence and it changed my whole approach to modeling.  Applying use cases too by Schneider / Winters recommended as second reading!
7
Uml Process / Re: Cascading use cases?
« Last post by wivel on Today at 12:32:02 am »
I always recommend reading Bittner/Spence about use case synthesis. Looks like more than 90% of all teaching does not do a good job which is why most people start with functional decomposition rather than synthesizing use cases (which is pointing out the added value for actors of the system under consideration).

q.
I can recommend 'Writing effective Use Cases' by Cockburn. Or my old course in writing Use Cases, which is based on Cockburns book  :).

Henrik
8
In EA searches you can use the #Branch# macro, to get a list of all packageID's under a certain branch.

You can then use those packageID's so select elements, diagrams, etc... using an SQL Query.

here's the method I use in C# to get the this packageTreeIDList (from my Package class)

Code: [Select]
    private List<string> getPackageTreeIDs(List<string> parentIDs = null)
    {
        List<string> allPackageIDs = new List<string>();
        List<string> subPackageIDs = new List<string>();
        if (parentIDs == null)
        {
            parentIDs = new List<string>() { this.packageID.ToString() };
        }
        //add the current parentID's to the list of all ID's
        allPackageIDs.AddRange(parentIDs);
        //get the id's from the subpackages
        string parentIDString = string.Join(",", parentIDs);
        string getSubpackageSQL = "select p.Package_ID from t_package p where p.Parent_ID in (" + parentIDString + ")";
        var queryResult = this.EAModel.SQLQuery(getSubpackageSQL);
        foreach (XmlNode packageIdNode in queryResult.SelectNodes(this.EAModel.formatXPath("//Package_ID")))
        {
            subPackageIDs.Add(packageIdNode.InnerText);
        }
        //if subpackages found then go a level deeper
        if (subPackageIDs.Any())
        {
            allPackageIDs.AddRange(this.getPackageTreeIDs(subPackageIDs));
        }
        return allPackageIDs;
    }

Geert
9
Hi,

Thanks for confirmation. I suspected it, but I am a bit confused - I see some similar with direction defined the same way with no arrow at all.

Example:
10
That's different. In that case the type field is filled, but the classifier field is empty (or 0)

Stereotypes is yet another thing. For anything serious you should not be using the UML Types -> Stereotypes at all, but define stereotypes in UML profiles instead.

Geert
Pages: [1] 2 3 ... 10