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()