Table of Contents

Interface IValueSpecification

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

The public interface for ValueSpecification

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

Methods

BooleanValue()

The query booleanValue() gives a single Boolean value when one can be computed. result = Set{}

bool BooleanValue()

Returns

bool

IntegerValue()

The query integerValue() gives a single Integer value when one can be computed. result = Set{}

int IntegerValue()

Returns

int

IsComputable()

The query isComputable() determines whether a value specification can be computed in a model. This operation cannot be fully defined in OCL. A conforming implementation is expected to deliver true for this operation for all value specifications that it can compute, and to compute all of those for which the operation is true. A conforming implementation is expected to be able to compute the value of all literals. result = false

bool IsComputable()

Returns

bool

IsNull()

The query isNull() returns true when it can be computed that the value is null. result = false

bool IsNull()

Returns

bool

RealValue()

The query realValue() gives a single Real value when one can be computed. result = Set{}

double RealValue()

Returns

double

StringValue()

The query stringValue() gives a single String value when one can be computed. result = Set{}

string StringValue()

Returns

string

UnlimitedValue()

The query unlimitedValue() gives a single UnlimitedNatural value when one can be computed. result = Set{}

void UnlimitedValue()

Events

BooleanValueCalled

Gets fired after the operation booleanValue got called

event EventHandler<OperationCallEventArgs> BooleanValueCalled

Event Type

EventHandler<OperationCallEventArgs>

BooleanValueCalling

Gets fired before the operation booleanValue gets called

event EventHandler<OperationCallEventArgs> BooleanValueCalling

Event Type

EventHandler<OperationCallEventArgs>

IntegerValueCalled

Gets fired after the operation integerValue got called

event EventHandler<OperationCallEventArgs> IntegerValueCalled

Event Type

EventHandler<OperationCallEventArgs>

IntegerValueCalling

Gets fired before the operation integerValue gets called

event EventHandler<OperationCallEventArgs> IntegerValueCalling

Event Type

EventHandler<OperationCallEventArgs>

IsComputableCalled

Gets fired after the operation isComputable got called

event EventHandler<OperationCallEventArgs> IsComputableCalled

Event Type

EventHandler<OperationCallEventArgs>

IsComputableCalling

Gets fired before the operation isComputable gets called

event EventHandler<OperationCallEventArgs> IsComputableCalling

Event Type

EventHandler<OperationCallEventArgs>

IsNullCalled

Gets fired after the operation isNull got called

event EventHandler<OperationCallEventArgs> IsNullCalled

Event Type

EventHandler<OperationCallEventArgs>

IsNullCalling

Gets fired before the operation isNull gets called

event EventHandler<OperationCallEventArgs> IsNullCalling

Event Type

EventHandler<OperationCallEventArgs>

RealValueCalled

Gets fired after the operation realValue got called

event EventHandler<OperationCallEventArgs> RealValueCalled

Event Type

EventHandler<OperationCallEventArgs>

RealValueCalling

Gets fired before the operation realValue gets called

event EventHandler<OperationCallEventArgs> RealValueCalling

Event Type

EventHandler<OperationCallEventArgs>

StringValueCalled

Gets fired after the operation stringValue got called

event EventHandler<OperationCallEventArgs> StringValueCalled

Event Type

EventHandler<OperationCallEventArgs>

StringValueCalling

Gets fired before the operation stringValue gets called

event EventHandler<OperationCallEventArgs> StringValueCalling

Event Type

EventHandler<OperationCallEventArgs>

UnlimitedValueCalled

Gets fired after the operation unlimitedValue got called

event EventHandler<OperationCallEventArgs> UnlimitedValueCalled

Event Type

EventHandler<OperationCallEventArgs>

UnlimitedValueCalling

Gets fired before the operation unlimitedValue gets called

event EventHandler<OperationCallEventArgs> UnlimitedValueCalling

Event Type

EventHandler<OperationCallEventArgs>