Interface SimpleQMLContract
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,org.palladiosimulator.pcm.core.entity.Entity
,EObject
,GenericQMLContract
,de.uka.ipd.sdq.identifier.Identifier
,org.palladiosimulator.pcm.core.entity.NamedElement
,Notifier
,org.palladiosimulator.pcm.PCMBaseClass
,org.palladiosimulator.pcm.PCMClass
,QMLDeclaration
- All Known Implementing Classes:
SimpleQMLContractImpl
A representation of the model object 'Simple QML Contract
'.
A contract defines simple or aspect constraints.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Field Summary
Fields inherited from interface org.palladiosimulator.pcm.core.entity.Entity
copyright
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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) ) )Returns the value of the 'Contract Type' reference.Returns the value of the 'Criteria' containment reference list.void
setContractType
(QMLContractType value) Sets the value of the 'Contract Type
' 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 de.uka.ipd.sdq.identifier.Identifier
getId, setId
Methods inherited from interface org.palladiosimulator.pcm.core.entity.NamedElement
getEntityName, setEntityName
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getCriteria
Returns the value of the 'Criteria' containment reference list. The list contents are of typeCriterion
.If the meaning of the 'Criteria' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Criteria' containment reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- containment="true" ordered="false"
-
getContractType
QMLContractType getContractType()Returns the value of the 'Contract Type' reference.If the meaning of the 'Contract Type' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Contract Type' reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setContractType
Sets the value of the 'Contract Type
' reference.- Parameters:
value
- the new value of the 'Contract Type' reference.- See Also:
- Generated class or method.
-
all_DIMENSIONs_must_be_from_same_CONTRACTTYPE
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) ) )- Parameters:
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.- Generated class or method.
- EMF model class or method.
- annotation= "http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.contractType<> null) implies (\r\n\tself.criteria->forAll(c|\r\n\t\tself.contractType.dimensions->exists(dim|c.dimension=dim)\r\n\t)\r\n)'"
-