Package com.sodius.mdw.metamodel.uml21
Interface Continuation
-
- All Superinterfaces:
Comparable<Object>
,Element
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,InteractionFragment
,MDWEObject
,MDWObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
public interface Continuation extends InteractionFragment
A representation of the model object 'Continuation'. A continuation is a syntactic way to define continuations of different branches of an alternative combined fragment. Continuations is intuitively similar to labels representing intermediate points in a flow of control.The following features are supported:
- See Also:
UMLPackage.getContinuation()
-
-
Field Summary
-
Fields inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
SEPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isSetting()
Returns the value of the 'Setting' attribute.void
setSetting(boolean value)
Sets the value of the 'Setting
' attribute.boolean
validateFirstOrLastInteractionFragment(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
Continuations always occur as the very first InteractionFragment or the very last InteractionFragment of the enclosing InteractionFragment.boolean
validateGlobal(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
Continuations are always global in the enclosing InteractionFragment e.g.boolean
validateSameName(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
Continuations with the same name may only cover the same set of Lifelines (within one Classifier).-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Element
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
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.InteractionFragment
createGeneralOrdering, getCovered, getCovered, getCovereds, getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, getGeneralOrdering, getGeneralOrderings, setEnclosingInteraction, setEnclosingOperand
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
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
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
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
-
-
-
-
Method Detail
-
isSetting
boolean isSetting()
Returns the value of the 'Setting' attribute. The default value is"true"
. True: when the Continuation is at the end of the enclosing InteractionFragment and False when it is in the beginning.- Returns:
- the value of the 'Setting' attribute.
- See Also:
setSetting(boolean)
,UMLPackage.getContinuation_Setting()
-
setSetting
void setSetting(boolean value)
Sets the value of the 'Setting
' attribute.- Parameters:
value
- the new value of the 'Setting' attribute.- See Also:
isSetting()
-
validateSameName
boolean validateSameName(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
Continuations with the same name may only cover the same set of Lifelines (within one Classifier). true
-
validateGlobal
boolean validateGlobal(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
Continuations are always global in the enclosing InteractionFragment e.g. it always covers all Lifelines covered by the enclosing InteractionFragment. true
-
validateFirstOrLastInteractionFragment
boolean validateFirstOrLastInteractionFragment(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
Continuations always occur as the very first InteractionFragment or the very last InteractionFragment of the enclosing InteractionFragment. true
-
-