Пример #1
0
  public void projectBy(ProjectionParameters projectionParameters) {
    this.setWeeklyRent(
        MathUtil.increaseBy(this.getWeeklyRent(), projectionParameters.getRentIncreaseRate()));
    this.setMarketValue(
        MathUtil.increaseBy(this.getMarketValue(), projectionParameters.getCapitalGrowthRate()));
    this.ongoingCosts.projectBy(projectionParameters.getCpi());

    for (Owner owner : getOwnerList()) {
      owner.setAnnualIncome(
          MathUtil.increaseBy(
              owner.getAnnualIncome(), projectionParameters.getSalaryIncreaseRate()));
    }
  }
Пример #2
0
 public ProjectionParameters getParameters() {
   ProjectionParameters result = super.getParameters();
   result.addAngularParameter(CENTER_LON_PROPERTY, _lambda0, SI.RADIAN);
   result.addAngularParameter(CENTER_LAT_PROPERTY, _phi0, SI.RADIAN);
   return result;
 }