Interface CostRepository

  • All Superinterfaces:
    EObject, Notifier
    All Known Implementing Classes:
    CostRepositoryImpl

    public interface CostRepository
    extends EObject
    A representation of the model object 'Cost Repository'. The cost repository is the root element of the cost model. It contains all costs for a PCM instance and for the different design alternatives. If we have FixedProcessingResourceCost for certain types of, for example, CPUs, we have to check the model first which annotated elements are actually used. Same with alternative components. Only used elements lead to overall cost of the system.

    The following features are supported:

    See Also:
    costPackage.getCostRepository()
    Generated class or method.
    EMF model class or method.
    • Method Detail

      • getCost

        EList<Cost> getCost()
        Returns the value of the 'Cost' containment reference list. The list contents are of type Cost.

        If the meaning of the 'Cost' containment reference list isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'Cost' containment reference list.
        See Also:
        costPackage.getCostRepository_Cost()
        Generated class or method.
        EMF model class or method.
        containment="true" ordered="false"
      • getTimePeriodYears

        int getTimePeriodYears()
        Returns the value of the 'Time Period Years' attribute. The default value is "0". Time& nbsp;period in which the operating costs are expected.If the time period is zero it is considered as not set and the perpetuitiy is caluclated, i.e. the total costs if the operating costs are due infinitely long.
        Returns:
        the value of the 'Time Period Years' attribute.
        See Also:
        setTimePeriodYears(int), costPackage.getCostRepository_TimePeriodYears()
        Generated class or method.
        EMF model class or method.
        default="0" required="true" ordered="false"
      • setTimePeriodYears

        void setTimePeriodYears​(int value)
        Sets the value of the 'Time Period Years' attribute.
        Parameters:
        value - the new value of the 'Time Period Years' attribute.
        See Also:
        getTimePeriodYears()
        Generated class or method.
      • getInterest

        double getInterest()
        Returns the value of the 'Interest' attribute.

        If the meaning of the 'Interest' attribute isn't clear, there really should be more of a description here...

        Assumed interest rate per year for calculating the present value based on the operating costs and the considered time frame in years given by timePeriodYears.

        Returns:
        the value of the 'Interest' attribute.
        See Also:
        setInterest(double), costPackage.getCostRepository_Interest()
        Generated class or method.
        EMF model class or method.
        required="true" ordered="false"
      • setInterest

        void setInterest​(double value)
        Sets the value of the 'Interest' attribute.
        Parameters:
        value - the new value of the 'Interest' attribute.
        See Also:
        getInterest()
        Generated class or method.