Package com.sodius.mdw.metamodel.uml21
Interface InteractionFragment
-
- All Superinterfaces:
Comparable<Object>,Element,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,MDWEObject,MDWObject,NamedElement,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
ActionExecutionSpecification,BehaviorExecutionSpecification,CombinedFragment,ConsiderIgnoreFragment,Continuation,ExecutionOccurrenceSpecification,ExecutionSpecification,Interaction,InteractionOperand,InteractionUse,MessageOccurrenceSpecification,OccurrenceSpecification,PartDecomposition,StateInvariant
public interface InteractionFragment extends NamedElement
A representation of the model object 'Interaction Fragment'. InteractionFragment is an abstract notion of the most general interaction unit. An interaction fragment is a piece of an interaction. Each interaction fragment is conceptually like an interaction by itself.The following features are supported:
- See Also:
UMLPackage.getInteractionFragment()
-
-
Field Summary
-
Fields inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
SEPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeneralOrderingcreateGeneralOrdering(String name)Creates a newGeneralOrdering, with the specified 'Name', and appends it to the ' General Ordering' containment reference list.LifelinegetCovered(String name)Retrieves the firstLifelinewith the specified 'Name' from the 'Covered ' reference list.LifelinegetCovered(String name, boolean ignoreCase)Retrieves the firstLifelinewith the specified 'Name' from the 'Covered ' reference list.MDWEList<Lifeline>getCovereds()Returns the value of the 'Covered' reference list.InteractiongetEnclosingInteraction()Returns the value of the 'Enclosing Interaction' container reference.InteractionOperandgetEnclosingOperand()Returns the value of the 'Enclosing Operand' container reference.GeneralOrderinggetGeneralOrdering(String name)Retrieves the firstGeneralOrderingwith the specified 'Name' from the ' General Ordering' containment reference list.GeneralOrderinggetGeneralOrdering(String name, boolean ignoreCase, boolean createOnDemand)Retrieves the firstGeneralOrderingwith the specified 'Name' from the ' General Ordering' containment reference list.MDWEList<GeneralOrdering>getGeneralOrderings()Returns the value of the 'General Ordering' containment reference list.voidsetEnclosingInteraction(Interaction value)Sets the value of the 'Enclosing Interaction' container reference.voidsetEnclosingOperand(InteractionOperand value)Sets the value of the 'Enclosing Operand' container reference.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Element
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
-
-
-
-
Method Detail
-
getCovereds
MDWEList<Lifeline> getCovereds()
Returns the value of the 'Covered' reference list. The list contents are of typeLifeline. It is bidirectional and its opposite is 'Covered By'. References the Lifelines that the InteractionFragment involves.- Returns:
- the value of the 'Covered' reference list.
- See Also:
UMLPackage.getInteractionFragment_Covered(),Lifeline.getCoveredBys()
-
getCovered
Lifeline getCovered(String name)
Retrieves the firstLifelinewith the specified 'Name' from the 'Covered ' reference list.- Parameters:
name- The 'Name' of theLifelineto retrieve, ornull.- Returns:
- The first
Lifelinewith the specified 'Name', ornull. - See Also:
getCovereds()
-
getCovered
Lifeline getCovered(String name, boolean ignoreCase)
Retrieves the firstLifelinewith the specified 'Name' from the 'Covered ' reference list.- Parameters:
name- The 'Name' of theLifelineto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.- Returns:
- The first
Lifelinewith the specified 'Name', ornull. - See Also:
getCovereds()
-
getGeneralOrderings
MDWEList<GeneralOrdering> getGeneralOrderings()
Returns the value of the 'General Ordering' containment reference list. The list contents are of typeGeneralOrdering. The general ordering relationships contained in this fragment.- Returns:
- the value of the 'General Ordering' containment reference list.
- See Also:
UMLPackage.getInteractionFragment_GeneralOrdering()
-
createGeneralOrdering
GeneralOrdering createGeneralOrdering(String name)
Creates a newGeneralOrdering, with the specified 'Name', and appends it to the ' General Ordering' containment reference list.- Parameters:
name- The 'Name' for the newGeneralOrdering, ornull.- Returns:
- The new
GeneralOrdering. - See Also:
getGeneralOrderings()
-
getGeneralOrdering
GeneralOrdering getGeneralOrdering(String name)
Retrieves the firstGeneralOrderingwith the specified 'Name' from the ' General Ordering' containment reference list.- Parameters:
name- The 'Name' of theGeneralOrderingto retrieve, ornull.- Returns:
- The first
GeneralOrderingwith the specified 'Name', ornull. - See Also:
getGeneralOrderings()
-
getGeneralOrdering
GeneralOrdering getGeneralOrdering(String name, boolean ignoreCase, boolean createOnDemand)
Retrieves the firstGeneralOrderingwith the specified 'Name' from the ' General Ordering' containment reference list.- Parameters:
name- The 'Name' of theGeneralOrderingto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.createOnDemand- Whether to create aGeneralOrderingon demand if not found.- Returns:
- The first
GeneralOrderingwith the specified 'Name', ornull. - See Also:
getGeneralOrderings()
-
getEnclosingInteraction
Interaction getEnclosingInteraction()
Returns the value of the 'Enclosing Interaction' container reference. It is bidirectional and its opposite is 'Fragment'. The Interaction enclosing this InteractionFragment.- Returns:
- the value of the 'Enclosing Interaction' container reference.
- See Also:
setEnclosingInteraction(Interaction),UMLPackage.getInteractionFragment_EnclosingInteraction(),Interaction.getFragments()
-
setEnclosingInteraction
void setEnclosingInteraction(Interaction value)
Sets the value of the 'Enclosing Interaction' container reference.- Parameters:
value- the new value of the 'Enclosing Interaction' container reference.- See Also:
getEnclosingInteraction()
-
getEnclosingOperand
InteractionOperand getEnclosingOperand()
Returns the value of the 'Enclosing Operand' container reference. It is bidirectional and its opposite is 'Fragment'. The operand enclosing this InteractionFragment (they may nest recursively)- Returns:
- the value of the 'Enclosing Operand' container reference.
- See Also:
setEnclosingOperand(InteractionOperand),UMLPackage.getInteractionFragment_EnclosingOperand(),InteractionOperand.getFragments()
-
setEnclosingOperand
void setEnclosingOperand(InteractionOperand value)
Sets the value of the 'Enclosing Operand' container reference.- Parameters:
value- the new value of the 'Enclosing Operand' container reference.- See Also:
getEnclosingOperand()
-
-