Interface ComponentCost
-
- All Known Subinterfaces:
ComponentCostPerInstance
- All Known Implementing Classes:
ComponentCostImpl
,ComponentCostPerInstanceImpl
public interface ComponentCost extends Cost
A representation of the model object 'Component Cost'.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:
costPackage.getComponentCost()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getComponentInitialCost()
Returns the value of the 'Component Initial Cost' attribute.double
getComponentOperatingCost()
Returns the value of the 'Component Operating Cost' attribute.org.palladiosimulator.pcm.repository.RepositoryComponent
getRepositoryComponent()
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 Detail
-
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:
setComponentOperatingCost(double)
,costPackage.getComponentCost_ComponentOperatingCost()
- 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:
getComponentOperatingCost()
- 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:
setComponentInitialCost(double)
,costPackage.getComponentCost_ComponentInitialCost()
- 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:
getComponentInitialCost()
- 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:
setRepositoryComponent(RepositoryComponent)
,costPackage.getComponentCost_RepositoryComponent()
- 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:
getRepositoryComponent()
- Generated class or method.
-
-