Table of Contents

Interface IValueSpecification

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

The public interface for ValueSpecification

[DefaultImplementationType(typeof(ValueSpecification))]
[XmlDefaultImplementationType(typeof(ValueSpecification))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//ValueSpecification")]
public interface IValueSpecification : ITypedElement, IPackageableElement, IParameterableElement, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Methods

BooleanValue()

The query booleanValue() gives a single Boolean value when one can be computed. result = (null) <p>From package UML::Values.</p>

bool BooleanValue()

Returns

bool

IntegerValue()

The query integerValue() gives a single Integer value when one can be computed. result = (null) <p>From package UML::Values.</p>

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 ValueSpecifications 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 at least the value of all LiteralSpecifications. result = (false) <p>From package UML::Values.</p>

bool IsComputable()

Returns

bool

IsNull()

The query isNull() returns true when it can be computed that the value is null. result = (false) <p>From package UML::Values.</p>

bool IsNull()

Returns

bool

RealValue()

The query realValue() gives a single Real value when one can be computed. result = (null) <p>From package UML::Values.</p>

double RealValue()

Returns

double

StringValue()

The query stringValue() gives a single String value when one can be computed. result = (null) <p>From package UML::Values.</p>

string StringValue()

Returns

string

UnlimitedValue()

The query unlimitedValue() gives a single UnlimitedNatural value when one can be computed. result = (null) <p>From package UML::Values.</p>

void UnlimitedValue()