Abstract Class UML 2.4.1::BehavioralFeature
Description:
A behavioral feature is a feature of a classifier that specifies an aspect
of the behavior of its instances.A behavioral feature is implemented (realized)
by a behavior. A behavioral feature specifies that a classifier will respond
to a designated request by invoking its implementing method.A behavioral
feature owns zero or more parameter sets.
Direct Superclasses: Namespace,
FeatureDirect Subclasses: Reception,
OperationClass Precedence List: BehavioralFeature,
Namespace,
Feature,
RedefinableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png)
concurrency :
CallConcurrencyKind (1 1); -- source
BehavioralFeature![](/se-interop/image/down-arrow.png)
isAbstract : Boolean (1 1); -- source
BehavioralFeature![](/se-interop/image/right-arrow.png)
method :
Behavior (0 *); -- source
BehavioralFeatureA behavioral description that implements the behavioral feature. There
may be at most one behavior for a particular pairing of a classifier (as
owner of the behavior) and a behavioral feature (as specification of the
behavior).
Opposite: Behavior.specification
![](/se-interop/image/down-arrow.png)
ownedParameter :
Parameter (0 *); -- source
BehavioralFeature![](/se-interop/image/down-arrow.png)
ownedParameterSet :
ParameterSet (0 *); -- source
BehavioralFeature![](/se-interop/image/down-arrow.png)
raisedException :
Type (0 *); -- source
BehavioralFeature![](/se-interop/image/down-arrow.png)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png)
featuringClassifier :
Classifier (0 *); -- source
Feature![](/se-interop/image/down-arrow.png)
isStatic : Boolean (1 1); -- source
Feature![](/se-interop/image/down-arrow.png)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/right-arrow.png)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElementReferences the contexts that this element may be redefined from.
{
readonly}
Derived union with sources: ()
![](/se-interop/image/right-arrow.png)
clientDependency :
Dependency (0 *); -- source
NamedElementIndicates the dependencies that reference the client.
Opposite: Dependency.client
![](/se-interop/image/down-arrow.png)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: CMOF_14_3_17() : Boolean;
Description: 14.3 [17] BehavioralFeature must be sequential
https://sites.google.com/site/metamodelingantipatterns/catalog/mof/behavioral-feature-is-not-sequential
Expression: concurrency = CallConcurrencyKind::sequential
Operations:
Signature: isDistinguishableFrom(n : NamedElement; ns : Namespace; ) : Boolean;
Description: The query isDistinguishableFrom() determines whether two BehavioralFeatures
may coexist in the same Namespace. It specifies that they have to have
different signatures.
Expression: result = if n.oclIsKindOf(BehavioralFeature) then if ns.getNamesOfMember(self)->intersection(ns.getNamesOfMember(n))->notEmpty() then Set{}->including(self)->including(n)->isUnique(bf | bf.ownedParameter->collect(type)) else true endif else true endif
Send questions or comments to
[email protected].