public interface Criterion
extends de.uka.ipd.sdq.identifier.Identifier
The following features are supported:
QMLContractPackage.getCriterion()| Modifier and Type | Method and Description |
|---|---|
boolean |
FREQUENCY_only_possible_if_DIMENSION_is_ordered(DiagnosticChain diagnostics,
Map<Object,Object> context)
self.aspects->forAll(aspect|
aspect.oclIsTypeOf(QMLContract::Frequency) implies (
self.dimension.type.oclIsTypeOf(dimensiontypes::DimensionTypeNumeric) or
(self.dimension.type.oclIsTypeOf(dimensiontypes::DimensionTypeEnum) and self.dimension.type.oclAsType(dimensiontypes::DimensionTypeEnum).order->size()>0 ) or
(self.dimension.type.oclIsTypeOf(dimensiontypes::DimensionTypeSet) and self.dimension.type.oclAsType(dimensiontypes::DimensionTypeSet).order->size()>0 )
)
)
|
EList<EvaluationAspect> |
getAspects()
Returns the value of the 'Aspects' containment reference list.
|
Dimension |
getDimension()
Returns the value of the 'Dimension' reference.
|
boolean |
Only_CONSTRAINTS_have_RESTRICTIONS(DiagnosticChain diagnostics,
Map<Object,Object> context)
self.aspects->exists(a|a.aspectRequirement <> null and a.aspectRequirement.oclIsTypeOf(QMLContract::Restriction)) implies (
self.oclIsTypeOf(QMLContract::Constraint)
)
|
boolean |
Only_OBJECTIVES_have_GOALS(DiagnosticChain diagnostics,
Map<Object,Object> context)
self.aspects->exists(a|a.aspectRequirement <> null and a.aspectRequirement.oclIsTypeOf(QMLContract::Goal)) implies (
self.oclIsTypeOf(QMLContract::Objective)
)
|
boolean |
POINTESTIMATOR_only_for_numeric_dimensions(DiagnosticChain diagnostics,
Map<Object,Object> context)
self.aspects->forAll(aspect|
aspect.oclIsTypeOf(QMLContract::PointEstimator) implies (
self.dimension.type.oclIsTypeOf(dimensiontypes::DimensionTypeNumeric)
)
)
|
void |
setDimension(Dimension value)
Sets the value of the '
Dimension' reference. |
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOptioneAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverDimension getDimension()
If the meaning of the 'Dimension' reference isn't clear, there really should be more of a description here...
setDimension(Dimension),
QMLContractPackage.getCriterion_Dimension()void setDimension(Dimension value)
Dimension' reference.
value - the new value of the 'Dimension' reference.getDimension()EList<EvaluationAspect> getAspects()
EvaluationAspect.
If the meaning of the 'Aspects' containment reference list isn't clear, there really should be more of a description here...
QMLContractPackage.getCriterion_Aspects()boolean Only_CONSTRAINTS_have_RESTRICTIONS(DiagnosticChain diagnostics, Map<Object,Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
boolean FREQUENCY_only_possible_if_DIMENSION_is_ordered(DiagnosticChain diagnostics, Map<Object,Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
boolean POINTESTIMATOR_only_for_numeric_dimensions(DiagnosticChain diagnostics, Map<Object,Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
boolean Only_OBJECTIVES_have_GOALS(DiagnosticChain diagnostics, Map<Object,Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.