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())); } }
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; }