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 - zyx

Pages: [1] 2 3 ... 5
1
General Board / Showing constraints
« on: July 11, 2017, 10:19:21 am »
Hello all,

     I can define a constraint to an attribute in a class, but I want this constraint appear aside to the attribute in the class. Someone knows how can I do it?

2
General Board / Object Diagram
« on: May 15, 2017, 10:32:44 am »
Hello all,

    In an object diagram I can drag a class from the project browser and it becomes an object in the diagram. But I don't know how to show its attributes. Someone can teach me how to do it?

3
General Board / Conectors in activity diagram
« on: April 29, 2017, 05:56:29 am »
Hello,

     Someone knows how to put a conector in the activity diagram. I saw examples of a circle or a square with a letter inside to referenciate another part of the diagram, but I don't discover how to define it.


4
General Board / Interaction occurences in communication diagrams
« on: April 17, 2017, 07:06:11 am »
Hello,

     It is valid to use interaction occurences (or interaction uses) in Communication Diagrams? I know that it is common in sequence diagrams, but the same is true to communication diagrams? It is correct to refer to another communication diagram by means of interaction occurences?


5
Hello,

     Answering my own question, just click on the message and click on "start new group" option.

6
Thank you, it works. Just the numbers of the messages begin with 0 (0.1, 0.2, 0.3) and I don't know how to change it. I select the "sequence communication messages", but I can not change it... Some one can help me in it?

7
General Board / Repository and Dao Classes
« on: April 01, 2017, 10:32:38 am »
Hello,

    Someone has some example of sequence diagram containing lifelines from repositoy and dao classes in a interaction? I mean the steps to an entity lifeline be persisted and recovered by means of repository and dao lifelines.

8
Hello all,

    There is a tool or option that allows to convert a sequence diagram into a communication diagram?

9
General Board / Re: Persistent Classes
« on: December 30, 2016, 05:03:05 am »
Well, I thought about it, but there is no such stereotype available, so I must to create a new one, correct? I know EA allows you to digit a stereotype that is not in the list, but is it correct? I read that to create new stereotypes we need to create a new UML profile... Or is there a profile with this kind of stereotypes? I think it is very probable...

10
General Board / Re: Persistent Classes
« on: December 30, 2016, 04:30:15 am »
Well, I click in the class, then in details, there is a combo entitled persistence where you can set your class to be persistent or transient.

11
General Board / Persistent Classes
« on: December 30, 2016, 01:52:41 am »
Hello,

    There is a way to show a class is a persistent class? I mean graphically, I know that in the class properties I can set it is persistent.


12
General Board / Re: MVC
« on: December 29, 2016, 10:47:51 am »
Hello,

    Thank you for the help. The link that was posted, as I understand it, appear to say that the logical business must be in the model layer and not in the control layer. And in this link: http://www.martinfowler.com/bliki/AnemicDomainModel.html    the author Martin Fowler talks about the "anemic classes" that are classes only with attributes and getter/setter methods. He claims it is not correct and that the business logic should be in the model layer and the controller should only interpret events in the view layer and call methods in the model layer. Still I found texts that claims that the correct is to build skinny controllers and fat models... But there other people and texts that say the contrary...

13
General Board / MVC
« on: December 28, 2016, 09:42:15 pm »
Hello all,

    I am trying to understand the MVC pattern (again). In my original understanding the View Layer represents the system interface and basically communicates the events to the control layer. The control layer should interpret the events and call the appropriate methods defined in the classes of the model layer and pass the results to the view layer. The model layer contains the classes representing the problem domain and containing the business logic methods.

    But I saw other texts and examples where the classes classes have only attributes and getters / setters methods and the logical business was placed in the control classes. It confused me and I thought I was modeling in the wrong way. But keep searching and I read texts that asserts the model layer must contain the logical business methods and entities that  have only getters / setters methods are "anemic" entities classes.

    So I ask, what is correct? In a bankary system, by example, methods like openAccount, deposit and withdraw should be in the model layer (I think so) or in the control layer?
 

14
Uml Process / Re: Control Classes
« on: December 28, 2016, 02:38:19 am »
Hello,

Thank you for the help. I confess I am now confused with the MVC pattern. I used to put most of the business methods in the entities classes, but I read some texts that say it is not the correct way to use this pattern ...

    I have an example, in a system for a bankary institution I can have common accounts and special accounts (the difference is that in the common accounts you can only withdraw the money you have in the account, while in the specials accounts you can withdraw some more defined in the limit of the account).

    Well in the model I had a CommonAccount class entity where I had the openAccount and withdrawMoney methods and I specialized this class in the SpecialAccount class, where I have override the two methods.

    I had a control class but I only used it to control the events in the boundary. Now, trying to apply more correctly the MVC pattern. I transferred the openAccount method to a control class linked to the process of open an account and I removed the openAccount methods from the entities classes, also because these methods were practically constructor methods. My thinking was that the controller could decide where to call the builder according to the user settings in the boundary.

    But I did not do the same with the withDraws methods, since I thought it was more correct to keep them in the entities. So the controller linked to the withdrawal process does not have a business method ... But I'm not sure if I did it right ...




15
General Board / Sequence Diagram - Lifelines
« on: December 27, 2016, 10:34:44 am »
Dear all,

    Again I apologize for my bad english...

    I am modeling a sequence diagram and I have dragged a control class to the diagram. I set the control class instance as a lifeline and I set its stereotype as control. The only problem is that the name of the class appear to be too long and the ":" is showed a line above the name of the class... Can I configure the tool to change it?

Pages: [1] 2 3 ... 5