public interface Interaction extends Behavior, InteractionFragment
The following features are supported:
UMLPackage.getInteraction()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Action |
createAction(String name,
EClass eClass)
Creates a new
Action , with the specified 'Name', and appends it to the '
Action' containment reference list |
Gate |
createFormalGate(String name)
Creates a new
Gate , with the specified 'Name', and appends it to the '
Formal Gate' containment reference list |
InteractionFragment |
createFragment(String name,
EClass eClass)
Creates a new
InteractionFragment , with the specified 'Name', and appends it to the '
Fragment' containment reference list |
Lifeline |
createLifeline(String name)
Creates a new
Lifeline , with the specified 'Name', and appends it to the '
Lifeline' containment reference list |
Message |
createMessage(String name)
Creates a new
Message , with the specified 'Name', and appends it to the '
Message' containment reference list |
Action |
getAction(String name)
Retrieves the first
Action with the specified 'Name' from the 'Action'
containment reference list |
Action |
getAction(String name,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Retrieves the first
Action 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 first
Gate with the specified 'Name' from the 'Formal Gate
' containment reference list |
Gate |
getFormalGate(String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Gate 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 first
InteractionFragment with the specified 'Name' from the '
Fragment' containment reference list |
InteractionFragment |
getFragment(String name,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Retrieves the first
InteractionFragment 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 first
Lifeline with the specified 'Name' from the '
Lifeline' containment reference list |
Lifeline |
getLifeline(String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Lifeline 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 first
Message with the specified 'Name' from the 'Message'
containment reference list |
Message |
getMessage(String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Message with the specified 'Name' from the 'Message'
containment reference list |
MDWEList<Message> |
getMessages()
Returns the value of the 'Message' containment reference list.
|
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
createNestedClassifier, createOwnedOperation, createOwnedOperation, createOwnedReception, getExtension, getExtension, getExtensions, getNestedClassifier, getNestedClassifier, getNestedClassifiers, getOwnedOperation, getOwnedOperation, getOwnedOperations, getOwnedReception, getOwnedReception, getOwnedReceptions, getSuperClass, getSuperClass, getSuperClasses, isActive, isMetaclass, setIsActive, validatePassiveClass
createOwnedPort, getOwnedPort, getOwnedPort, getOwnedPorts
createOwnedAttribute, createOwnedAttribute, createOwnedAttribute, createOwnedConnector, getOwnedAttribute, getOwnedAttribute, getOwnedAttributes, getOwnedConnector, getOwnedConnector, getOwnedConnectors, getPart, getPart, getParts, getRole, getRole, getRoles, validateMultiplicities
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
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
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
conformsTo, createAssociation, getAssociations, getPackage, setPackage
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
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
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
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
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature
createClassifierBehavior, createInterfaceRealization, createOwnedBehavior, createOwnedTrigger, getAllImplementedInterfaces, getClassifierBehavior, getImplementedInterfaces, getInterfaceRealization, getInterfaceRealization, getInterfaceRealizations, getOwnedBehavior, getOwnedBehavior, getOwnedBehaviors, getOwnedTrigger, getOwnedTrigger, getOwnedTriggers, setClassifierBehavior, validateClassBehavior
createGeneralOrdering, getCovered, getCovered, getCovereds, getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, getGeneralOrdering, getGeneralOrderings, setEnclosingInteraction, setEnclosingOperand
MDWEList<Lifeline> getLifelines()
Lifeline
.
It is bidirectional and its opposite is 'Interaction
'.
Specifies the participants in this Interaction.
UMLPackage.getInteraction_Lifeline()
,
Lifeline.getInteraction()
Lifeline createLifeline(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(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(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()
MDWEList<InteractionFragment> getFragments()
InteractionFragment
.
It is bidirectional and its opposite is 'Enclosing Interaction
'.
The ordered set of fragments in the Interaction.
UMLPackage.getInteraction_Fragment()
,
InteractionFragment.getEnclosingInteraction()
InteractionFragment createFragment(String name, 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(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(String name, boolean ignoreCase, 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()
MDWEList<Action> getActions()
Action
.
Actions owned by the Interaction.
UMLPackage.getInteraction_Action()
Action createAction(String name, 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(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(String name, boolean ignoreCase, 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()
MDWEList<Gate> getFormalGates()
Gate
.
Specifies the gates that form the message interface between this Interaction and any InteractionUses which reference it.
UMLPackage.getInteraction_FormalGate()
Gate createFormalGate(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(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(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()
MDWEList<Message> getMessages()
Message
.
It is bidirectional and its opposite is 'Interaction
'.
The Messages contained in this Interaction.
UMLPackage.getInteraction_Message()
,
Message.getInteraction()
Message createMessage(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(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(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()