public interface CombinedFragment extends InteractionFragment
From package UML::Interactions.
The following features are supported:
UMLPackage.getCombinedFragment()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Gate |
createCfragmentGate(java.lang.String name)
Creates a new
Gate , with the specified 'Name', and appends it to the 'Cfragment Gate' containment reference list |
InteractionOperand |
createOperand(java.lang.String name)
Creates a new
InteractionOperand , with the specified 'Name', and appends it to the 'Operand' containment reference list |
Gate |
getCfragmentGate(java.lang.String name)
Retrieves the first
Gate with the specified 'Name' from the 'Cfragment Gate' containment reference list |
Gate |
getCfragmentGate(java.lang.String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Gate with the specified 'Name' from the 'Cfragment Gate' containment reference list |
org.eclipse.emf.common.util.EList<Gate> |
getCfragmentGates()
Returns the value of the 'Cfragment Gate' containment reference list.
|
InteractionOperatorKind |
getInteractionOperator()
Returns the value of the 'Interaction Operator' attribute.
|
InteractionOperand |
getOperand(java.lang.String name)
Retrieves the first
InteractionOperand with the specified 'Name' from the 'Operand' containment reference list |
InteractionOperand |
getOperand(java.lang.String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
InteractionOperand with the specified 'Name' from the 'Operand' containment reference list |
org.eclipse.emf.common.util.EList<InteractionOperand> |
getOperands()
Returns the value of the 'Operand' containment reference list.
|
void |
setInteractionOperator(InteractionOperatorKind value)
Sets the value of the '
Interaction Operator ' attribute |
boolean |
validateBreak(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
If the interactionOperator is break, the corresponding InteractionOperand must cover all Lifelines covered by the enclosing InteractionFragment.
|
boolean |
validateConsiderAndIgnore(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The interaction operators 'consider' and 'ignore' can only be used for the ConsiderIgnoreFragment subtype of CombinedFragment
((interactionOperator = InteractionOperatorKind::consider) or (interactionOperator = InteractionOperatorKind::ignore)) implies oclIsKindOf(ConsiderIgnoreFragment)
|
boolean |
validateOptLoopBreakNeg(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
If the interactionOperator is opt, loop, break, assert or neg, there must be exactly one operand.
|
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
InteractionOperatorKind getInteractionOperator()
"seq"
.
The literals are from the enumeration InteractionOperatorKind
.
Specifies the operation which defines the semantics of this combination of InteractionFragments.
From package UML::Interactions.
InteractionOperatorKind
,
setInteractionOperator(InteractionOperatorKind)
,
UMLPackage.getCombinedFragment_InteractionOperator()
void setInteractionOperator(InteractionOperatorKind value)
Interaction Operator
' attribute.
value
- the new value of the 'Interaction Operator' attribute.InteractionOperatorKind
,
getInteractionOperator()
org.eclipse.emf.common.util.EList<InteractionOperand> getOperands()
InteractionOperand
.
This feature subsets the following features:
The set of operands of the combined fragment.From package UML::Interactions.
UMLPackage.getCombinedFragment_Operand()
InteractionOperand createOperand(java.lang.String name)
InteractionOperand
, with the specified 'Name', and appends it to the 'Operand' containment reference list.
name
- The 'Name' for the new InteractionOperand
, or null
.InteractionOperand
.getOperands()
InteractionOperand getOperand(java.lang.String name)
InteractionOperand
with the specified 'Name' from the 'Operand' containment reference list.
name
- The 'Name' of the InteractionOperand
to retrieve, or null
.InteractionOperand
with the specified 'Name', or null
.getOperands()
InteractionOperand getOperand(java.lang.String name, boolean ignoreCase, boolean createOnDemand)
InteractionOperand
with the specified 'Name' from the 'Operand' containment reference list.
name
- The 'Name' of the InteractionOperand
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a InteractionOperand
on demand if not found.InteractionOperand
with the specified 'Name', or null
.getOperands()
org.eclipse.emf.common.util.EList<Gate> getCfragmentGates()
Gate
.
This feature subsets the following features:
Specifies the gates that form the interface between this CombinedFragment and its surroundingsFrom package UML::Interactions.
UMLPackage.getCombinedFragment_CfragmentGate()
Gate createCfragmentGate(java.lang.String name)
Gate
, with the specified 'Name', and appends it to the 'Cfragment Gate' containment reference list.
name
- The 'Name' for the new Gate
, or null
.Gate
.getCfragmentGates()
Gate getCfragmentGate(java.lang.String name)
Gate
with the specified 'Name' from the 'Cfragment Gate' containment reference list.
name
- The 'Name' of the Gate
to retrieve, or null
.Gate
with the specified 'Name', or null
.getCfragmentGates()
Gate getCfragmentGate(java.lang.String name, boolean ignoreCase, boolean createOnDemand)
Gate
with the specified 'Name' from the 'Cfragment 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
.getCfragmentGates()
boolean validateOptLoopBreakNeg(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 validateBreak(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 validateConsiderAndIgnore(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.