systemcomposer.interaction.RootFragment
说明
RootFragment
对象是序列图中操作数的容器,用于指定所含元素的行为。
每个交互都有一个根级片段,其中包含所有消息事件和任何子片段。
根片段没有与之相关的保护,也不会在相应的序列图上以符号显示。
创建对象
通过相应 systemcomposer.interaction.Interaction
对象的 RootFragment
属性访问 Fragment
对象。访问根操作数片段的 Operand
属性,然后,如果片段位于根操作数内,则访问根操作数的 Fragment
属性并遍历它,以查看每个片段的详细信息。
属性
示例
详细信息
版本历史记录
在 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.Operand
|systemcomposer.interaction.DurationConstraint
|systemcomposer.interaction.Annotation