Set the guard using the «fragment» stereotype specification's GUARD frame. Next, specify a guard condition that specifies a minimum and maximum looping indicator. A Loop Combined Fragment is drawn using a frame with the string «Loop» placed inside the frame's name box in the upper left corner with a user specified name: If there is a second guard expression in the Guard frame, it is displayed in the upper right corner of the Else operand.įinally, insert the desired messages into the appropriate operand area.Ī Loop Combined Fragment enclosed a series of messages which are repeated. The first guard expression is displayed in the upper right corner of the IF Then operand. During execution if this operand's guard equates to true, then that operand gets executed and the Else operand gets skipped. Next, specify a guard condition for the If Then operand. From the Swimlanes dialog specify two swimlanes which will divide the frame into two or more segments: top segment is the IF Then operand, and the bottom segment is the Else operand. The combined fragment frame can be divided into what SysML calls operands ( IF Then operand and Else operand) by selecting the frame and pressing the right mouse button and then selecting Swimlanes…. Alternative Combined Fragment is used to designate a mutually exclusive choice between two or more sets of message sequences to be executed.Īn Alternative Combined Fragment element is drawn using a frame with the string «Alt» placed inside the frame's name box in the upper left corner with a user specified name. The Alternative Combined Fragment (denoted «Alt») models if…then…else constructs. When the Execution Specifications are nested, the control bars are stacked from left to right:Ī combined fragment is one or more processing sequences enclosed in a frame and executed under specific named conditions. The symbol to display the at Tag on the LifelineĮxecution Specification nodes are overlaid on Lifelines and correspond to executions by the Lifeline Block/Actor. The stereotype frames are displayed below along with the menus used to specify a Tag and its value. In the following example the user specified the Lifeline stereotype's specification has two special stereotype frames that can be used to define tags to be associated with the Lifeline on the diagram. The Lifeline stereotype's specification has two special stereotype frames that can be used to define tags to be associated with the Lifeline on the diagram. The Lifeline name or Referenced Element name is displayed using the Hide replacement name checkbox in the Modelling sidebar. When the Lifeline Referenced Element is later specified, using the Rename option, an internal link is created between the «lifeline» and the selected referenced element. When producing a rapid prototype specify the Lifeline name and then later use the rename symbol option to specify the actual Block or Actor the Lifeline represents. «block » or «actor» element) is specified by the Referenced Element section as shown below. When the symbol is placed on the drawing area the Name Symbol dialog is presented to allow you to enter a lifeline object name and to specify the structural element the Lifeline symbol represents.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |