public interface SimpleQMLContract extends GenericQMLContract
A contract defines simple or aspect constraints.
The following features are supported:
QMLContractPackage.getSimpleQMLContract()| Modifier and Type | Method and Description |
|---|---|
boolean |
all_DIMENSIONs_must_be_from_same_CONTRACTTYPE(DiagnosticChain diagnostics,
Map<Object,Object> context)
(self.contractType<> null) implies (
self.criteria->forAll(c|
self.contractType.dimensions->exists(dim|c.dimension=dim)
)
)
|
QMLContractType |
getContractType()
Returns the value of the 'Contract Type' reference.
|
EList<Criterion> |
getCriteria()
Returns the value of the 'Criteria' containment reference list.
|
void |
setContractType(QMLContractType value)
Sets the value of the '
Contract Type' reference. |
getName, setNamecdoConflict, 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, eSetDeliverEList<Criterion> getCriteria()
Criterion.
If the meaning of the 'Criteria' containment reference list isn't clear, there really should be more of a description here...
QMLContractPackage.getSimpleQMLContract_Criteria()QMLContractType getContractType()
If the meaning of the 'Contract Type' reference isn't clear, there really should be more of a description here...
setContractType(QMLContractType),
QMLContractPackage.getSimpleQMLContract_ContractType()void setContractType(QMLContractType value)
Contract Type' reference.
value - the new value of the 'Contract Type' reference.getContractType()boolean all_DIMENSIONs_must_be_from_same_CONTRACTTYPE(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.