Table of Contents

Interface IOpaqueExpression

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

The public interface for OpaqueExpression

[DefaultImplementationType(typeof(OpaqueExpression))]
[XmlDefaultImplementationType(typeof(OpaqueExpression))]
[ModelRepresentationClass("http://www.omg.org/spec/MOF/20131001/cmof.xmi#//OpaqueExpression")]
public interface IOpaqueExpression : IValueSpecification, IPackageableElement, ITypedElement, INamedElement, IElement, IObject, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

Body

The text of the expression, possibly in multiple languages.

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

Property Value

IListExpression<string>

Language

Specifies the languages in which the expression is stated. The interpretation of the expression body depends on the languages. If the languages are unspecified, they might be implicit from the expression body or the context. Languages are matched to body strings by order.

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

Property Value

IOrderedSetExpression<string>

Methods

IsIntegral()

The query isIntegral() tells whether an expression is intended to produce an integer. result = false

bool IsIntegral()

Returns

bool

IsNonNegative()

The query isNonNegative() tells whether an integer expression has a non-negative value. self.isIntegral() result = false

bool IsNonNegative()

Returns

bool

IsPositive()

The query isPositive() tells whether an integer expression has a positive value. self.isIntegral() result = false

bool IsPositive()

Returns

bool

Language_body_size(object, object)

If the language attribute is not empty, then the size of the body and language arrays must be the same. language->notEmpty() implies (body->size() = language->size())

bool Language_body_size(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

Value()

The query value() gives an integer value for an expression intended to produce one. true self.isIntegral()

int Value()

Returns

int

Events

IsIntegralCalled

Gets fired after the operation isIntegral got called

event EventHandler<OperationCallEventArgs> IsIntegralCalled

Event Type

EventHandler<OperationCallEventArgs>

IsIntegralCalling

Gets fired before the operation isIntegral gets called

event EventHandler<OperationCallEventArgs> IsIntegralCalling

Event Type

EventHandler<OperationCallEventArgs>

IsNonNegativeCalled

Gets fired after the operation isNonNegative got called

event EventHandler<OperationCallEventArgs> IsNonNegativeCalled

Event Type

EventHandler<OperationCallEventArgs>

IsNonNegativeCalling

Gets fired before the operation isNonNegative gets called

event EventHandler<OperationCallEventArgs> IsNonNegativeCalling

Event Type

EventHandler<OperationCallEventArgs>

IsPositiveCalled

Gets fired after the operation isPositive got called

event EventHandler<OperationCallEventArgs> IsPositiveCalled

Event Type

EventHandler<OperationCallEventArgs>

IsPositiveCalling

Gets fired before the operation isPositive gets called

event EventHandler<OperationCallEventArgs> IsPositiveCalling

Event Type

EventHandler<OperationCallEventArgs>

Language_body_sizeCalled

Gets fired after the operation language_body_size got called

event EventHandler<OperationCallEventArgs> Language_body_sizeCalled

Event Type

EventHandler<OperationCallEventArgs>

Language_body_sizeCalling

Gets fired before the operation language_body_size gets called

event EventHandler<OperationCallEventArgs> Language_body_sizeCalling

Event Type

EventHandler<OperationCallEventArgs>

ValueCalled

Gets fired after the operation value got called

event EventHandler<OperationCallEventArgs> ValueCalled

Event Type

EventHandler<OperationCallEventArgs>

ValueCalling

Gets fired before the operation value gets called

event EventHandler<OperationCallEventArgs> ValueCalling

Event Type

EventHandler<OperationCallEventArgs>