Class ValueSpecification
A value specification is the specification of a (possibly empty) set of instances, including both objects and data values.
[XmlNamespace("http://www.omg.org/spec/MOF/20131001/cmof.xmi")]
[XmlNamespacePrefix("cmof")]
[ModelRepresentationClass("http://www.omg.org/spec/MOF/20131001/cmof.xmi#//ValueSpecification")]
public abstract class ValueSpecification : TypedElement, IValueSpecification, IPackageableElement, ITypedElement, INamedElement, IElement, IObject, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inheritance
-
ValueSpecification
- Implements
- Derived
- Inherited Members
Properties
Children
Gets the child model elements of this model element
public override IEnumerableExpression<IModelElement> Children { get; }
Property Value
ClassInstance
Gets the Class model for this type
public static IClass ClassInstance { get; }
Property Value
Methods
BooleanValue()
The query booleanValue() gives a single Boolean value when one can be computed. result = Set{}
public bool BooleanValue()
Returns
GetClass()
Gets the Class for this model element
public override IClass GetClass()
Returns
IntegerValue()
The query integerValue() gives a single Integer value when one can be computed. result = Set{}
public int IntegerValue()
Returns
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
public bool IsComputable()
Returns
IsNull()
The query isNull() returns true when it can be computed that the value is null. result = false
public bool IsNull()
Returns
OnBooleanValueCalled(OperationCallEventArgs)
Raises the BooleanValueCalled event
protected virtual void OnBooleanValueCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnBooleanValueCalling(OperationCallEventArgs)
Raises the BooleanValueCalling event
protected virtual void OnBooleanValueCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnIntegerValueCalled(OperationCallEventArgs)
Raises the IntegerValueCalled event
protected virtual void OnIntegerValueCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnIntegerValueCalling(OperationCallEventArgs)
Raises the IntegerValueCalling event
protected virtual void OnIntegerValueCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnIsComputableCalled(OperationCallEventArgs)
Raises the IsComputableCalled event
protected virtual void OnIsComputableCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnIsComputableCalling(OperationCallEventArgs)
Raises the IsComputableCalling event
protected virtual void OnIsComputableCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnIsNullCalled(OperationCallEventArgs)
Raises the IsNullCalled event
protected virtual void OnIsNullCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnIsNullCalling(OperationCallEventArgs)
Raises the IsNullCalling event
protected virtual void OnIsNullCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnRealValueCalled(OperationCallEventArgs)
Raises the RealValueCalled event
protected virtual void OnRealValueCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnRealValueCalling(OperationCallEventArgs)
Raises the RealValueCalling event
protected virtual void OnRealValueCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnStringValueCalled(OperationCallEventArgs)
Raises the StringValueCalled event
protected virtual void OnStringValueCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnStringValueCalling(OperationCallEventArgs)
Raises the StringValueCalling event
protected virtual void OnStringValueCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnUnlimitedValueCalled(OperationCallEventArgs)
Raises the UnlimitedValueCalled event
protected virtual void OnUnlimitedValueCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnUnlimitedValueCalling(OperationCallEventArgs)
Raises the UnlimitedValueCalling event
protected virtual void OnUnlimitedValueCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
RealValue()
The query realValue() gives a single Real value when one can be computed. result = Set{}
public double RealValue()
Returns
StringValue()
The query stringValue() gives a single String value when one can be computed. result = Set{}
public string StringValue()
Returns
UnlimitedValue()
The query unlimitedValue() gives a single UnlimitedNatural value when one can be computed. result = Set{}
public void UnlimitedValue()
Events
BooleanValueCalled
Gets fired after the operation booleanValue got called
public event EventHandler<OperationCallEventArgs> BooleanValueCalled
Event Type
BooleanValueCalling
Gets fired before the operation booleanValue gets called
public event EventHandler<OperationCallEventArgs> BooleanValueCalling
Event Type
IntegerValueCalled
Gets fired after the operation integerValue got called
public event EventHandler<OperationCallEventArgs> IntegerValueCalled
Event Type
IntegerValueCalling
Gets fired before the operation integerValue gets called
public event EventHandler<OperationCallEventArgs> IntegerValueCalling
Event Type
IsComputableCalled
Gets fired after the operation isComputable got called
public event EventHandler<OperationCallEventArgs> IsComputableCalled
Event Type
IsComputableCalling
Gets fired before the operation isComputable gets called
public event EventHandler<OperationCallEventArgs> IsComputableCalling
Event Type
IsNullCalled
Gets fired after the operation isNull got called
public event EventHandler<OperationCallEventArgs> IsNullCalled
Event Type
IsNullCalling
Gets fired before the operation isNull gets called
public event EventHandler<OperationCallEventArgs> IsNullCalling
Event Type
RealValueCalled
Gets fired after the operation realValue got called
public event EventHandler<OperationCallEventArgs> RealValueCalled
Event Type
RealValueCalling
Gets fired before the operation realValue gets called
public event EventHandler<OperationCallEventArgs> RealValueCalling
Event Type
StringValueCalled
Gets fired after the operation stringValue got called
public event EventHandler<OperationCallEventArgs> StringValueCalled
Event Type
StringValueCalling
Gets fired before the operation stringValue gets called
public event EventHandler<OperationCallEventArgs> StringValueCalling
Event Type
UnlimitedValueCalled
Gets fired after the operation unlimitedValue got called
public event EventHandler<OperationCallEventArgs> UnlimitedValueCalled
Event Type
UnlimitedValueCalling
Gets fired before the operation unlimitedValue gets called
public event EventHandler<OperationCallEventArgs> UnlimitedValueCalling