Please enable JavaScript.
Coggle requires JavaScript to display documents.
Object Modeling - Coggle Diagram
Object Modeling
-
Dynamic model of UML
Activity Diagram
- Dynamic structure of the system. To clearly see the actions of user and the behavior of the system based on the actions from user.
- Start (with a black filled circle) and from the actions of the user and system will trigger the response. The activity will present in a curve rectangle and the control flow will be the solid line and line arrowhead. If there are different behavior based on different actions will be presented by a decision node (diamond shape unfilled) until the end of the activity of the functions (black circle with a white outline)
- Advantages: can clearly see the actions and the behavior of the system in each functions as well as understand the flow of achieving the function within the system.
- Disadvantages: The message between the system and user cannot be seen.
Sequence diagram
- An interaction diagram to show how group of objects collaborate to make the works done.
- Read from top to bottom, left to right. To show the system in a sequence, like what actions will be done when a message is occur.
- Object (rectangle) refer to the class without mention the attributes.
- Actor which is the user that do the actions within the system. Lifeline (vertical dashed line downwards from the object or actor) indicate the sequential events occur to that object or actor during the process
- Focuses (rectangular box) indicate the time needed for the event, the longer the box, the longer time needed.
- Synchronous message symbol (solid line with filled black arrowhead) used when the message need to get the response before continue. The diagram should show both call and reply when using this symbol for message
- Asynchronous message symbol (solid line with line arrowhead) use when don't have to wait for the reply before sender continues. Only call should be included. Asynchronous create message symbol (dashed line with line arrowhead) message creates a new object
- Asynchronous return message symbol (dashed line with line arrowhead) Reply message symbol that indicates the message that replies to call.
- Self message which to call another method from the same object.
- Advantages: More specific compared to use case and can see the sequence and time for the message and sequence of events for an objects or the actor.
- Disadvantages: Force to go right when adding new objects, more diagram needed to make and can be complicated as there are many messages for interactions in one sequence diagram.
State Transition Diagram
- Used when testing the events occur in the sequence within the system and to test the sequential order of input values.
-
- Read from left to right, the lines show the direction and the describe of events that cause the transition from one state to another.
- Transition connect the events between one state to another state. The description of events will above the solid line with line arrowhead
- Advantages: Able to give a proper representation of system behavior, make testing more easier and able to see how the state happen based on the events or actions of user.
- Disadvantages: Unable to use when the state is not in sequential order, hard to define all possible state for large and complex system.
-