Package com.sodius.mdw.metamodel.uml21
Interface Interaction
-
- All Superinterfaces:
Behavior
,BehavioredClassifier
,Class
,Classifier
,Comparable<Object>
,Element
,org.eclipse.emf.ecore.EModelElement
,EncapsulatedClassifier
,org.eclipse.emf.ecore.EObject
,InteractionFragment
,MDWEObject
,MDWObject
,NamedElement
,Namespace
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
,ParameterableElement
,RedefinableElement
,StructuredClassifier
,TemplateableElement
,Type
public interface Interaction extends Behavior, InteractionFragment
A representation of the model object 'Interaction'. An interaction is a unit of behavior that focuses on the observable exchange of information between connectable elements.The following features are supported:
- See Also:
UMLPackage.getInteraction()
-
-
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 Action
createAction(String name, org.eclipse.emf.ecore.EClass eClass)
Creates a newAction
, with the specified 'Name', and appends it to the ' Action' containment reference list.Gate
createFormalGate(String name)
Creates a newGate
, with the specified 'Name', and appends it to the ' Formal Gate' containment reference list.InteractionFragment
createFragment(String name, org.eclipse.emf.ecore.EClass eClass)
Creates a newInteractionFragment
, with the specified 'Name', and appends it to the ' Fragment' containment reference list.Lifeline
createLifeline(String name)
Creates a newLifeline
, with the specified 'Name', and appends it to the ' Lifeline' containment reference list.Message
createMessage(String name)
Creates a newMessage
, with the specified 'Name', and appends it to the ' Message' containment reference list.Action
getAction(String name)
Retrieves the firstAction
with the specified 'Name' from the 'Action' containment reference list.Action
getAction(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Retrieves the firstAction
with the specified 'Name' from the 'Action' containment reference list.MDWEList<Action>
getActions()
Returns the value of the 'Action' containment reference list.Gate
getFormalGate(String name)
Retrieves the firstGate
with the specified 'Name' from the 'Formal Gate ' containment reference list.Gate
getFormalGate(String name, boolean ignoreCase, boolean createOnDemand)
Retrieves the firstGate
with the specified 'Name' from the 'Formal Gate ' containment reference list.MDWEList<Gate>
getFormalGates()
Returns the value of the 'Formal Gate' containment reference list.InteractionFragment
getFragment(String name)
Retrieves the firstInteractionFragment
with the specified 'Name' from the ' Fragment' containment reference list.InteractionFragment
getFragment(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Retrieves the firstInteractionFragment
with the specified 'Name' from the ' Fragment' containment reference list.MDWEList<InteractionFragment>
getFragments()
Returns the value of the 'Fragment' containment reference list.Lifeline
getLifeline(String name)
Retrieves the firstLifeline
with the specified 'Name' from the ' Lifeline' containment reference list.Lifeline
getLifeline(String name, boolean ignoreCase, boolean createOnDemand)
Retrieves the firstLifeline
with the specified 'Name' from the ' Lifeline' containment reference list.MDWEList<Lifeline>
getLifelines()
Returns the value of the 'Lifeline' containment reference list.Message
getMessage(String name)
Retrieves the firstMessage
with the specified 'Name' from the 'Message' containment reference list.Message
getMessage(String name, boolean ignoreCase, boolean createOnDemand)
Retrieves the firstMessage
with the specified 'Name' from the 'Message' containment reference list.MDWEList<Message>
getMessages()
Returns the value of the 'Message' containment reference list.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Behavior
createOwnedParameter, createOwnedParameterSet, createPostcondition, createPostcondition, createPrecondition, createPrecondition, getContext, getOwnedParameter, getOwnedParameter, getOwnedParameters, getOwnedParameterSet, getOwnedParameterSet, getOwnedParameterSets, getPostcondition, getPostcondition, getPostconditions, getPrecondition, getPrecondition, getPreconditions, getRedefinedBehavior, getRedefinedBehavior, getRedefinedBehaviors, getSpecification, isReentrant, setIsReentrant, setSpecification, validateFeatureOfContextClassifier, validateMostOneBehaviour, validateMustRealize, validateParametersMatch
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.BehavioredClassifier
createClassifierBehavior, createInterfaceRealization, createOwnedBehavior, createOwnedTrigger, getAllImplementedInterfaces, getClassifierBehavior, getImplementedInterfaces, getInterfaceRealization, getInterfaceRealization, getInterfaceRealizations, getOwnedBehavior, getOwnedBehavior, getOwnedBehaviors, getOwnedTrigger, getOwnedTrigger, getOwnedTriggers, setClassifierBehavior, validateClassBehavior
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Class
createNestedClassifier, createOwnedOperation, createOwnedOperation, createOwnedReception, getExtension, getExtension, getExtensions, getNestedClassifier, getNestedClassifier, getNestedClassifiers, getOwnedOperation, getOwnedOperation, getOwnedOperations, getOwnedReception, getOwnedReception, getOwnedReceptions, getSuperClass, getSuperClass, getSuperClasses, isActive, isMetaclass, setIsActive, validatePassiveClass
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Classifier
allFeatures, allParents, conformsTo, createCollaborationUse, createGeneralization, createOwnedUseCase, createRepresentation, createSubstitution, getAllAttributes, getAllOperations, getAllUsedInterfaces, getAttribute, getAttribute, getAttributes, getCollaborationUse, getCollaborationUse, getCollaborationUses, getFeature, getFeature, getFeatures, getGeneral, getGeneral, getGeneralization, getGeneralization, getGeneralizations, getGenerals, getInheritedMember, getInheritedMember, getInheritedMembers, getOperation, getOperation, getOperations, getOwnedUseCase, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifier, getRedefinedClassifiers, getRepresentation, getSubstitution, getSubstitution, getSubstitutions, getUseCase, getUseCase, getUseCases, getUsedInterfaces, hasVisibilityOf, inherit, inheritableMembers, isAbstract, isFinalSpecialization, maySpecializeType, parents, setIsAbstract, setIsFinalSpecialization, setRepresentation, validateGeneralizationHierarchies, validateMapsToGeneralizationSet, validateNoCyclesInGeneralization, validateSpecializeType
-
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 com.sodius.mdw.metamodel.uml21.EncapsulatedClassifier
createOwnedPort, getOwnedPort, getOwnedPort, getOwnedPorts
-
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.metamodel.uml21.InteractionFragment
createGeneralOrdering, getCovered, getCovered, getCovereds, getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, getGeneralOrdering, getGeneralOrderings, setEnclosingInteraction, setEnclosingOperand
-
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
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Namespace
createElementImport, createElementImport, createOwnedDiagram, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImport, getElementImport, getElementImports, getImportedElements, getImportedMember, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMember, getMembers, getNamesOfMember, getOwnedDiagrams, getOwnedDiagrams, getOwnedMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRule, getOwnedRules, getPackageImport, getPackageImport, getPackageImports, importMembers, membersAreDistinguishable, validateMembersDistinguishable
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.RedefinableElement
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.StructuredClassifier
createOwnedAttribute, createOwnedAttribute, createOwnedAttribute, createOwnedConnector, getOwnedAttribute, getOwnedAttribute, getOwnedAttributes, getOwnedConnector, getOwnedConnector, getOwnedConnectors, getPart, getPart, getParts, getRole, getRole, getRoles, validateMultiplicities
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.TemplateableElement
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Type
conformsTo, createAssociation, getAssociations, getPackage, setPackage
-
-
-
-
Method Detail
-
getLifelines
MDWEList<Lifeline> getLifelines()
Returns the value of the 'Lifeline' containment reference list. The list contents are of typeLifeline
. It is bidirectional and its opposite is 'Interaction
'. Specifies the participants in this Interaction.- Returns:
- the value of the 'Lifeline' containment reference list.
- See Also:
UMLPackage.getInteraction_Lifeline()
,Lifeline.getInteraction()
-
createLifeline
Lifeline createLifeline(String name)
Creates a newLifeline
, with the specified 'Name', and appends it to the ' Lifeline' containment reference list.- Parameters:
name
- The 'Name' for the newLifeline
, ornull
.- Returns:
- The new
Lifeline
. - See Also:
getLifelines()
-
getLifeline
Lifeline getLifeline(String name)
Retrieves the firstLifeline
with the specified 'Name' from the ' Lifeline' containment reference list.- Parameters:
name
- The 'Name' of theLifeline
to retrieve, ornull
.- Returns:
- The first
Lifeline
with the specified 'Name', ornull
. - See Also:
getLifelines()
-
getLifeline
Lifeline getLifeline(String name, boolean ignoreCase, boolean createOnDemand)
Retrieves the firstLifeline
with the specified 'Name' from the ' Lifeline' containment reference list.- Parameters:
name
- The 'Name' of theLifeline
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.createOnDemand
- Whether to create aLifeline
on demand if not found.- Returns:
- The first
Lifeline
with the specified 'Name', ornull
. - See Also:
getLifelines()
-
getFragments
MDWEList<InteractionFragment> getFragments()
Returns the value of the 'Fragment' containment reference list. The list contents are of typeInteractionFragment
. It is bidirectional and its opposite is 'Enclosing Interaction
'. The ordered set of fragments in the Interaction.- Returns:
- the value of the 'Fragment' containment reference list.
- See Also:
UMLPackage.getInteraction_Fragment()
,InteractionFragment.getEnclosingInteraction()
-
createFragment
InteractionFragment createFragment(String name, org.eclipse.emf.ecore.EClass eClass)
Creates a newInteractionFragment
, with the specified 'Name', and appends it to the ' Fragment' containment reference list.- Parameters:
name
- The 'Name' for the newInteractionFragment
, ornull
.eClass
- The Ecore class of theInteractionFragment
to create.- Returns:
- The new
InteractionFragment
. - See Also:
getFragments()
-
getFragment
InteractionFragment getFragment(String name)
Retrieves the firstInteractionFragment
with the specified 'Name' from the ' Fragment' containment reference list.- Parameters:
name
- The 'Name' of theInteractionFragment
to retrieve, ornull
.- Returns:
- The first
InteractionFragment
with the specified 'Name', ornull
. - See Also:
getFragments()
-
getFragment
InteractionFragment getFragment(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Retrieves the firstInteractionFragment
with the specified 'Name' from the ' Fragment' containment reference list.- Parameters:
name
- The 'Name' of theInteractionFragment
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.eClass
- The Ecore class of theInteractionFragment
to retrieve, ornull
.createOnDemand
- Whether to create aInteractionFragment
on demand if not found.- Returns:
- The first
InteractionFragment
with the specified 'Name', ornull
. - See Also:
getFragments()
-
getActions
MDWEList<Action> getActions()
Returns the value of the 'Action' containment reference list. The list contents are of typeAction
. Actions owned by the Interaction.- Returns:
- the value of the 'Action' containment reference list.
- See Also:
UMLPackage.getInteraction_Action()
-
createAction
Action createAction(String name, org.eclipse.emf.ecore.EClass eClass)
Creates a newAction
, with the specified 'Name', and appends it to the ' Action' containment reference list.- Parameters:
name
- The 'Name' for the newAction
, ornull
.eClass
- The Ecore class of theAction
to create.- Returns:
- The new
Action
. - See Also:
getActions()
-
getAction
Action getAction(String name)
Retrieves the firstAction
with the specified 'Name' from the 'Action' containment reference list.- Parameters:
name
- The 'Name' of theAction
to retrieve, ornull
.- Returns:
- The first
Action
with the specified 'Name', ornull
. - See Also:
getActions()
-
getAction
Action getAction(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Retrieves the firstAction
with the specified 'Name' from the 'Action' containment reference list.- Parameters:
name
- The 'Name' of theAction
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.eClass
- The Ecore class of theAction
to retrieve, ornull
.createOnDemand
- Whether to create aAction
on demand if not found.- Returns:
- The first
Action
with the specified 'Name', ornull
. - See Also:
getActions()
-
getFormalGates
MDWEList<Gate> getFormalGates()
Returns the value of the 'Formal Gate' containment reference list. The list contents are of typeGate
. Specifies the gates that form the message interface between this Interaction and any InteractionUses which reference it.- Returns:
- the value of the 'Formal Gate' containment reference list.
- See Also:
UMLPackage.getInteraction_FormalGate()
-
createFormalGate
Gate createFormalGate(String name)
Creates a newGate
, with the specified 'Name', and appends it to the ' Formal Gate' containment reference list.- Parameters:
name
- The 'Name' for the newGate
, ornull
.- Returns:
- The new
Gate
. - See Also:
getFormalGates()
-
getFormalGate
Gate getFormalGate(String name)
Retrieves the firstGate
with the specified 'Name' from the 'Formal Gate ' containment reference list.- Parameters:
name
- The 'Name' of theGate
to retrieve, ornull
.- Returns:
- The first
Gate
with the specified 'Name', ornull
. - See Also:
getFormalGates()
-
getFormalGate
Gate getFormalGate(String name, boolean ignoreCase, boolean createOnDemand)
Retrieves the firstGate
with the specified 'Name' from the 'Formal Gate ' containment reference list.- Parameters:
name
- The 'Name' of theGate
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.createOnDemand
- Whether to create aGate
on demand if not found.- Returns:
- The first
Gate
with the specified 'Name', ornull
. - See Also:
getFormalGates()
-
getMessages
MDWEList<Message> getMessages()
Returns the value of the 'Message' containment reference list. The list contents are of typeMessage
. It is bidirectional and its opposite is 'Interaction
'. The Messages contained in this Interaction.- Returns:
- the value of the 'Message' containment reference list.
- See Also:
UMLPackage.getInteraction_Message()
,Message.getInteraction()
-
createMessage
Message createMessage(String name)
Creates a newMessage
, with the specified 'Name', and appends it to the ' Message' containment reference list.- Parameters:
name
- The 'Name' for the newMessage
, ornull
.- Returns:
- The new
Message
. - See Also:
getMessages()
-
getMessage
Message getMessage(String name)
Retrieves the firstMessage
with the specified 'Name' from the 'Message' containment reference list.- Parameters:
name
- The 'Name' of theMessage
to retrieve, ornull
.- Returns:
- The first
Message
with the specified 'Name', ornull
. - See Also:
getMessages()
-
getMessage
Message getMessage(String name, boolean ignoreCase, boolean createOnDemand)
Retrieves the firstMessage
with the specified 'Name' from the 'Message' containment reference list.- Parameters:
name
- The 'Name' of theMessage
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.createOnDemand
- Whether to create aMessage
on demand if not found.- Returns:
- The first
Message
with the specified 'Name', ornull
. - See Also:
getMessages()
-
-