001 /*
002 * Copyright 2011 The Kuali Foundation.
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016 package org.kuali.kfs.module.bc;
017
018 public enum BudgetConstructionDocumentReportMode {
019 DOCUMENT_OBJECT_DETAIL_REPORT("DocumentObjectDetailReport", "Account Object Detail Report", "DocumentAccountObjectDetail"),
020 DOCUMENT_FUNDING_DETAIL_REPORT("DocumentFundingDetailReport", "Account Salary Detail Report", "DocumentAccountFundingDetail"),
021 DOCUMENT_MONTHLY_DETAIL_REPORT("DocumentMonthlyDetailReport", "Account Monthly Detail Report", "DocumentAccountMonthlyDetail"),
022 DOCUMENT_ACCOUNT_DUMP("DocumentAccountDump", "Budgeted Revenue/Expenditure Export", true),
023 DOCUMENT_FUNDING_DUMP("DocumentFundingDump", "Budgeted Salary Lines Export", true),
024 DOCUMENT_MONTHLY_DUMP("DocumentMonthlyDump", "Monthly Budget Export", true);
025
026 public final String reportModeName;
027 public final String reportDesc;
028 public final String jasperFileName;
029 public final boolean dump;
030
031 private BudgetConstructionDocumentReportMode(String reportModeName, String reportDesc, String jasperFileName){
032 this.reportModeName = reportModeName;
033 this.reportDesc = reportDesc;
034 this.jasperFileName = jasperFileName;
035 this.dump = false;
036 }
037
038 private BudgetConstructionDocumentReportMode(String reportModeName, String reportDesc, boolean dump){
039 this.reportModeName = reportModeName;
040 this.reportDesc = reportDesc;
041 this.jasperFileName = "";
042 this.dump = dump;
043 }
044
045 /**
046 * Gets the reportDesc attribute.
047 * @return Returns the reportDesc.
048 */
049 public String getReportDesc() {
050 return reportDesc;
051 }
052
053 /**
054 * Gets the dump attribute.
055 * @return Returns the dump.
056 */
057 public boolean isDump() {
058 return dump;
059 }
060
061 /**
062 * Gets the jasperFileName attribute.
063 * @return Returns the jasperFileName.
064 */
065 public String getJasperFileName() {
066 return jasperFileName;
067 }
068
069 /**
070 * Gets the reportModeName attribute.
071 * @return Returns the reportModeName.
072 */
073 public String getReportModeName() {
074 return reportModeName;
075 }
076 }