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.


Topics - gluzm

Pages: [1]
1
General Board / Virtual Aggregated State in UML
« on: February 28, 2008, 06:54:24 am »
Hi, I am trying to visualize a state of a class that is not physically stored in the class but is calculated. For instance having a class MotorBike as a composite of Engine, Wheels, etc...  Each of this class having an attribute Status with two possible values Ready or Failure.

The composite class MotorBike does have a Status attribute as well, but this one shall be calculated based on the states of all its subcomponents. Where the rule can be something like (if any of its substate is Failure then MotorBike.Staus is Failure)
See the pseudo code for illustration.


What is the best way to display this in UML StateMachine diagram?

Thank you
Jan

Code: [Select]
  class MotorBike
    {
        private Engine _engine;
        private Wheel _whellRear;
        private Wheel _wheelFront;
        
        //...some code bellow
    
        public int Status
        {
            get
            {                
                if (_engine.Status == Failure) return Failure;
                if (_whellRear.Status == Failure) return Failure;
                if (_wheelFront.Status == Failure) return Failure;
                return Ready;                                
            }
        }
    }

2
General Board / Associate Digram With Profile
« on: September 19, 2007, 07:11:05 am »
Hi all,

I was just playing with profiles and did not find a way how to associate a digram with a profile. Practically I wish to see the right toolbox, after opening the diagram.

I know it is possible, for instance the BPM does have its own diagram.

Can anybody help?

Thank you
Jan


3
General Board / Searching for Find and Replace functionality
« on: June 23, 2006, 04:09:07 am »
Hi all, this question might seem simple but I am not able to find a way how to replace a name of one entity in the whole EA project.

Our marketing friends decided to promote "system users" to "customers", and I promised them to change the specification and all occurrences of the old name to the new one.
Naively hopping this could be done by Find and Replace functionality, within 5 minutes, I just spent around one hour searching for this functionality. Being not able to find it I resigned, and decided to do the chnage manually. Well this boring job is behind me, but still I am wondering if I am blind and not able to find this functionality or this functionality is missing.

I have a packing with list of requirements, having the old name in the description and details area.

Jan

4
General Board / Groups and permissions configuration in small team
« on: June 15, 2006, 08:59:59 am »
Hi all,
we finally convinced many other project stakeholders to use EA. The positive thing is that some of them will actively work with it, which on one side is amazing,  however on the other side we should not allow them to chnage everything.

This whole switch to more formal process requires some access management and restrictions. What I am looking for is some document or advice how to configure groups and permissions, to minimize the risk to lose something.
Our team including all the users together is about 15 people.

Is there any white-paper related to this or what type of groups and permission combinations are you guys using?

Thank you
Jan

5
General Board / Deployment Diagram
« on: October 05, 2005, 06:54:36 am »
Hi all,
when I am creating deployment diagrams and are using nodes then after I place one node into diagram and then another "inner" node into the previous node then EA is creating hierarchy visible on the left side "Project view", this also works when I just move some node into the hierarchy then it is visible on the diagram as inner node.

But once I instantiate the node then this functionality is not working the same way. If I move another instantiated node into its parent node then the hierarchy is not created on the left side, and also when  I move it into the hierarchy on the left side then it will not get visible on the diagram?

Why is it working that way, or is there any flag I have to check to get this displayed?


6
General Board / Sequence Diagram Fragments
« on: March 14, 2005, 09:10:38 am »
Hi,

first I must say that fragment handling on sequence diagram in EA is not so wonderfull.

But fragments are also new in UML2.0 the question is how people depicted Loop iteractions in older version of UML.

And second what does mean the option "Branch With Previous Message"

Thanks
Jan

7
General Board / Event Element In Activity Diagram
« on: November 15, 2004, 08:48:21 am »
Hi,

do you know how to add scheduled Event? I am looking for element depicted in the Diagram bellow "Once a Year".

but did not find it in any tool box.



8
General Board / Use Case - How to depict loop
« on: November 11, 2004, 09:58:05 am »
Hi is there a way how to show in Use Case diagram that there is an inner loop using another <<extend>> related Use Case.

The Example:
Use Case - "Upload Email Addresses List"
is extended by Use Case "Upload Email Address" with the constrain EmailAddressIsValid.

But how to depict in the diagram that the extending Use Case is called many times?

"Upload Email Address" is extending also another Use Cases.


9
General Board / How to depict other dependencies in UML
« on: May 18, 2004, 11:26:42 am »
Hi,

I created four examples of code and UML model to it.

OwnerEx1 – association
OwnerEx2 – composition

But how to depict the dependencies for the last 2 examples
OwnerEx1 and OwnerEx2

Thanks
Jan
Code: [Select]
namespace UML
{
     /// <summary>
     /// asociation
     /// </summary>
     public class OwnerEx1
     {
           private Owned _owned;
           public OwnerEx1(UML.Owned owned)
           {
                 _owned = owned;
                 
           }
     }
     /// <summary>
     /// composition
     /// </summary>
     public class OwnerEx2
     {
           private Owned _owned;
           public OwnerEx2()
           {
                 _owned = new UML.Owned();
                 
           }
     }
     /// <summary>
     /// ???
     /// </summary>
     public class OwnerEx3
     {
           public OwnerEx3()
           {
                 UML.Owned owned;
                 owned = new UML.Owned();
                 
           }
     }
     /// <summary>
     /// ???
     /// </summary>
     public class OwnerEx4
     {
           public UML.Owned GetOwned()
           {
                 return new UML.Owned();
           }
     }
     public class Owned
     {            

     }
}


10
General Board / Analysis -> Design
« on: September 16, 2003, 11:07:20 am »
Hi,

how to solve this problem.

First I draw the analysis diagrams, (to remember the clear system) then I wish to draw the design diagrams, where are some analysis elements reduced and are some new implementation specific elements.

First I come to the Idea, to use for analysis and design projects two files.

Then i found is better to have all in one project file each in separate package, but there is a lot of elements handling to do this, and the performance of EA is decrased.

What is the most used Idea?

Thank's
Jan Hornych

11
Bugs and Issues / Is this a bug in Shape Script?
« on: October 01, 2007, 08:49:26 am »
Hi all,

I was just playing with this shape script


shape main
{
   h_align = "center";
   v_align = "center";
   drawnativeshape();
   addsubshape("custom",100,100);    

 shape custom
 {
     setfillcolor(255,0,0);
     startpath();
     rectangle(0,0,100,100);
     roundrect(5,5,95,95,15,15);
     endpath();
     fillandstrokepath();
}
}


but it has this weird result.



Is this a bug?

Thanks
Jan

12
Automation Interface, Add-Ins and Tools / Generate Referenced Digrams
« on: April 11, 2006, 06:22:55 am »
Hi all,

I am struggling to put together a template design for Requirements Specification. So far I am able to display all the requirements, which is not big improvement to the original template &#61514;

However my goal is to attach on the end of the Specification some diagrams as well.
These diagrams are not in the Requirements package but are there as referenced diagrams. “Pick up a diagram and move it over another diagram in the small pop up select Diagram Reference”.

These diagrams are then nicely displayed as any other element in the package, with yellow fragment icon, however if I try to generate the documentation they do not end up on the report.

Does anybody know? Or how are others maintaining the referenced items?

Thank you
Jan

Pages: [1]