Abstract Class UML 2.5::Behavior
Description:
Behavior is a specification of how its context BehavioredClassifier changes
state over time. This specification may be either a definition of possible
behavior execution or emergent behavior, or a selective illustration of
an interesting subset of possible executions. The latter form is typically
used for capturing examples, such as a trace of a particular execution.
Direct Superclasses: ClassDirect Subclasses: StateMachine,
OpaqueBehavior,
Interaction,
ActivityClass Precedence List: Behavior,
Class,
BehavioredClassifier,
EncapsulatedClassifier,
StructuredClassifier,
Classifier,
Namespace,
Type,
PackageableElement,
ParameterableElement,
TemplateableElement,
RedefinableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
context :
BehavioredClassifier (0 1); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
isReentrant : Boolean (1 1); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
ownedParameter :
Parameter (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
ownedParameterSet :
ParameterSet (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
postcondition :
Constraint (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
precondition :
Constraint (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
redefinedBehavior :
Behavior (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
specification :
BehavioralFeature (0 1); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
extension :
Extension (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
isAbstract : Boolean (1 1); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
isActive : Boolean (1 1); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
nestedClassifier :
Classifier (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
ownedAttribute :
Property (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
ownedOperation :
Operation (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
ownedReception :
Reception (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
superClass :
Class (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
classifierBehavior :
Behavior (0 1); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
interfaceRealization :
InterfaceRealization (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
ownedBehavior :
Behavior (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
ownedPort :
Port (0 *); -- source
EncapsulatedClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
ownedConnector :
Connector (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
part :
Property (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
role :
ConnectableElement (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
attribute :
Property (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
collaborationUse :
CollaborationUse (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
feature :
Feature (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
generalization :
Generalization (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
inheritedMember :
NamedElement (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
isFinalSpecialization : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
ownedTemplateSignature :
RedefinableTemplateSignature (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
ownedUseCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
powertypeExtent :
GeneralizationSet (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
redefinedClassifier :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
representation :
CollaborationUse (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
substitution :
Substitution (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
templateParameter :
ClassifierTemplateParameter (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
useCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
package :
Package (0 1); -- source
Type![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
visibility :
VisibilityKind (0 1); -- source
PackageableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=21564%3A68C9B81CF1774347472A0250CD14E77F)
owner :
Element (0 1); -- source
ElementConstraints:
No additional constraints.
Operations:
Signature: outputParameters() : Parameter;
Description: The out, inout and return ownedParameters.
Expression: result = (ownedParameter->select(direction=ParameterDirectionKind::out or direction=ParameterDirectionKind::inout or direction=ParameterDirectionKind::return))
Signature: inputParameters() : Parameter;
Description: The in and inout ownedParameters of the Behavior.
Expression: result = (ownedParameter->select(direction=ParameterDirectionKind::_'in' or direction=ParameterDirectionKind::inout))
Signature: context.1() : BehavioredClassifier;
Description: A Behavior that is directly owned as a nestedClassifier does not have a
context. Otherwise, to determine the context of a Behavior, find the first
BehavioredClassifier reached by following the chain of owner relationships
from the Behavior, if any. If there is such a BehavioredClassifier, then
it is the context, unless it is itself a Behavior with a non-empty context,
in which case that is also the context for the original Behavior.
Expression: result = (if nestingClass <> null then null else let b:BehavioredClassifier = self.behavioredClassifier(self.owner) in if b.oclIsKindOf(Behavior) and b.oclAsType(Behavior)._'context' <> null then b.oclAsType(Behavior)._'context' else b endif endif )
Signature: behavioredClassifier(from : Element; ) : BehavioredClassifier;
Description: The first BehavioredClassifier reached by following the chain of owner
relationships from the Behavior, if any.
Expression:
Send questions or comments to
[email protected].