package com.drools.sample; import com.drools.interfaces.*; public class EMIAgainstProperty implements DomainObject { public EMIAgainstProperty(){ internal = this; a1 = new Double(10); a2 = new Double(15); } Integer t = new Integer(10); EMIAgainstProperty internal; double loanAmount; int tenure=10; Double a1; Double a2; double businessProfit1; double refBP1 = businessProfit1*1.5; double businessProfit2; double rentalIncome; double regularIncome; double AIC; double depreciation=0d; double BIC; double totalIncome; double obligationRatio; double roI; double loanEligibility; double EMI; double increment; double businessProfit; String name = "Natraj"; public String getName() { return name; } public void setName(String name) { this.name = name; } public double getBusinessProfit() { return businessProfit; } public void setBusinessProfit(double businessProfit) { this.businessProfit = businessProfit; } public double getIncrement() { return increment; } public void setIncrement(double increment) { this.increment = increment; } public double getAIC() { return AIC; } public void setAIC(double aic) { AIC = aic; } public double getBIC() { return BIC; } public void setBIC(double bic) { BIC = bic; } public double getBusinessProfit1() { return businessProfit1; } public void setBusinessProfit1(double businessProfit1) { this.businessProfit1 = businessProfit1; } public double getBusinessProfit2() { return businessProfit2; } public void setBusinessProfit2(double businessProfit2) { this.businessProfit2 = businessProfit2; } public double getDepreciation() { return depreciation; } public void setDepreciation(double depreciation) { this.depreciation = depreciation; } public double getEMI() { return EMI; } public void setEMI(double emi) { EMI = emi; } public double getLoanAmount() { return loanAmount; } public void setLoanAmount(double loanAmount) { this.loanAmount = loanAmount; } public double getLoanEligibility() { return loanEligibility; } public void setLoanEligibility(double loanEligibility) { this.loanEligibility = loanEligibility; } public double getObligationRatio() { return obligationRatio; } public void setObligationRatio(double obligationRatio) { this.obligationRatio = obligationRatio; } public double getRegularIncome() { return regularIncome; } public void setRegularIncome(double regularIncome) { this.regularIncome = regularIncome; } public double getRentalIncome() { return rentalIncome; } public void setRentalIncome(double rentalIncome) { this.rentalIncome = rentalIncome; } public double getRoI() { return roI; } public void setRoI(double roI) { this.roI = roI; } public int getTenure() { return tenure; } public void setTenure(int tenure) { this.tenure = tenure; } public double getTotalIncome() { return totalIncome; } public void setTotalIncome(double totalIncome) { this.totalIncome = totalIncome; } /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub } public Double getA1() { return a1; } public void setA1(Double a1) { this.a1 = a1; } public double getRefBP1() { return refBP1; } public void setRefBP1(double refBP1) { this.refBP1 = refBP1; } public EMIAgainstProperty getInternal() { return internal; } public void setInternal(EMIAgainstProperty internal) { this.internal = internal; } public Integer getT() { return t; } public void setT(Integer t) { this.t = t; } public Double getA2() { return a2; } public void setA2(Double a2) { this.a2 = a2; } }