CS 537 Group 3 Report: Activity Diagrams in addition to Observer Design Pattern Part I: Activity Diagrams Introduction(I) Introduction(II) Introduction(III)
McKay,, On-Air Personality has reference to this Academic Journal, PHwiki organized this Journal CS 537 Group 3 Report: Activity Diagrams in addition to Observer Design Pattern Anna Deghdzunyan Xuan Yang Keenan Knaur John Hurley Part I: Activity Diagrams Introduction(I) Activity diagrams describe procedural logic, business process, in addition to workflow. Activity diagrams focus on the action sequence of execution in addition to the conditions that trigger or guard those actions. Activity diagrams focus on the activitys internal actions, not on the external interfaces
This Particular University is Related to this Particular Journal
Introduction(II) Activity diagrams have similarities to flowcharts But flowcharts notation does not support parallel behavior. Business managers may prefer activity diagrams over flowcharts, because they are more underst in addition to able as long as non-technical people. An activity diagram is a special case of state chart diagram in which states are actions. Introduction(III) An activity diagram shows flow control within a system. H in addition to le Incident Archive Incident Document Incident Activity Diagram Elements Initial node Activity final node Action Flow/edge Fork Join Decision Merge Synch
Basic ElementsAction(I) Action in Activity Diagram Elements official UML name is action state. Distinction between action in addition to activity Action state refers to it as action Use term activity only refer to the whole task being modeled by the activity diagram Basic ElementsAction(II) The rounded rectangle represents an action that occurs. E.g., Customer calls ticket office : A sample action that is part of an activity diagram Customer Calls Ticket Office Basic Elements-Initial state The filled circle is the staring point of the diagrams. An initial node isnt required. The initial state shows the starting point as long as the action sequence within an activity diagram. First Action To DO
Basic Elements-Initial state(II) Initial state can indicate only ONE action. Incorrect rendering of an initial state within an activity diagram. The initial state can indicate only ONE action Action 1 Action 2 Basic ElementsFlow/edge The arrow on the diagram. There is a subtle difference between flows in addition to edges. Basic ElementsFinal node The filled circle with a border is the ending point. An activity diagram can have zero or more activity final nodes First Action To DO
Decision Get Drink For Customer Make Sure Customer Is At least 21 Years Old Customer Orders Drink Merge Customer Orders Drink Make Sure Customer Is At least 21 Years Old Get Drink For Customer Tell Customer To Order A Non Alcoholic Drink Synch A thick, solid line, allowing two or more action sequences to proceed in parallel Action 1
Fork Synch with one flow going into it in addition to several leaving it. Denotes the beginning of parallel actions. Receive Order Verify Customer Has Available Credit Verify Order Products Are In Stock Join Synch with several flows entering in addition to one leaving. All incoming flows must reach it be as long as e processing may continue. This denotes the end of parallel processing. Verify Order Products Are In Stock Verify Customer Has Available Credit Accept Order Signals An Activity diagram can have a clearly defined start point, which corresponds to an invocation of a program or routine. Activity diagram can also show response to signals. A time signal occurs because of the passage of time ( as long as example, each month end might trigger a signal.) A real time signal indicates that the activity receives an event from an outside process. The activity listens as long as those signals, in addition to the diagram defines how the activity reacts.
Signals Activity diagrams can show signals sent or received For example, we can send a message in addition to then wait as long as a reply be as long as e we can continue. Basically, the signals are flow triggers. Send signal Time signal Accept signal Flow Connection between 2 actions Simple flow – arrow – from a node to another Flow with Exception Flows (cont.) Flow with objects Flow with pins – similar to flows with objects – data needed in addition to data produced
Flows (cont.) Decision flows -labeled Connectors – does the same job as a simple arrow Tokens flow through the diagrams: The initial node creates a token, executes, passes the token to the next Fork produces a token on each of its outward flows. On a join, as each inbound token arrives, nothing happens until all the tokens appear at the join; then a token is produced on the outward flow. Tokens Join Specification Boolean expression using the names of the incoming edges to specify the conditions under which the join will emit a token. Evaluated whenever a new token is offered on any incoming edge. Default – ” in addition to
Expansion Region Structured activity region that executes multiple times corresponding to elements of an input collection. Example: The hotels may be booked independently in addition to concurrently with each other in addition to with booking the flight. Advanced Notation Conditional threads Nested activity diagrams Partitions Conditional threads One of a set of concurrent threads is conditional. Example: Frequent-flyer member Award the passenger frequent flyer miles.
Nested Activity Diagram diagram refers to an external one that uses more abstraction Partitions The contents of an activity diagram may be organized into partitions Does not have a as long as mal semantic interpretation May represent organizational unit
References Books: Freeman, Freeman, Sierra, in addition to Bates, Head First Design Patterns,OReilly 2004, p. 73 Gamma, Helm, Johnson, in addition to Vlissides, Design Patterns: Elements of Reusable Object-Oriented Software, Addison-Wesley 1995. Websites: Activity Diagrams: http://www.agilemodeling.com/artifacts/activityDiagram.htm http://computersciencesource.wordpress.com/2010/03/15/software-engineering-activity-diagrams/ http://www.cse.unt.edu/~rgoodrum/Teaching/2009/fall/4910/website%20files/h in addition to outs/umlbasicsp2-actdg.pdf http://www.devx.com/ibm/Article/21615 http://edutechwiki.unige.ch/en/UML-activity-diagram http://www.sa-depot.com/p=158 http://sourcemaking.com/uml/modeling-business-systems/external-view/activity-diagrams http://www.uml-diagrams.org/activity-diagrams.html Observer: http://www.blackwasp.co.uk/Observer.aspx http://www.cs.clemson.edu/~malloy/courses/patterns/observer.html http://www.codeproject.com/KB/architecture/Observer-Design-Pattern.aspx http://java.dzone.com/articles/observer-patternutm-source=am6-feedtweet&utm-medium=twitter&utm-campaign=toya256ForRSS http://www.patterndepot.com/put/8/observer.pdf http://sourcemaking.com/design-patterns/observer http://userpages.umbc.edu/~tarr/dp/lectures/Observer.pdf http://en.wikibooks.org/wiki/Java-Programming/Design-Patterns Observer http://www.wohnklo.de/patterns/observer.html
McKay, On-Air Personality
McKay, is from United States and they belong to WRTT-FM and they are from Huntsville, United States got related to this Particular Journal. and McKay, deal with the subjects like Entertainment; Music
Journal Ratings by Institut Teknologi Telkom
This Particular Journal got reviewed and rated by Institut Teknologi Telkom and short form of this particular Institution is ID and gave this Journal an Excellent Rating.