public interface InteractionOperand extends Namespace, InteractionFragment
The following features are supported:
UMLPackage.getInteractionOperand()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
InteractionFragment |
createFragment(String name,
EClass eClass)
Creates a new
InteractionFragment , with the specified 'Name', and appends it to the '
Fragment' containment reference list |
InteractionConstraint |
createGuard(String name)
Creates a new
InteractionConstraint ,with the specified 'Name', and sets the '
Guard' containment reference |
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.
|
InteractionConstraint |
getGuard()
Returns the value of the 'Guard' containment reference
|
void |
setGuard(InteractionConstraint value)
Sets the value of the '
Guard ' containment reference |
boolean |
validateGuardContainReferences(DiagnosticChain diagnostics,
Map context)
The guard must contain only references to values local to the Lifeline on which it resides, or values global to the whole Interaction.
|
boolean |
validateGuardDirectlyPrior(DiagnosticChain diagnostics,
Map context)
The guard must be placed directly prior to (above) the OccurrenceSpecification that will become the first OccurrenceSpecification within this
InteractionOperand.
|
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
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
InteractionConstraint getGuard()
setGuard(InteractionConstraint)
,
UMLPackage.getInteractionOperand_Guard()
void setGuard(InteractionConstraint value)
Guard
' containment reference.
value
- the new value of the 'Guard' containment reference.getGuard()
InteractionConstraint createGuard(String name)
InteractionConstraint
,with the specified 'Name', and sets the '
Guard' containment reference.
name
- The 'Name' for the new InteractionConstraint
, or null
.InteractionConstraint
.getGuard()
MDWEList<InteractionFragment> getFragments()
InteractionFragment
.
It is bidirectional and its opposite is 'Enclosing Operand
'.
The fragments of the operand.
UMLPackage.getInteractionOperand_Fragment()
,
InteractionFragment.getEnclosingOperand()
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()
boolean validateGuardDirectlyPrior(DiagnosticChain diagnostics, Map context)
boolean validateGuardContainReferences(DiagnosticChain diagnostics, Map context)