Table of Contents

Interface IElement

Namespace
NMF.Interop.Legacy.Cmof
Assembly
NMF.UMLInterop.dll

The public interface for Element

[DefaultImplementationType(typeof(Element))]
[XmlDefaultImplementationType(typeof(Element))]
[ModelRepresentationClass("http://schema.omg.org/spec/MOF/2.0/cmof.xml#//Element")]
public interface IElement : IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

OwnedComment

The Comments owned by this element. Subsets Element::ownedElement. The Comments owned by this element.

[Browsable(false)]
[XmlElementName("ownedComment")]
[XmlAttribute(false)]
[Containment]
IOrderedSetExpression<IComment> OwnedComment { get; }

Property Value

IOrderedSetExpression<IComment>

Methods

AllOwnedElements()

The query allOwnedElements() gives all of the direct and indirect owned elements of an element. result = ownedElement->union(ownedElement->collect(e | e.allOwnedElements()))

ISetExpression<IElement> AllOwnedElements()

Returns

ISetExpression<IElement>

Container()

IElement Container()

Returns

IElement

Delete()

IModelElement Delete()

Returns

IModelElement

Equals(object)

bool Equals(object otherElement)

Parameters

otherElement object

Returns

bool

Get(IProperty)

object Get(IProperty property)

Parameters

property IProperty

Returns

object

GetMetaClass()

IClass GetMetaClass()

Returns

IClass

Has_owner(object, object)

Elements that must be owned must have an owner. self.mustBeOwned() implies owner->notEmpty()

bool Has_owner(object diagnostics, object context)

Parameters

diagnostics object
context object

Returns

bool

Invoke(IOperation, IArgument)

object Invoke(IOperation op, IArgument arguments)

Parameters

op IOperation
arguments IArgument

Returns

object

IsInstanceOfType(IClass, bool)

bool IsInstanceOfType(IClass type, bool includeSubtypes)

Parameters

type IClass
includeSubtypes bool

Returns

bool

IsSet(IProperty)

bool IsSet(IProperty property)

Parameters

property IProperty

Returns

bool

MustBeOwned()

The query mustBeOwned() indicates whether elements of this type must have an owner. Subclasses of Element that do not require an owner must override this operation. result = true

bool MustBeOwned()

Returns

bool

Not_own_self(object, object)

An element may not directly or indirectly own itself. not self.allOwnedElements()->includes(self)

bool Not_own_self(object diagnostics, object context)

Parameters

diagnostics object
context object

Returns

bool

Set(IProperty, object)

IModelElement Set(IProperty property, object value)

Parameters

property IProperty
value object

Returns

IModelElement

Unset(IProperty)

IModelElement Unset(IProperty property)

Parameters

property IProperty

Returns

IModelElement

Verify(bool)

void Verify(bool deepVerify)

Parameters

deepVerify bool