Business Modeling and Software Design by Boris Shishkov
Author:Boris Shishkov
Language: eng
Format: epub
Publisher: Springer International Publishing, Cham
([OCL]) TimeEvent (/ Effect)
[OCL] (/ Effect)
The first transition type will take place when ExternalEvent takes place and the OCL condition is true. If there is a tag, then the result of the execution of ExternalEvent must coincide with tag for the transition to take place. The second transition will take place when there is a TimeEvent and the OCL condition is true. If there is an Effect, the changes specified by it will also be made. Finally, the last transition type is similar to the second excepting the occurrence of a time event. These transition types cover the types of transitions allowed in the UML 2.4.1 specification that are significant at the specification level, as explained in [30].
An ExternalEvent will have as input parameters the artifacts in whose transitions it appears or the identifiers of those artifacts. The execution of these events and their respective tags (if any) will be defined in an activity diagram. Effects correspond to atomic tasks that have as input parameters the artifacts involved in the transition.
OCL is an OCL expression which starts from self or Class.allInstances()->... where Class is any of the classes in the class diagram. A TimeEvent represents an occurrence of time. We distinguish between relative and absolute time expressions. An absolute expression has the form at(time_expression); a relative expression has the form after(time_expression).
Notice that this state machine diagram does not follow exactly the UML standard described in [22]. This is due to the fact that it has tags, which we use to determine whether the event ends successfully or not. In traditional UML state machine diagrams, events are atomic and there is no need for such conditions.
In addition, we also allow more than one outgoing transition from the initial node. This is useful when the artifact can be created in different ways. Alternatively, this situation could be represented using one outgoing transition from the initial node, leading to a state called InitialState. From this state, we could have the outgoing transitions that start from the initial node and leave the rest of the state machine diagram as it is. However, representing the lifecycles in this way does not contribute any relevant information and adds complexity to the final diagram.
Although we use a variant of UML state machines, any other notation based on state machines would be useful to represent the lifecycles of the artifacts.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Coding Theory | Localization |
Logic | Object-Oriented Design |
Performance Optimization | Quality Control |
Reengineering | Robohelp |
Software Development | Software Reuse |
Structured Design | Testing |
Tools | UML |
Deep Learning with Python by François Chollet(12579)
Hello! Python by Anthony Briggs(9917)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9796)
The Mikado Method by Ola Ellnestam Daniel Brolund(9780)
Dependency Injection in .NET by Mark Seemann(9340)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8303)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7763)
Grails in Action by Glen Smith Peter Ledbrook(7698)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7557)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(7100)
Microservices with Go by Alexander Shuiskov(6869)
Practical Design Patterns for Java Developers by Miroslav Wengner(6783)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6725)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6419)
Angular Projects - Third Edition by Aristeidis Bampakos(6139)
The Art of Crafting User Stories by The Art of Crafting User Stories(5660)
NetSuite for Consultants - Second Edition by Peter Ries(5593)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5404)
Kotlin in Action by Dmitry Jemerov(5067)
