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