Hey,
I'm new to uml diagrams. can any one help me?
A church market has different branches. Cashiers of each branch should be able to input all sales in their Point of Sales (POS) system. All transactions will be recorded in a local database. All transactions already recorded would be verified and validated first by staffs and then by the branch manager for each branch. After validation, information will be summarised before sent to the main office. The marketing manager may create planning and decision for the next month.
a. Draw an Activity Diagram of Transaction Reporting System.
b. Draw a Sequence diagram of all possible classes in the system.
c. Draw a possible State Diagram of a transaction.
Firstly, I wouldn't recommend you post your email address like that. Web crawlers designed to find email addresses might pick it up and spam you.
I learnt this stuff from the book 'Applying UML and Patterns' by Larman, C. Very good book in my opinion. The following is based on the content in that book...
I think a domain model would be a good place to start. Such a model shows a conceptual model of the entities and relationships in the domain. There are various ways to find such 'entities'. One of the popular method is a linguistic approach, simply where nouns are underlined! Using this, we can identify concepts like 'Cashier', 'Branch', 'Sale', 'Sales Persistence (database)'. Once you have these, you can identify relationships between them, like 'Sales at a branch are processed by a branch cashier' etc.
Use cases then describe an actor's interaction with the system to reach a useful outcome. In your case, actors might be cashiers, staff, branch manager, marketing manager.
Once you understand a few of the use cases, you can go ahead to draw system sequence diagrams (showing the interfacing methods between actors and the system), operational contracts, interaction diagrams (e.g. sequence diagrams or communication diagrams) and finally a UML class diagram.
That's a very broad description I've given you, mainly because you didn't ask a specific question.
To address the individual questions: a) You should be able to create a basic Activity Diagram showing the sequential steps involved in the transaction reporting process. There's lots on Activity Diagrams on the web.
I have to say I'm a bit concerned about question b). From my understanding, a sequence diagram shows the interactions between classes in a certain scenario (e.g. a use case), and typically wouldn't include ALL the possible classes in the system. Perhaps you're supposed to have a different understanding for your assignment...
c) Think about the states that a transaction can have. I'm no expert, but I imagine that it starts in the 'new' state, then moves to 'recorded', 'verified/validated', 'summarised' etc. A state transition diagram simply shows the paths and triggers between these states.
Hope that helps. It found it useful to write all that too, and I welcome input from others on my comments...
I really hate when people post questions on UML... especially when they have made ZERO effort to understand the concepts or at least make this forum think they have. @jesuslord... get your self a book and read up.
No because you ask for help followed by your email address, no1 is going to do the work for you, unless you pay them to. There are 1000000001 references on the internet about UML if you cannot afford a decent book.
"Systems analysis and design in a changing world" is a very good book also.
If your looking for what to use there's 2 really good options I can think of off the top of my head: http://umlet.com/ <---- cheap and dirty (by cheap I mean free)
thank you for your responds. I posted the question because i'm new to UML diagrams and i'm teaching myself how to draw it. please, someone should help me in the name of Jesus
thank you for your responds. I posted the question because i'm new to UML diagrams and i'm teaching myself how to draw it. please, someone should help me in the name of Jesus
Be content with what you have, for God has said, "Never
will I leave you; never will I forsake you." So say with
confidence, "The Lord is my helper; I will not be afraid."
- Hebrews 13:5,6
i believe God will help me out, because i have very short time to summit all my projects, and my main problem is those diagrams. Jesus, please!
“Give, and it shall be given to you. For whatever measure you deal out to others, it will be dealt to you in return.”
Now I'm not really religious, but it sounds like you are. You probably know more about the above quote than I do. In the context of this forum, one might interpret it as 'ask specific and intelligent questions and you will get specific and helpful answers'.
I'm using system architect, but i'm not familiar with it because i have just started using it last week. I'm teaching myself how to draw uml diagrams with it, but i find it difficult to solve the above question. Please, need help..
@BinIsmail, i showed it to my project co-ordinator he told me that there is some mistake i should go and change it. And he said some of my objects are not correct.