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 - Ignacio G. T.

Pages: 1 [2] 3
16
General Board / Re: Find transitions by name
« on: November 29, 2012, 01:17:28 am »
Forget it: I was copying the modified query in the wrong window  :-[

Now, the query does not result in any errors, but it is not finding the transition I'm looking for. I'll investigate a little more...

17
General Board / Re: Find transitions by name
« on: November 29, 2012, 01:05:24 am »
Sorry, Geert, but I get exactly the same error. Something else must be happening.

18
General Board / Re: Find transitions by name
« on: November 27, 2012, 07:30:05 pm »
Hi, Geert, thanks.

Running the search gives me the following error:

DAO.QueryDef [3075]
Syntax error (missing operator) in query expression 'c.Start_Object_ID =
o_from.Object_ID
inner join t_object o_to on c.End_Object_ID = o_to.Object_ID
inner join t_object statemachine on o_from.ParentID = statemachine.Object_ID'

I'm not an expert in SQL  :(

Can you see where is the error?

19
General Board / Find transitions by name
« on: November 21, 2012, 03:19:22 am »
Transitions seem not to be first-order citizens in EA. I cannot find transitions by name with a model search. Yes, I can search triggers by name, but this is not the same.

This is my use case: I have plenty of state diagrams, inherited from an ancient tool, that gave each transition a name (such as TMAS2S32). The trigger, guards and effect of each transition was given in text form with tables.

The name gives us a unique identifier for each transition, which has two benefits: it is easily searched, and can be used for tracing purposes (in documentation, code, etc.).

But I have just found that search by name, apparently, does not work for transitions. Is this true? Is there a workaround?

Thanks.

20
General Board / Re: Abstract operation modification not propagated
« on: November 20, 2012, 03:58:57 am »
OK, thanks.

21
General Board / Re: Abstract operation modification not propagated
« on: November 20, 2012, 02:52:58 am »
Thanks, Makulik, but I cannot see that dialog. Where is it?

22
General Board / Abstract operation modification not propagated
« on: November 20, 2012, 02:22:13 am »
I have an abstract class Parent with and abstract operation doSomething (parameter :ThisType).

I also have a concrete class Child that specializes Parent. When I draw the generalization relationship, EA lets me specify the operations from Parent that Child will implement. I check doSomething and Child now has a doSomething operation with the same signature as Parent. That's good.

Now, if I modify doSomething in Parent (for instance, I change the type of parameter to ThatType), the change does not propagate to Child.

Is there a way to perform this propagation, or do I have to manually enter the change in each child?

I could break the generalization relationship and make it again, but I wanted to avoid it, if possible.

Thanks.

23
General Board / Re: Internal transitions in statemachine diagrams
« on: October 30, 2012, 04:19:18 am »
Wow, that was hidden... And yes, the presentation (i. e., the no presentation) is unsatisfactory, and it departs from the standard  >:(

An alternative, also very unsatisfactory, is to treat an internal transition as a kind of entry, do, or exit activity: right button, operations, action = the trigger you need, name = the action you need (with a guard, if you need it), and there you have it: at least it *appears* as an internal transition, but it is not  :(

24
General Board / Internal transitions in statemachine diagrams
« on: October 29, 2012, 06:19:14 pm »
How can I set an internal transition in a state?

25
General Board / Re: Find and replace a word in a model
« on: September 06, 2010, 07:17:24 pm »
Nice trick. Thanks.

26
General Board / Re: Find and replace a word in a model
« on: September 06, 2010, 06:31:58 pm »
Thanks, Geert. I chose the export / edit / import approach and it seemed to work. I'm a bit nervous, as the .eap file grew a 25 % in size, but couldn't find anything wrong in the final model. I'll conserve the old file for some weeks...

27
General Board / Find and replace a word in a model
« on: September 06, 2010, 05:46:09 pm »
Oh, well. I have a model with lots of requirements. Some of them were called "mandatory" requirements, but we have made up our minds, and now they are called "basic" requirements.

So I have to update the model in order to reflect this change. Changes to be made:

1) Names of some packages (change Mandatory / mandatory to Basic / basic)
2) Names of some diagrams (idem)
3) Content of some notes (idem)
4) Content of some elements' descriptions (idem)
5) Names of some requirements (change of MA01, MA02... to BA01, BA02, ...)

I suppose this should be easy for someone knowing SQL or the like, but I don't know a single word of it. Can anybody offer me a hint, other than the brute-force approach of using an hex editor on the .eap file :) ?



28
Bugs and Issues / Re: Exposed Interface setting classifier
« on: February 05, 2013, 12:20:16 am »
Quote
...
But question is how do I update my model to set the existing Exposed Interfaces classifiers?

The advice in help advises Advanced | Instance Classifier but that is not an option I can see neither does Ctrl + L work :-(

Regards - MP

You have to double-click on the exposed interface and select the Interface again; this time the type will be recorded.

29
Uml Process / Re: a unified process for SysML and UML
« on: April 02, 2013, 12:31:43 am »
I'm potentially very interested. A brief overview would be very useful in order to erase the keyword 'potentially'  :)

30
Uml Process / Multiplicity in ports
« on: February 11, 2013, 10:35:40 pm »
I am a little confounded by the relationship between multiplicity in ports and multiplicity in connectors, inside a composite structure diagram.

Let's suppose we have a device like this:



And its composite structure diagram:



So far, so good. Now, suppose I want to take advantage form the fact that ports pact1 and pact2 are of the same type; ditto for pcpu1, pcpu2. I think I can model itlike this:



And the composite structure diagram:



Now, how can I be sure that the latter  diagram means the same as the first composite structure diagram, and not this one?:



Or is this not equivalent because of some restrictions derived from the multiplicity (1) of the end associations?

In other words, I think I know how multiplicity works with associations between classes (and parts) without ports, but I am not sure how it works with ports. Can someone point to the correct rules?

I've seen complicated examples in Internal Block Diagrams (A Practical Guide to SysML, by Friedenthal and others) that I don't fully understand, because no clear (to me) rule is formulated.

The above examples are the simplest ones I cannot fully elucidate. I have more complicated examples for the adventurer who dares to offer me a good response.  ;)

Pages: 1 [2] 3