public interface ProtocolTransition extends Transition
The following features are supported:
UMLPackage.getProtocolTransition()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Constraint |
createPostCondition(String name)
Creates a new
Constraint ,with the specified 'Name', and sets the '
Post Condition' reference |
Constraint |
createPostCondition(String name,
EClass eClass)
Creates a new
Constraint , with the specified 'Name', and sets the '
Post Condition' reference |
Constraint |
getPostCondition()
Returns the value of the 'Post Condition' reference
|
Constraint |
getPreCondition()
Returns the value of the 'Pre Condition' reference
|
Operation |
getReferred(String name,
MDWEList<String> ownedParameterNames,
MDWEList<? extends Type> ownedParameterTypes)
Retrieves the first
Operation with the specified 'Name', '
Owned Parameter Names', and 'Owned Parameter Types' from the 'Referred' reference list |
Operation |
getReferred(String name,
MDWEList<String> ownedParameterNames,
MDWEList<? extends Type> ownedParameterTypes,
boolean ignoreCase)
Retrieves the first
Operation with the specified 'Name', '
Owned Parameter Names', and 'Owned Parameter Types' from the 'Referred' reference list |
MDWEList<Operation> |
getReferreds()
Returns the value of the 'Referred' reference list.
|
void |
setPostCondition(Constraint value)
Sets the value of the '
Post Condition ' reference |
void |
setPreCondition(Constraint value)
Sets the value of the '
Pre Condition ' reference |
boolean |
validateAssociatedActions(DiagnosticChain diagnostics,
Map context)
A protocol transition never has associated actions.
|
boolean |
validateBelongsToPsm(DiagnosticChain diagnostics,
Map context)
A protocol transition always belongs to a protocol state machine.
|
boolean |
validateRefersToOperation(DiagnosticChain diagnostics,
Map context)
If a protocol transition refers to an operation (i. e. has a call trigger corresponding to an operation), then that operation should apply to
the context classifier of the state machine of the protocol transition.
|
containingStateMachine, createEffect, createGuard, createGuard, createTrigger, getContainer, getEffect, getGuard, getKind, getRedefinedTransition, getSource, getTarget, getTrigger, getTrigger, getTriggers, redefinitionContext, setContainer, setEffect, setGuard, setKind, setRedefinedTransition, setSource, setTarget, validateForkSegmentGuards, validateForkSegmentState, validateInitialTransition, validateJoinSegmentGuards, validateJoinSegmentState, validateOutgoingPseudostates, validateSignaturesCompatible
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
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
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
Constraint getPostCondition()
setPostCondition(Constraint)
,
UMLPackage.getProtocolTransition_PostCondition()
void setPostCondition(Constraint value)
Post Condition
' reference.
value
- the new value of the 'Post Condition' reference.getPostCondition()
Constraint createPostCondition(String name, EClass eClass)
Constraint
, with the specified 'Name', and sets the '
Post Condition' reference.
name
- The 'Name' for the new Constraint
, or null
.eClass
- The Ecore class of the Constraint
to create.Constraint
.getPostCondition()
Constraint createPostCondition(String name)
Constraint
,with the specified 'Name', and sets the '
Post Condition' reference.
name
- The 'Name' for the new Constraint
, or null
.Constraint
.getPostCondition()
MDWEList<Operation> getReferreds()
Operation
.
This association refers to the associated operation. It is derived from the operation of the call trigger when applicable.
UMLPackage.getProtocolTransition_Referred()
Operation getReferred(String name, MDWEList<String> ownedParameterNames, MDWEList<? extends Type> ownedParameterTypes)
Operation
with the specified 'Name', '
Owned Parameter Names', and 'Owned Parameter Types' from the 'Referred' reference list.
name
- The 'Name' of the Operation
to retrieve, or null
.ownedParameterNames
- The 'Owned Parameter Names' of the Operation
to retrieve, or
null
.ownedParameterTypes
- The 'Owned Parameter Types' of the Operation
to retrieve, or
null
.Operation
with the specified 'Name', '
Owned Parameter Names', and 'Owned Parameter Types', or null
.getReferreds()
Operation getReferred(String name, MDWEList<String> ownedParameterNames, MDWEList<? extends Type> ownedParameterTypes, boolean ignoreCase)
Operation
with the specified 'Name', '
Owned Parameter Names', and 'Owned Parameter Types' from the 'Referred' reference list.
name
- The 'Name' of the Operation
to retrieve, or null
.ownedParameterNames
- The 'Owned Parameter Names' of the Operation
to retrieve, or
null
.ownedParameterTypes
- The 'Owned Parameter Types' of the Operation
to retrieve, or
null
.ignoreCase
- Whether to ignore case in String
comparisons.Operation
with the specified 'Name', '
Owned Parameter Names', and 'Owned Parameter Types', or null
.getReferreds()
Constraint getPreCondition()
setPreCondition(Constraint)
,
UMLPackage.getProtocolTransition_PreCondition()
void setPreCondition(Constraint value)
Pre Condition
' reference.
value
- the new value of the 'Pre Condition' reference.getPreCondition()
boolean validateBelongsToPsm(DiagnosticChain diagnostics, Map context)
boolean validateAssociatedActions(DiagnosticChain diagnostics, Map context)
boolean validateRefersToOperation(DiagnosticChain diagnostics, Map context)