public interface Interaction extends Behavior, InteractionFragment
From package UML::Interactions.
The following features are supported:
UMLPackage.getInteraction()SEPARATOR| Modifier and Type | Method and Description |
|---|---|
Action |
createAction(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
Action, with the specified 'Name', and appends it to the 'Action' containment reference list |
Gate |
createFormalGate(java.lang.String name)
Creates a new
Gate, with the specified 'Name', and appends it to the 'Formal Gate' containment reference list |
InteractionFragment |
createFragment(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
InteractionFragment, with the specified 'Name', and appends it to the 'Fragment' containment reference list |
Lifeline |
createLifeline(java.lang.String name)
Creates a new
Lifeline, with the specified 'Name', and appends it to the 'Lifeline' containment reference list |
Message |
createMessage(java.lang.String name)
Creates a new
Message, with the specified 'Name', and appends it to the 'Message' containment reference list |
Action |
getAction(java.lang.String name)
Retrieves the first
Action with the specified 'Name' from the 'Action' containment reference list |
Action |
getAction(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first
Action with the specified 'Name' from the 'Action' containment reference list |
org.eclipse.emf.common.util.EList<Action> |
getActions()
Returns the value of the 'Action' containment reference list.
|
Gate |
getFormalGate(java.lang.String name)
Retrieves the first
Gate with the specified 'Name' from the 'Formal Gate' containment reference list |
Gate |
getFormalGate(java.lang.String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Gate with the specified 'Name' from the 'Formal Gate' containment reference list |
org.eclipse.emf.common.util.EList<Gate> |
getFormalGates()
Returns the value of the 'Formal Gate' containment reference list.
|
InteractionFragment |
getFragment(java.lang.String name)
Retrieves the first
InteractionFragment with the specified 'Name' from the 'Fragment' containment reference list |
InteractionFragment |
getFragment(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first
InteractionFragment with the specified 'Name' from the 'Fragment' containment reference list |
org.eclipse.emf.common.util.EList<InteractionFragment> |
getFragments()
Returns the value of the 'Fragment' containment reference list.
|
Lifeline |
getLifeline(java.lang.String name)
Retrieves the first
Lifeline with the specified 'Name' from the 'Lifeline' containment reference list |
Lifeline |
getLifeline(java.lang.String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Lifeline with the specified 'Name' from the 'Lifeline' containment reference list |
org.eclipse.emf.common.util.EList<Lifeline> |
getLifelines()
Returns the value of the 'Lifeline' containment reference list.
|
Message |
getMessage(java.lang.String name)
Retrieves the first
Message with the specified 'Name' from the 'Message' containment reference list |
Message |
getMessage(java.lang.String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Message with the specified 'Name' from the 'Message' containment reference list |
org.eclipse.emf.common.util.EList<Message> |
getMessages()
Returns the value of the 'Message' containment reference list.
|
boolean |
validateNotContained(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
An Interaction instance must not be contained within another Interaction instance.
|
behavioredClassifier, createOwnedParameter, createOwnedParameterSet, createPostcondition, createPostcondition, createPrecondition, createPrecondition, getContext, getOwnedParameter, getOwnedParameter, getOwnedParameters, getOwnedParameterSet, getOwnedParameterSet, getOwnedParameterSets, getPostcondition, getPostcondition, getPostconditions, getPrecondition, getPrecondition, getPreconditions, getRedefinedBehavior, getRedefinedBehavior, getRedefinedBehaviors, getSpecification, inputParameters, isReentrant, isSetIsReentrant, outputParameters, setIsReentrant, setSpecification, unsetIsReentrant, validateFeatureOfContextClassifier, validateMostOneBehavior, validateParametersMatchcreateNestedClassifier, createOwnedOperation, createOwnedOperation, createOwnedReception, getExtension, getExtension, getExtensions, getNestedClassifier, getNestedClassifier, getNestedClassifiers, getOwnedOperation, getOwnedOperation, getOwnedOperations, getOwnedReception, getOwnedReception, getOwnedReceptions, getSuperClass, getSuperClass, getSuperClasses, isActive, isMetaclass, setIsActive, validatePassiveClasscreateOwnedPort, getOwnedPort, getOwnedPort, getOwnedPort, getOwnedPortsallRoles, createOwnedAttribute, createOwnedAttribute, createOwnedAttribute, createOwnedConnector, getOwnedAttribute, getOwnedAttribute, getOwnedAttributes, getOwnedConnector, getOwnedConnector, getOwnedConnectors, getPart, getPart, getParts, getRole, getRole, getRolesallAttributes, allFeatures, allParents, allRealizedInterfaces, allSlottableFeatures, allUsedInterfaces, createCollaborationUse, createGeneralization, createOwnedUseCase, createRepresentation, createSubstitution, directlyRealizedInterfaces, directlyUsedInterfaces, 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, isSubstitutableFor, maySpecializeType, parents, setIsAbstract, setIsFinalSpecialization, setRepresentation, validateMapsToGeneralizationSet, validateNoCyclesInGeneralization, validateNonFinalParents, validateSpecializeTypecreateElementImport, createElementImport, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImport, getElementImport, getElementImports, getImportedElements, getImportedMember, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMember, getMembers, getNamesOfMember, getOwnedMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRule, getOwnedRules, getPackageImport, getPackageImport, getPackageImports, importMembers, membersAreDistinguishable, validateCannotImportOwnedMembers, validateCannotImportSelf, validateMembersDistinguishablegetRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateNonLeafRedefinition, validateRedefinitionConsistent, validateRedefinitionContextValidconformsTo, createAssociation, getAssociations, getPackage, setPackagevalidateNamespaceNeedsVisibilityallNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnershipgetOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameteraddKeyword, 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, validateNotOwnSelfgetEAnnotation, getEAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivercreateOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignaturecreateClassifierBehavior, createInterfaceRealization, createOwnedBehavior, getAllImplementedInterfaces, getClassifierBehavior, getImplementedInterfaces, getInterfaceRealization, getInterfaceRealization, getInterfaceRealizations, getOwnedBehavior, getOwnedBehavior, getOwnedBehaviors, setClassifierBehavior, validateClassBehaviorcreateGeneralOrdering, getCovered, getCovered, getCovereds, getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, getGeneralOrdering, getGeneralOrderings, setEnclosingInteraction, setEnclosingOperandorg.eclipse.emf.common.util.EList<Lifeline> getLifelines()
Lifeline.
It is bidirectional and its opposite is 'Interaction'.
This feature subsets the following features:
Specifies the participants in this Interaction.From package UML::Interactions.
UMLPackage.getInteraction_Lifeline(),
Lifeline.getInteraction()Lifeline createLifeline(java.lang.String name)
Lifeline, with the specified 'Name', and appends it to the 'Lifeline' containment reference list.
name - The 'Name' for the new Lifeline, or null.Lifeline.getLifelines()Lifeline getLifeline(java.lang.String name)
Lifeline with the specified 'Name' from the 'Lifeline' containment reference list.
name - The 'Name' of the Lifeline to retrieve, or null.Lifeline with the specified 'Name', or null.getLifelines()Lifeline getLifeline(java.lang.String name, boolean ignoreCase, boolean createOnDemand)
Lifeline with the specified 'Name' from the 'Lifeline' containment reference list.
name - The 'Name' of the Lifeline to retrieve, or null.ignoreCase - Whether to ignore case in String comparisons.createOnDemand - Whether to create a Lifeline on demand if not found.Lifeline with the specified 'Name', or null.getLifelines()org.eclipse.emf.common.util.EList<InteractionFragment> getFragments()
InteractionFragment.
It is bidirectional and its opposite is 'Enclosing Interaction'.
This feature subsets the following features:
The ordered set of fragments in the Interaction.From package UML::Interactions.
UMLPackage.getInteraction_Fragment(),
InteractionFragment.getEnclosingInteraction()InteractionFragment createFragment(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
InteractionFragment, with the specified 'Name', and appends it to the 'Fragment' containment reference list.
name - The 'Name' for the new InteractionFragment, or null.eClass - The Ecore class of the InteractionFragment to create.InteractionFragment.getFragments()InteractionFragment getFragment(java.lang.String name)
InteractionFragment with the specified 'Name' from the 'Fragment' containment reference list.
name - The 'Name' of the InteractionFragment to retrieve, or null.InteractionFragment with the specified 'Name', or null.getFragments()InteractionFragment getFragment(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
InteractionFragment with the specified 'Name' from the 'Fragment' containment reference list.
name - The 'Name' of the InteractionFragment to retrieve, or null.ignoreCase - Whether to ignore case in String comparisons.eClass - The Ecore class of the InteractionFragment to retrieve, or null.createOnDemand - Whether to create a InteractionFragment on demand if not found.InteractionFragment with the specified 'Name', or null.getFragments()org.eclipse.emf.common.util.EList<Action> getActions()
Action.
This feature subsets the following features:
Actions owned by the Interaction.From package UML::Interactions.
UMLPackage.getInteraction_Action()Action createAction(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
Action, with the specified 'Name', and appends it to the 'Action' containment reference list.
name - The 'Name' for the new Action, or null.eClass - The Ecore class of the Action to create.Action.getActions()Action getAction(java.lang.String name)
Action with the specified 'Name' from the 'Action' containment reference list.
name - The 'Name' of the Action to retrieve, or null.Action with the specified 'Name', or null.getActions()Action getAction(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Action with the specified 'Name' from the 'Action' containment reference list.
name - The 'Name' of the Action to retrieve, or null.ignoreCase - Whether to ignore case in String comparisons.eClass - The Ecore class of the Action to retrieve, or null.createOnDemand - Whether to create a Action on demand if not found.Action with the specified 'Name', or null.getActions()org.eclipse.emf.common.util.EList<Gate> getFormalGates()
Gate.
This feature subsets the following features:
Specifies the gates that form the message interface between this Interaction and any InteractionUses which reference it.From package UML::Interactions.
UMLPackage.getInteraction_FormalGate()Gate createFormalGate(java.lang.String name)
Gate, with the specified 'Name', and appends it to the 'Formal Gate' containment reference list.
name - The 'Name' for the new Gate, or null.Gate.getFormalGates()Gate getFormalGate(java.lang.String name)
Gate with the specified 'Name' from the 'Formal Gate' containment reference list.
name - The 'Name' of the Gate to retrieve, or null.Gate with the specified 'Name', or null.getFormalGates()Gate getFormalGate(java.lang.String name, boolean ignoreCase, boolean createOnDemand)
Gate with the specified 'Name' from the 'Formal Gate' containment reference list.
name - The 'Name' of the Gate to retrieve, or null.ignoreCase - Whether to ignore case in String comparisons.createOnDemand - Whether to create a Gate on demand if not found.Gate with the specified 'Name', or null.getFormalGates()org.eclipse.emf.common.util.EList<Message> getMessages()
Message.
It is bidirectional and its opposite is 'Interaction'.
This feature subsets the following features:
The Messages contained in this Interaction.From package UML::Interactions.
UMLPackage.getInteraction_Message(),
Message.getInteraction()Message createMessage(java.lang.String name)
Message, with the specified 'Name', and appends it to the 'Message' containment reference list.
name - The 'Name' for the new Message, or null.Message.getMessages()Message getMessage(java.lang.String name)
Message with the specified 'Name' from the 'Message' containment reference list.
name - The 'Name' of the Message to retrieve, or null.Message with the specified 'Name', or null.getMessages()Message getMessage(java.lang.String name, boolean ignoreCase, boolean createOnDemand)
Message with the specified 'Name' from the 'Message' containment reference list.
name - The 'Name' of the Message to retrieve, or null.ignoreCase - Whether to ignore case in String comparisons.createOnDemand - Whether to create a Message on demand if not found.Message with the specified 'Name', or null.getMessages()boolean validateNotContained(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.