@@ -0,0 +1,1712 @@
+/*%0A * Copyright (c) 2005-2011 Grameen Foundation USA%0A * All rights reserved.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or%0A * implied. See the License for the specific language governing%0A * permissions and limitations under the License.%0A *%0A * See also http://www.apache.org/licenses/LICENSE-2.0.html for an%0A * explanation of the license and how it is applied.%0A */%0A%0Apackage org.mifos.clientportfolio.loan.ui;%0A%0Aimport java.io.Serializable;%0Aimport java.util.ArrayList;%0Aimport java.util.Date;%0Aimport java.util.List;%0A%0Aimport org.mifos.application.servicefacade.LoanAccountServiceFacade;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0A%0A@SuppressWarnings(%22PMD%22)%0A@edu.umd.cs.findbugs.annotations.SuppressWarnings(value=%7B%22SE_NO_SERIALVERSIONID%22%7D, justification=%22should disable at filter level and also for pmd - not important for us%22)%0Apublic class LoanScheduleFormBean implements Serializable %7B%0A%0A    @Autowired%0A    private transient LoanAccountServiceFacade loanAccountServiceFacade;%0A    %0A    private List%3CDate%3E installments = new ArrayList%3CDate%3E();%0A    %0A    public LoanScheduleFormBean() %7B%0A        // constructor%0A    %7D%0A%0A    public List%3CDate%3E getInstallments() %7B%0A        return installments;%0A    %7D%0A%0A    public void setInstallments(List%3CDate%3E installments) %7B%0A        this.installments = installments;%0A    %7D%0A%7D

refactor service facades for validation of variable installments