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. Timeline part of the Lifeline is depicted by a dashed line descending from the base of the rectangle.Block or Actor) is depicted by a rectangle, with the name and type of the element Structural Element part of the Lifeline (i.e.Lifelines represent a structural element (Part) of a system and a timeline flowing top to bottom: The at tag value can be displayed on the diagram using the Tag symbol. In the following example the Tag symbol displays the at tag value specified in the Lifeline stereotype Time frame. The Tag symbol is used to display a tag value contained in a symbol's stereotype frames, or cross reference link attributes, anchored to the selected symbol. It can show frames, categories, tags, related items, or simply a piece of standalone text. Multi-purpose symbol which attaches to other symbols in order to show certain attributes of the model element. An image can also be embedded in the other diagram symbols. Note: If you do not want Cradle to automatically add an * go to the Graphics Settings section of Project Setup and turn off the Automatically add asterisks to diagram's comment symbols option.Īllows you to choose the location of a GIF or JPEG image to be displayed as a diagram symbol.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |