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=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
context :
BehavioredClassifier (0 1); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
isReentrant : Boolean (1 1); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
ownedParameter :
Parameter (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
ownedParameterSet :
ParameterSet (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
postcondition :
Constraint (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
precondition :
Constraint (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
redefinedBehavior :
Behavior (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
specification :
BehavioralFeature (0 1); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
extension :
Extension (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
isAbstract : Boolean (1 1); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
isActive : Boolean (1 1); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
nestedClassifier :
Classifier (0 *); -- source
Class![](/se-interop/image/right-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
ownedAttribute :
Property (0 *); -- source
ClassThe attributes (i.e., the Properties) owned by the Class.
{
composite,
ordered}
Subsets: Classifier.attribute, Namespace.ownedMember, StructuredClassifier.role
Redefines: StructuredClassifier.ownedAttribute
Opposite: Property.class
![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
ownedOperation :
Operation (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
ownedReception :
Reception (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
superClass :
Class (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
classifierBehavior :
Behavior (0 1); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
interfaceRealization :
InterfaceRealization (0 *); -- source
BehavioredClassifier![](/se-interop/image/right-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
ownedBehavior :
Behavior (0 *); -- source
BehavioredClassifierBehaviors owned by a BehavioredClassifier.
{
composite}
Subsets: Namespace.ownedMember
![](/se-interop/image/right-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
ownedPort :
Port (0 *); -- source
EncapsulatedClassifierThe Ports owned by the EncapsulatedClassifier.
{
composite,
readonly,
derived}
Subsets: StructuredClassifier.ownedAttribute
![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
ownedConnector :
Connector (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
part :
Property (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
role :
ConnectableElement (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
attribute :
Property (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
collaborationUse :
CollaborationUse (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
feature :
Feature (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
generalization :
Generalization (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
inheritedMember :
NamedElement (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
isFinalSpecialization : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
ownedTemplateSignature :
RedefinableTemplateSignature (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
ownedUseCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
powertypeExtent :
GeneralizationSet (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
redefinedClassifier :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
representation :
CollaborationUse (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
substitution :
Substitution (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
templateParameter :
ClassifierTemplateParameter (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
useCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
package :
Package (0 1); -- source
Type![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
visibility :
VisibilityKind (0 1); -- source
PackageableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
name : String (0 1); -- source
NamedElement![](/se-interop/image/right-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
nameExpression :
StringExpression (0 1); -- source
NamedElementThe StringExpression used to define the name of this NamedElement.
{
composite}
Subsets: Element.ownedElement
![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=110969%3A50352D96FCFF8EDF6E034DABB819FA8F)
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].