Class UML 2.4.1::ProtocolTransition
Description:
A protocol transition specifies a legal transition for an operation. Transitions
of protocol state machines have the following information: a pre condition
(guard), on trigger, and a post condition. Every protocol transition is
associated to zero or one operation (referred BehavioralFeature) that belongs
to the context classifier of the protocol state machine.
Direct Superclasses: TransitionDirect Subclasses: Class Precedence List: ProtocolTransition,
Transition,
RedefinableElement,
Namespace,
NamedElement,
ElementProperties:
postCondition :
Constraint (0 1); -- source
ProtocolTransition preCondition :
Constraint (0 1); -- source
ProtocolTransition referred :
Operation (0 *); -- source
ProtocolTransition container :
Region (1 1); -- source
Transition effect :
Behavior (0 1); -- source
Transition guard :
Constraint (0 1); -- source
TransitionA guard is a constraint that provides a fine-grained control over the firing
of the transition. The guard is evaluated when an event occurrence is dispatched
by the state machine. If the guard is true at that time, the transition
may be enabled, otherwise, it is disabled. Guards should be pure expressions
without side effects. Guard expressions with side effects are ill formed.
{
composite}
Subsets: Namespace.ownedRule
kind :
TransitionKind (1 1); -- source
Transition redefinedTransition :
Transition (0 1); -- source
Transition redefinitionContext :
Classifier (1 1); -- source
Transition source :
Vertex (1 1); -- source
Transition target :
Vertex (1 1); -- source
Transition trigger :
Trigger (0 *); -- source
Transition isLeaf : Boolean (1 1); -- source
RedefinableElement redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement elementImport :
ElementImport (0 *); -- source
Namespace importedMember :
PackageableElement (0 *); -- source
Namespace member :
NamedElement (0 *); -- source
Namespace ownedMember :
NamedElement (0 *); -- source
Namespace ownedRule :
Constraint (0 *); -- source
Namespace packageImport :
PackageImport (0 *); -- source
Namespace clientDependency :
Dependency (0 *); -- source
NamedElement name : String (0 1); -- source
NamedElement nameExpression :
StringExpression (0 1); -- source
NamedElement namespace :
Namespace (0 1); -- source
NamedElement qualifiedName : String (0 1); -- source
NamedElement visibility :
VisibilityKind (0 1); -- source
NamedElement ownedComment :
Comment (0 *); -- source
Element ownedElement :
Element (0 *); -- source
Element owner :
Element (0 1); -- source
ElementConstraints:
Signature: refers_to_operation() : Boolean;
Description: 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.
Expression: true
Signature: belongs_to_psm() : Boolean;
Description: A protocol transition always belongs to a protocol state machine.
Expression: container.belongsToPSM()
Signature: associated_actions() : Boolean;
Description: A protocol transition never has associated actions.
Expression: effect->isEmpty()
Operations:
No additional operations.
Send questions or comments to
[email protected].