Table of Contents

Class OpaqueBehavior

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

An OpaqueBehavior is a Behavior whose specification is given in a textual language other than UML. <p>From package UML::CommonBehavior.</p>

[XmlNamespace("http://www.eclipse.org/uml2/5.0.0/UML")]
[XmlNamespacePrefix("uml")]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//OpaqueBehavior")]
public class OpaqueBehavior : Behavior, IOpaqueBehavior, IBehavior, IClass, IBehavioredClassifier, IEncapsulatedClassifier, IStructuredClassifier, IClassifier, ITemplateableElement, IType, IPackageableElement, IParameterableElement, IRedefinableElement, INamespace, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
OpaqueBehavior
Implements
Derived
Inherited Members

Constructors

OpaqueBehavior()

Creates a new instance

public OpaqueBehavior()

Properties

Body

Specifies the behavior in one or more languages. <p>From package UML::CommonBehavior.</p>

[XmlElementName("body")]
[XmlAttribute(true)]
public IListExpression<string> Body { get; }

Property Value

IListExpression<string>

ClassInstance

Gets the Class model for this type

public static IClass ClassInstance { get; }

Property Value

IClass

Language

Languages the body strings use in the same order as the body strings. <p>From package UML::CommonBehavior.</p>

[XmlElementName("language")]
[XmlAttribute(true)]
public IOrderedSetExpression<string> Language { get; }

Property Value

IOrderedSetExpression<string>

Methods

GetAttributeValue(string, int)

Resolves the given attribute name

protected override object GetAttributeValue(string attribute, int index)

Parameters

attribute string

The requested attribute name

index int

The index of this attribute

Returns

object

The attribute value or null if it could not be found

GetClass()

Gets the Class for this model element

public override IClass GetClass()

Returns

IClass

GetCollectionForFeature(string)

Gets the Model element collection for the given feature

protected override IList GetCollectionForFeature(string feature)

Parameters

feature string

The requested feature

Returns

IList

A non-generic list of elements