public interface InteractionUse extends InteractionFragment
The following features are supported:
UMLPackage.getInteractionUse()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Gate |
createActualGate(String name)
Creates a new
Gate , with the specified 'Name', and appends it to the '
Actual Gate' containment reference list |
Action |
createArgument(String name,
EClass eClass)
Creates a new
Action , with the specified 'Name', and appends it to the '
Argument' containment reference list |
Gate |
getActualGate(String name)
Retrieves the first
Gate with the specified 'Name' from the 'Actual Gate
' containment reference list |
Gate |
getActualGate(String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Gate with the specified 'Name' from the 'Actual Gate
' containment reference list |
MDWEList<Gate> |
getActualGates()
Returns the value of the 'Actual Gate' containment reference list.
|
Action |
getArgument(String name)
Retrieves the first
Action with the specified 'Name' from the 'Argument'
containment reference list |
Action |
getArgument(String name,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Retrieves the first
Action with the specified 'Name' from the 'Argument'
containment reference list |
MDWEList<Action> |
getArguments()
Returns the value of the 'Argument' containment reference list.
|
Interaction |
getRefersTo()
Returns the value of the 'Refers To' reference
|
void |
setRefersTo(Interaction value)
Sets the value of the '
Refers To ' reference |
boolean |
validateAllLifelines(DiagnosticChain diagnostics,
Map context)
The InteractionUse must cover all Lifelines of the enclosing Interaction which appear within the referred Interaction.
|
boolean |
validateArgumentsAreConstants(DiagnosticChain diagnostics,
Map context)
The arguments must only be constants, parameters of the enclosing Interaction or attributes of the classifier owning the enclosing Interaction.
|
boolean |
validateArgumentsCorrespondToParameters(DiagnosticChain diagnostics,
Map context)
The arguments of the InteractionUse must correspond to parameters of the referred Interaction
true
|
boolean |
validateGatesMatch(DiagnosticChain diagnostics,
Map context)
Actual Gates of the InteractionUse must match Formal Gates of the referred Interaction.
|
createGeneralOrdering, getCovered, getCovered, getCovereds, getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, getGeneralOrdering, getGeneralOrderings, setEnclosingInteraction, setEnclosingOperand
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
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
Interaction getRefersTo()
setRefersTo(Interaction)
,
UMLPackage.getInteractionUse_RefersTo()
void setRefersTo(Interaction value)
Refers To
' reference.
value
- the new value of the 'Refers To' reference.getRefersTo()
MDWEList<Gate> getActualGates()
Gate
.
The actual gates of the InteractionUse
UMLPackage.getInteractionUse_ActualGate()
Gate createActualGate(String name)
Gate
, with the specified 'Name', and appends it to the '
Actual Gate' containment reference list.
name
- The 'Name' for the new Gate
, or null
.Gate
.getActualGates()
Gate getActualGate(String name)
Gate
with the specified 'Name' from the 'Actual Gate
' containment reference list.
name
- The 'Name' of the Gate
to retrieve, or null
.Gate
with the specified 'Name', or null
.getActualGates()
Gate getActualGate(String name, boolean ignoreCase, boolean createOnDemand)
Gate
with the specified 'Name' from the 'Actual 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
.getActualGates()
MDWEList<Action> getArguments()
Action
.
The actual arguments of the Interaction
UMLPackage.getInteractionUse_Argument()
Action createArgument(String name, EClass eClass)
Action
, with the specified 'Name', and appends it to the '
Argument' containment reference list.
name
- The 'Name' for the new Action
, or null
.eClass
- The Ecore class of the Action
to create.Action
.getArguments()
Action getArgument(String name)
Action
with the specified 'Name' from the 'Argument'
containment reference list.
name
- The 'Name' of the Action
to retrieve, or null
.Action
with the specified 'Name', or null
.getArguments()
Action getArgument(String name, boolean ignoreCase, EClass eClass, boolean createOnDemand)
Action
with the specified 'Name' from the 'Argument'
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
.getArguments()
boolean validateGatesMatch(DiagnosticChain diagnostics, Map context)
boolean validateAllLifelines(DiagnosticChain diagnostics, Map context)
boolean validateArgumentsCorrespondToParameters(DiagnosticChain diagnostics, Map context)
boolean validateArgumentsAreConstants(DiagnosticChain diagnostics, Map context)