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=125857%3AAA0CDB325636679F1E364A387CF0C829)
context :
BehavioredClassifier (0 1); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
isReentrant : Boolean (1 1); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
ownedParameter :
Parameter (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
ownedParameterSet :
ParameterSet (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
postcondition :
Constraint (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
precondition :
Constraint (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
redefinedBehavior :
Behavior (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
specification :
BehavioralFeature (0 1); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
extension :
Extension (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
isAbstract : Boolean (1 1); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
isActive : Boolean (1 1); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
nestedClassifier :
Classifier (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
ownedAttribute :
Property (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
ownedOperation :
Operation (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
ownedReception :
Reception (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
superClass :
Class (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
classifierBehavior :
Behavior (0 1); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
interfaceRealization :
InterfaceRealization (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
ownedBehavior :
Behavior (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
ownedPort :
Port (0 *); -- source
EncapsulatedClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
ownedConnector :
Connector (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
part :
Property (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
role :
ConnectableElement (0 *); -- source
StructuredClassifier![](/se-interop/image/right-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
attribute :
Property (0 *); -- source
ClassifierAll of the Properties that are direct (i.e., not inherited or imported)
attributes of the Classifier.
{
readonly,
ordered}
Derived union with sources: (ownedAttribute)
Subsets: Classifier.feature
![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
collaborationUse :
CollaborationUse (0 *); -- source
Classifier![](/se-interop/image/right-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
feature :
Feature (0 *); -- source
ClassifierSpecifies each Feature directly defined in the classifier. Note that there
may be members of the Classifier that are of the type Feature but are not
included, e.g., inherited features.
{
readonly}
Derived union with sources: (attribute, ownedConnector, ownedReception, ownedOperation, ownedAttribute)
Subsets: Namespace.member
Opposite: Feature.featuringClassifier
![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
generalization :
Generalization (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
inheritedMember :
NamedElement (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
isFinalSpecialization : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
ownedTemplateSignature :
RedefinableTemplateSignature (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
ownedUseCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
powertypeExtent :
GeneralizationSet (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
redefinedClassifier :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
representation :
CollaborationUse (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
substitution :
Substitution (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
templateParameter :
ClassifierTemplateParameter (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
useCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
package :
Package (0 1); -- source
Type![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
visibility :
VisibilityKind (0 1); -- source
PackageableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=125857%3AAA0CDB325636679F1E364A387CF0C829)
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].