Class UML 2.3::FunctionBehavior
Description:
A function behavior is an opaque behavior that does not access or modify
any objects or other external data.
Direct Superclasses: OpaqueBehaviorDirect Subclasses: Class Precedence List: FunctionBehavior,
OpaqueBehavior,
Behavior,
Class,
EncapsulatedClassifier,
StructuredClassifier,
BehavioredClassifier,
Classifier,
TemplateableElement,
Type,
PackageableElement,
ParameterableElement,
Namespace,
RedefinableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
body : String (0 *); -- source
OpaqueBehavior![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
language : String (0 *); -- source
OpaqueBehavior![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
context :
BehavioredClassifier (0 1); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
isReentrant : Boolean (1 1); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedParameter :
Parameter (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedParameterSet :
ParameterSet (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
postcondition :
Constraint (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
precondition :
Constraint (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
redefinedBehavior :
Behavior (0 *); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
specification :
BehavioralFeature (0 1); -- source
Behavior![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
extension :
Extension (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
isAbstract : Boolean (1 1); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
isActive : Boolean (1 1); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
nestedClassifier :
Classifier (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedAttribute :
Property (0 *); -- source
Class![](/se-interop/image/right-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedOperation :
Operation (0 *); -- source
Class The operations owned by the class.
{
composite,
ordered}
Subsets: Classifier.feature, Namespace.ownedMember
Opposite: Operation.class
![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedReception :
Reception (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
superClass :
Class (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedPort :
Port (0 *); -- source
EncapsulatedClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedConnector :
Connector (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
part :
Property (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
role :
ConnectableElement (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
classifierBehavior :
Behavior (0 1); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
interfaceRealization :
InterfaceRealization (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedBehavior :
Behavior (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedTrigger :
Trigger (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
attribute :
Property (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
collaborationUse :
CollaborationUse (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
feature :
Feature (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
generalization :
Generalization (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
inheritedMember :
NamedElement (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
isFinalSpecialization : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedTemplateSignature :
RedefinableTemplateSignature (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedUseCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
powertypeExtent :
GeneralizationSet (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
redefinedClassifier :
Classifier (0 *); -- source
Classifier![](/se-interop/image/right-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
representation :
CollaborationUse (0 1); -- source
Classifier References a collaboration use which indicates the collaboration that represents
this classifier.
Subsets: Classifier.collaborationUse
![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
substitution :
Substitution (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
templateParameter :
ClassifierTemplateParameter (0 1); -- source
Classifier![](/se-interop/image/right-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
useCase :
UseCase (0 *); -- source
Classifier The set of use cases for which this Classifier is the subject.
Opposite: UseCase.subject
![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
package :
Package (0 1); -- source
Type![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
visibility :
VisibilityKind (1 1); -- source
PackageableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/right-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedRule :
Constraint (0 *); -- source
Namespace Specifies a set of Constraints owned by this Namespace.
{
composite}
Subsets: Namespace.ownedMember
Opposite: Constraint.context
![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=117271%3AB58B2980EB228F60E79D6DFA70739544)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: types_of_parameters() : Boolean;
Description: The types of parameters are all data types, which may not nest anything
but other datatypes.
The OCL used here is not normative.Editor's notes: Is this an operator or a constraint?
Expression: true
Original: def: hasAllDataTypeAttributes(d : DataType) : Boolean =
d.ownedAttribute->forAll(a |
a.type.oclIsTypeOf(DataType) and
hasAllDataTypeAttributes(a.type))
self.ownedParameters->forAll(p | p.type.notEmpty() and
p.oclIsTypeOf(DataType) and hasAllDataTypeAttributes(p))
Signature: one_output_parameter() : Boolean;
Description: A function behavior has at least one output parameter.
Expression: self.ownedParameter->
select(p | p.direction=#out or p.direction=#inout or p.direction=#return)->size() >= 1
Operations:
No additional operations.
Send questions or comments to
[email protected].