systemcomposer.interaction.Operand
说明
一个 Operand 对象是一个片段中的一组消息,由一个共同条件保护。
创建对象
通过相应 systemcomposer.interaction.Interaction 对象的 RootFragment 属性访问 Operand 对象。访问根片段的 Operand 属性,然后,如果片段位于根操作数内,则访问根操作数的 Fragment 属性并遍历它,以查看片段内的操作数。
属性
对象函数
addFragment | 将片段添加到操作数中 |
addMessage | 为生命线之间的交互添加消息 |
destroy | 移除模型元素 |
示例
详细信息
版本历史记录
在 R2024a 中推出
另请参阅
工具
函数
openViews|sim|addInteraction|getInteraction|getInteractions|open|addLifeline|addFragment|addOperand|addMessage|addDurationConstraint|addAnnotation|findLifeline|findElement|move|move|move|destroy|next|current|reset
对象
systemcomposer.arch.Model|systemcomposer.interaction.Interaction|systemcomposer.interaction.Iterator|systemcomposer.interaction.Lifeline|systemcomposer.interaction.MessageEvent|systemcomposer.interaction.FormalGate|systemcomposer.interaction.Message|systemcomposer.interaction.Fragment|systemcomposer.interaction.DurationConstraint|systemcomposer.interaction.Annotation

