In this section, we introduce the basic concepts used in this work which are: TD, TPN, OCLRT and TCTL.
2.1. UML2 TD
Timing Diagram (TD) (OMG, 2012) is used to express state change of a value of one or more elements over time. Actually, it is used to further study the model in terms of time and duration constraints and the merge of the different elements such as lifeline, state, message, time constraint and duration constraint (see Figure 1).
The TD life line shows the change of an item's state over time, while the state represents the set of the attributes values of an object. The duration constraint expresses the maintain time of the object state and the time constraint represents the time where each state transition can be released. Finally, a message represents a communication link between two life lines.
In this work, we propose a formal definition of UML2 TD which is inspired from the work proposed in (Joochim, 2010). So, the TD will be described using a model MTD as follows:
MTD = (Lf, Pt, Msg, State, Dc and Tc) where:
- •
Lf = {lf1, .., lfk} represents a final set of life lines.
- •
Pt = {pt1, .., ptk} represents a final set of interaction points relying all life lines to asynchronous messages.
- •
Msg = {m1, .., mk} represents a final set of asynchronous messages exchanged between objects.
- •
State = {st1, .., stk} represents a final set of objects states.
- •
Dc = {dc1, .., dck} represents a final set of duration constraints.
- •
Tc = {tc1, .., tck} represents a final set of time constraints.