Abstract Class UML 2.3::BehavioralFeature
Description:
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?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
concurrency :
CallConcurrencyKind (1 1); -- source
BehavioralFeature![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
isAbstract : Boolean (1 1); -- source
BehavioralFeature![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
method :
Behavior (0 *); -- source
BehavioralFeature![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
ownedParameter :
Parameter (0 *); -- source
BehavioralFeature![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
ownedParameterSet :
ParameterSet (0 *); -- source
BehavioralFeature![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
raisedException :
Type (0 *); -- source
BehavioralFeature![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
featuringClassifier :
Classifier (0 *); -- source
Feature![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
isStatic : Boolean (1 1); -- source
Feature![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=24591%3A45AF602E4CE9281E2EE998DE2303F7FC)
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].