public class InteractionHelper
extends java.lang.Object
Interaction
models.Constructor and Description |
---|
InteractionHelper() |
Modifier and Type | Method and Description |
---|---|
static java.util.stream.Stream<InteractionFragment> |
allInteractionFragments(Interaction interaction)
Get all
InteractionFragment of the interaction. |
static java.util.Collection<InteractionFragment> |
getAllInteractionFragments(Interaction interaction)
Get all
InteractionFragment of the interaction. |
static Interaction |
getInteraction(MObject el)
Returns the
Interaction enclosing the passed element if any, null otherwise. |
public static java.util.stream.Stream<InteractionFragment> allInteractionFragments(Interaction interaction)
InteractionFragment
of the interaction.InteractionFragment
of the interaction.public static java.util.Collection<InteractionFragment> getAllInteractionFragments(Interaction interaction)
InteractionFragment
of the interaction.InteractionFragment
of the interaction.public static Interaction getInteraction(MObject el)
Interaction
enclosing the passed element if any, null
otherwise.el
- the element which enclosing Interaction is searched.Interaction
enclosing the passed element if any, null
otherwise.