Interface ComponentCost
- All Known Subinterfaces:
ComponentCostPerInstance
- All Known Implementing Classes:
ComponentCostImpl
,ComponentCostPerInstanceImpl
For components, the componentOperatingCost and componentInitialCost  ;are directly specified and are used to derive the operatingCost and the initialCost 1:1.
ComponentCostPerType occur once for each component in the repository that is used in the system to analyse, regardless of how often the component is instantiated (in AssemblyContexts or AllocationContexts).
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the value of the 'Component Initial Cost' attribute.double
Returns the value of the 'Component Operating Cost' attribute.org.palladiosimulator.pcm.repository.RepositoryComponent
Returns the value of the 'Repository Component' reference.void
setComponentInitialCost
(double value) Sets the value of the 'Component Initial Cost
' attribute.void
setComponentOperatingCost
(double value) Sets the value of the 'Component Operating Cost
' attribute.void
setRepositoryComponent
(org.palladiosimulator.pcm.repository.RepositoryComponent value) Sets the value of the 'Repository Component
' reference.Methods inherited from interface de.uka.ipd.sdq.pcm.cost.Cost
getAnnotatedElement, getInitialCost, getOperatingCost, getTotalCost
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
-
Method Details
-
getComponentOperatingCost
double getComponentOperatingCost()Returns the value of the 'Component Operating Cost' attribute.If the meaning of the 'Component Operating Cost' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Component Operating Cost' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setComponentOperatingCost
void setComponentOperatingCost(double value) Sets the value of the 'Component Operating Cost
' attribute.- Parameters:
value
- the new value of the 'Component Operating Cost' attribute.- See Also:
- Generated class or method.
-
getComponentInitialCost
double getComponentInitialCost()Returns the value of the 'Component Initial Cost' attribute.If the meaning of the 'Component Initial Cost' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Component Initial Cost' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setComponentInitialCost
void setComponentInitialCost(double value) Sets the value of the 'Component Initial Cost
' attribute.- Parameters:
value
- the new value of the 'Component Initial Cost' attribute.- See Also:
- Generated class or method.
-
getRepositoryComponent
org.palladiosimulator.pcm.repository.RepositoryComponent getRepositoryComponent()Returns the value of the 'Repository Component' reference.If the meaning of the 'Repository Component' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Repository Component' reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setRepositoryComponent
void setRepositoryComponent(org.palladiosimulator.pcm.repository.RepositoryComponent value) Sets the value of the 'Repository Component
' reference.- Parameters:
value
- the new value of the 'Repository Component' reference.- See Also:
- Generated class or method.
-