Interface PCMRECategory
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,Notifier
,PCMRE
,RequiredElement
- All Known Implementing Classes:
PCMRECategoryImpl
A representation of the model object 'PCMRE Category'.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
EachCategoryExactlyOnceIfSpecified
(DiagnosticChain diagnostics, Map<Object, Object> context) boolean
ExistingREPrecisionCallParameterMustBeNoPrecisionDueToTheNonExistenceOfParametersForCategoryResourceDemand
(DiagnosticChain diagnostics, Map<Object, Object> context) Returns the value of the 'Category' attribute.boolean
NextLowerHierarchyLevelIsPCMRECIBehaviorForCategoryComponentInternal
(DiagnosticChain diagnostics, Map<Object, Object> context) boolean
NextLowerHierarchyLevelIsPCMREInfrastructureInterfaceForCategoryInfrastructure
(DiagnosticChain diagnostics, Map<Object, Object> context) boolean
NextLowerHierarchyLevelIsPCMREInterfaceForCategoryComponent
(DiagnosticChain diagnostics, Map<Object, Object> context) boolean
NextLowerHierarchyLevelIsPCMREResourceForCategoryResourceDemand
(DiagnosticChain diagnostics, Map<Object, Object> context) boolean
NextLowerHierarchyLevelIsPCMREResourceInterfaceForCategoryResource
(DiagnosticChain diagnostics, Map<Object, Object> context) void
setCategory
(PCMRERequestCategory value) Sets the value of the 'Category
' attribute.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.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface org.palladiosimulator.analyzer.quality.qualityannotation.PCMRE
TopmostLevelForPCMMustBePCMRECategory
Methods inherited from interface org.palladiosimulator.analyzer.quality.qualityannotation.RequiredElement
getChildREs, getParentRE, getPrecision, getQualityAnnotation, getRequiredElementDeviation, setParentRE, setPrecision, setQualityAnnotation, setRequiredElementDeviation, StipulatedPrecisionMustBeSetInStipulationContext
-
Method Details
-
getCategory
PCMRERequestCategory getCategory()Returns the value of the 'Category' attribute. The literals are from the enumerationPCMRERequestCategory
.If the meaning of the 'Category' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Category' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- unique="false" required="true" ordered="false"
-
setCategory
Sets the value of the 'Category
' attribute.- Parameters:
value
- the new value of the 'Category' attribute.- See Also:
- Generated class or method.
-
NextLowerHierarchyLevelIsPCMREInfrastructureInterfaceForCategoryInfrastructure
boolean NextLowerHierarchyLevelIsPCMREInfrastructureInterfaceForCategoryInfrastructure(DiagnosticChain diagnostics, Map<Object, Object> context) - 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.category = PCMRERequestCategory::Infrastructure implies self.childREs->forAll(child | child.oclIsTypeOf(PCMREInfrastructureInterface))'"
-
ExistingREPrecisionCallParameterMustBeNoPrecisionDueToTheNonExistenceOfParametersForCategoryResourceDemand
boolean ExistingREPrecisionCallParameterMustBeNoPrecisionDueToTheNonExistenceOfParametersForCategoryResourceDemand(DiagnosticChain diagnostics, Map<Object, Object> context) - 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.precision->size() > 0 and category = PCMRERequestCategory::ResourceDemand) implies self.precision.defaultPrecisionCallParameter.oclIsTypeOf(NoPrecision)\r\n'"
-
NextLowerHierarchyLevelIsPCMREResourceInterfaceForCategoryResource
boolean NextLowerHierarchyLevelIsPCMREResourceInterfaceForCategoryResource(DiagnosticChain diagnostics, Map<Object, Object> context) - 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.category = PCMRERequestCategory::Resource implies self.childREs->forAll(child | child.oclIsTypeOf(PCMREResourceInterface))'"
-
NextLowerHierarchyLevelIsPCMREInterfaceForCategoryComponent
boolean NextLowerHierarchyLevelIsPCMREInterfaceForCategoryComponent(DiagnosticChain diagnostics, Map<Object, Object> context) - 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.category = PCMRERequestCategory::Component implies self.childREs->forAll(child | child.oclIsTypeOf(PCMREInterface))'"
-
NextLowerHierarchyLevelIsPCMREResourceForCategoryResourceDemand
boolean NextLowerHierarchyLevelIsPCMREResourceForCategoryResourceDemand(DiagnosticChain diagnostics, Map<Object, Object> context) - 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.category = PCMRERequestCategory::ResourceDemand implies self.childREs->forAll(child | child.oclIsTypeOf(PCMREResource))'"
-
NextLowerHierarchyLevelIsPCMRECIBehaviorForCategoryComponentInternal
boolean NextLowerHierarchyLevelIsPCMRECIBehaviorForCategoryComponentInternal(DiagnosticChain diagnostics, Map<Object, Object> context) - 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.category = PCMRERequestCategory::ComponentInternal implies self.childREs->forAll(child | child.oclIsTypeOf(PCMRECIBehavior))'"
-
EachCategoryExactlyOnceIfSpecified
- 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.qualityAnnotation.stipulatedREPrecisions->select(pcmre | pcmre.oclIsTypeOf(PCMRECategory) and pcmre.oclAsType(PCMRECategory).category = self.category)->size() = 1'"
-