Table of Contents

Interface IFunctionBehavior

Namespace
NMF.Interop.Uml
Assembly
NMF.UMLInterop.dll

The public interface for FunctionBehavior

[DefaultImplementationType(typeof(FunctionBehavior))]
[XmlDefaultImplementationType(typeof(FunctionBehavior))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//FunctionBehavior")]
public interface IFunctionBehavior : IOpaqueBehavior, IBehavior, IClass, IBehavioredClassifier, IEncapsulatedClassifier, IStructuredClassifier, IClassifier, ITemplateableElement, IType, IPackageableElement, IParameterableElement, IRedefinableElement, INamespace, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Methods

HasAllDataTypeAttributes(IDataType)

The hasAllDataTypeAttributes query tests whether the types of the attributes of the given DataType are all DataTypes, and similarly for all those DataTypes. result = (d.ownedAttribute->forAll(a | a.type.oclIsKindOf(DataType) and hasAllDataTypeAttributes(a.type.oclAsType(DataType)))) <p>From package UML::CommonBehavior.</p>

bool HasAllDataTypeAttributes(IDataType d)

Parameters

d IDataType

Returns

bool

One_output_parameter(object, object)

A FunctionBehavior has at least one output Parameter. self.ownedParameter-> select(p | p.direction = ParameterDirectionKind::out or p.direction= ParameterDirectionKind::inout or p.direction= ParameterDirectionKind::return)->size() >= 1

bool One_output_parameter(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool

Types_of_parameters(object, object)

The types of the ownedParameters are all DataTypes, which may not nest anything but other DataTypes. ownedParameter->forAll(p | p.type <> null and p.type.oclIsTypeOf(DataType) and hasAllDataTypeAttributes(p.type.oclAsType(DataType)))

bool Types_of_parameters(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool