Interface VariableCharacterisation
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,Notifier
,PCMBaseClass
,PCMClass
- All Known Implementing Classes:
VariableCharacterisationImpl
A representation of the model object 'Variable Characterisation'.
Variable characterisations store performance critical meta-information on a variable. For example, if a variable's value is used in a long running loop, the value of the variable is performance critical. Or as an other example, for Q-Sort it is performancewise important to know how much elements are in a given array and whether the array is sorted or not. Variable characterisations contain a type which tells what kind of meta-information is stored (STRUCTURE, NUMBER_OF_ELEMENTS, ...) and a PCMRandomVariable for storing the value of the characterisation.
For example, in "a.NUMBER_OF_ELEMENTS=10" the a is the name of the variable, NUMBER_OF_ELEMENTS is the characterisation type and "10" would be the specification (as PCMRandomVariable) of the characterisation's value.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Specification Variable Characterisation' containment reference.getType()
Returns the value of the 'Type' attribute.Returns the value of the 'Variable Usage Variable Characterisation' container reference.void
Sets the value of the 'Specification Variable Characterisation
' containment reference.void
Sets the value of the 'Type
' attribute.void
Sets the value of the 'Variable Usage Variable Characterisation
' container reference.Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
copyright
- See Also:
- Generated class or method.
-
-
Method Details
-
getType
VariableCharacterisationType getType()Returns the value of the 'Type' attribute. The literals are from the enumerationVariableCharacterisationType
. The type specifies the kind of the variable characterisation. There are 5 types available: STRUCTURE, NUMBER_OF_ELEMENTS, VALUE, BYTESIZE, and TYPE.- Returns:
- the value of the 'Type' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setType
Sets the value of the 'Type
' attribute.- Parameters:
value
- the new value of the 'Type' attribute.- See Also:
- Generated class or method.
-
getSpecification_VariableCharacterisation
PCMRandomVariable getSpecification_VariableCharacterisation()Returns the value of the 'Specification Variable Characterisation' containment reference. It is bidirectional and its opposite is 'Variable Characterisation Specification
'. The specification contains the value of a variable characterisation. It is a stoachastic expression which may also contain references to other variable characterisations (that is the reason why it is a PCMRandomVariable).- Returns:
- the value of the 'Specification Variable Characterisation' containment reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="variableCharacterisation_Specification" containment="true" required="true" ordered="false"
-
setSpecification_VariableCharacterisation
Sets the value of the 'Specification Variable Characterisation
' containment reference.- Parameters:
value
- the new value of the 'Specification Variable Characterisation' containment reference.- See Also:
- Generated class or method.
-
getVariableUsage_VariableCharacterisation
VariableUsage getVariableUsage_VariableCharacterisation()Returns the value of the 'Variable Usage Variable Characterisation' container reference. It is bidirectional and its opposite is 'Variable Characterisation Variable Usage
'.- Returns:
- the value of the 'Variable Usage Variable Characterisation' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="variableCharacterisation_VariableUsage" transient="false" ordered="false"
-
setVariableUsage_VariableCharacterisation
Sets the value of the 'Variable Usage Variable Characterisation
' container reference.- Parameters:
value
- the new value of the 'Variable Usage Variable Characterisation' container reference.- See Also:
- Generated class or method.
-