Package de.uka.ipd.sdq.pcm.cost
Interface Cost
-
- All Known Subinterfaces:
ComponentCost
,ComponentCostPerInstance
,ComponentCostPerType
,FixedLinkingResourceCost
,FixedProcessingResourceCost
,LinkingResourceCost
,ProcessingResourceCost
,VariableCost
,VariableLinkingResourceCost
,VariableProcessingResourceCost
- All Known Implementing Classes:
ComponentCostImpl
,ComponentCostPerInstanceImpl
,CostImpl
,FixedLinkingResourceCostImpl
,FixedProcessingResourceCostImpl
,LinkingResourceCostImpl
,ProcessingResourceCostImpl
,VariableCostImpl
,VariableLinkingResourceCostImpl
,VariableProcessingResourceCostImpl
public interface Cost extends EObject
A representation of the model object 'Cost'. This class represents the cost of an Entity. The definition of the cost is deferred to the subclasses that have to define the value of the derived attribute. When using the Cost, you can read the initialCost to get the procurement cost for the system. The operating cost reflect cost to operate the system over time. Using the present value formula, both cost can be combined to total cost of ownership.The following features are supported:
- See Also:
costPackage.getCost()
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EObject
getAnnotatedElement()
Returns the value of the 'Annotated Element' reference.double
getInitialCost()
Returns the value of the 'Initial Cost' attribute.double
getOperatingCost()
Returns the value of the 'Operating Cost' attribute.double
getTotalCost()
Returns the value of the 'Total Cost' attribute.-
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
-
getAnnotatedElement
EObject getAnnotatedElement()
Returns the value of the 'Annotated Element' reference.If the meaning of the 'Annotated Element' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Annotated Element' reference.
- See Also:
costPackage.getCost_AnnotatedElement()
- Generated class or method.
- EMF model class or method.
- unsettable="true" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false" suppressedIsSetVisibility="true"
-
getTotalCost
double getTotalCost()
Returns the value of the 'Total Cost' attribute.If the meaning of the 'Total Cost' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Total Cost' attribute.
- See Also:
costPackage.getCost_TotalCost()
- Generated class or method.
- EMF model class or method.
- required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
-
getOperatingCost
double getOperatingCost()
Returns the value of the 'Operating Cost' attribute.If the meaning of the 'Operating Cost' attribute isn't clear, there really should be more of a description here...
The value of this attributes has to be derived in subclasses.- Returns:
- the value of the 'Operating Cost' attribute.
- See Also:
costPackage.getCost_OperatingCost()
- Generated class or method.
- EMF model class or method.
- required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
-
getInitialCost
double getInitialCost()
Returns the value of the 'Initial Cost' attribute.If the meaning of the 'Initial Cost' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Initial Cost' attribute.
- See Also:
costPackage.getCost_InitialCost()
- Generated class or method.
- EMF model class or method.
- required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
-
-