public interface InteractionUse extends InteractionFragment
From package UML::Interactions.
The following features are supported:
UMLPackage.getInteractionUse()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Gate |
createActualGate(java.lang.String name)
Creates a new
Gate , with the specified 'Name', and appends it to the 'Actual Gate' containment reference list |
ValueSpecification |
createArgument(java.lang.String name,
Type type,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
ValueSpecification , with the specified 'Name', and 'Type', and appends it to the 'Argument' containment reference list |
ValueSpecification |
createReturnValue(java.lang.String name,
Type type,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
ValueSpecification , with the specified 'Name', and 'Type', and sets the 'Return Value' containment reference |
Gate |
getActualGate(java.lang.String name)
Retrieves the first
Gate with the specified 'Name' from the 'Actual Gate' containment reference list |
Gate |
getActualGate(java.lang.String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Gate with the specified 'Name' from the 'Actual Gate' containment reference list |
org.eclipse.emf.common.util.EList<Gate> |
getActualGates()
Returns the value of the 'Actual Gate' containment reference list.
|
ValueSpecification |
getArgument(java.lang.String name,
Type type)
Retrieves the first
ValueSpecification with the specified 'Name', and 'Type' from the 'Argument' containment reference list |
ValueSpecification |
getArgument(java.lang.String name,
Type type,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first
ValueSpecification with the specified 'Name', and 'Type' from the 'Argument' containment reference list |
org.eclipse.emf.common.util.EList<ValueSpecification> |
getArguments()
Returns the value of the 'Argument' containment reference list.
|
Interaction |
getRefersTo()
Returns the value of the 'Refers To' reference
|
ValueSpecification |
getReturnValue()
Returns the value of the 'Return Value' containment reference.
|
Property |
getReturnValueRecipient()
Returns the value of the 'Return Value Recipient' reference
|
void |
setRefersTo(Interaction value)
Sets the value of the '
Refers To ' reference |
void |
setReturnValue(ValueSpecification value)
Sets the value of the '
Return Value ' containment reference |
void |
setReturnValueRecipient(Property value)
Sets the value of the '
Return Value Recipient ' reference |
boolean |
validateAllLifelines(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The InteractionUse must cover all Lifelines of the enclosing Interaction that are common with the lifelines covered by the referred Interaction.
|
boolean |
validateArgumentsAreConstants(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The arguments must only be constants, parameters of the enclosing Interaction or attributes of the classifier owning the enclosing Interaction.
|
boolean |
validateArgumentsCorrespondToParameters(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The arguments of the InteractionUse must correspond to parameters of the referred Interaction.
|
boolean |
validateGatesMatch(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Actual Gates of the InteractionUse must match Formal Gates of the referred Interaction.
|
boolean |
validateReturnValueRecipientCoverage(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The returnValueRecipient must be a Property of a ConnectableElement that is represented by a Lifeline covered by this InteractionUse.
|
boolean |
validateReturnValueTypeRecipientCorrespondence(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The type of the returnValue must correspond to the type of the returnValueRecipient.
|
createGeneralOrdering, getCovered, getCovered, getCovereds, getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, getGeneralOrdering, getGeneralOrderings, setEnclosingInteraction, setEnclosingOperand
allNamespaces, 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, 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
getEAnnotation, getEAnnotations
Interaction getRefersTo()
From package UML::Interactions.
setRefersTo(Interaction)
,
UMLPackage.getInteractionUse_RefersTo()
void setRefersTo(Interaction value)
Refers To
' reference.
value
- the new value of the 'Refers To' reference.getRefersTo()
ValueSpecification getReturnValue()
This feature subsets the following features:
The value of the executed Interaction.From package UML::Interactions.
setReturnValue(ValueSpecification)
,
UMLPackage.getInteractionUse_ReturnValue()
void setReturnValue(ValueSpecification value)
Return Value
' containment reference.
value
- the new value of the 'Return Value' containment reference.getReturnValue()
ValueSpecification createReturnValue(java.lang.String name, Type type, org.eclipse.emf.ecore.EClass eClass)
ValueSpecification
, with the specified 'Name', and 'Type', and sets the 'Return Value' containment reference.
name
- The 'Name' for the new ValueSpecification
, or null
.type
- The 'Type' for the new ValueSpecification
, or null
.eClass
- The Ecore class of the ValueSpecification
to create.ValueSpecification
.getReturnValue()
Property getReturnValueRecipient()
From package UML::Interactions.
setReturnValueRecipient(Property)
,
UMLPackage.getInteractionUse_ReturnValueRecipient()
void setReturnValueRecipient(Property value)
Return Value Recipient
' reference.
value
- the new value of the 'Return Value Recipient' reference.getReturnValueRecipient()
org.eclipse.emf.common.util.EList<Gate> getActualGates()
Gate
.
This feature subsets the following features:
The actual gates of the InteractionUse.From package UML::Interactions.
UMLPackage.getInteractionUse_ActualGate()
Gate createActualGate(java.lang.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(java.lang.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(java.lang.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()
org.eclipse.emf.common.util.EList<ValueSpecification> getArguments()
ValueSpecification
.
This feature subsets the following features:
The actual arguments of the Interaction.From package UML::Interactions.
UMLPackage.getInteractionUse_Argument()
ValueSpecification createArgument(java.lang.String name, Type type, org.eclipse.emf.ecore.EClass eClass)
ValueSpecification
, with the specified 'Name', and 'Type', and appends it to the 'Argument' containment reference list.
name
- The 'Name' for the new ValueSpecification
, or null
.type
- The 'Type' for the new ValueSpecification
, or null
.eClass
- The Ecore class of the ValueSpecification
to create.ValueSpecification
.getArguments()
ValueSpecification getArgument(java.lang.String name, Type type)
ValueSpecification
with the specified 'Name', and 'Type' from the 'Argument' containment reference list.
name
- The 'Name' of the ValueSpecification
to retrieve, or null
.type
- The 'Type' of the ValueSpecification
to retrieve, or null
.ValueSpecification
with the specified 'Name', and 'Type', or null
.getArguments()
ValueSpecification getArgument(java.lang.String name, Type type, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
ValueSpecification
with the specified 'Name', and 'Type' from the 'Argument' containment reference list.
name
- The 'Name' of the ValueSpecification
to retrieve, or null
.type
- The 'Type' of the ValueSpecification
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ValueSpecification
to retrieve, or null
.createOnDemand
- Whether to create a ValueSpecification
on demand if not found.ValueSpecification
with the specified 'Name', and 'Type', or null
.getArguments()
boolean validateGatesMatch(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.
boolean validateAllLifelines(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.
boolean validateArgumentsCorrespondToParameters(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.
boolean validateReturnValueTypeRecipientCorrespondence(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.
boolean validateArgumentsAreConstants(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.
boolean validateReturnValueRecipientCoverage(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.