From 93db849d394171f7ab0ba6fbae21875664b7400f Mon Sep 17 00:00:00 2001 From: Vishwas Babu AJ Date: Sat, 4 May 2013 17:32:41 +0530 Subject: [PATCH] deleting missed out code for accounting autoposting --- .../api/AutoPostingJsonInputParams.java | 43 ------------------- 1 file changed, 43 deletions(-) delete mode 100755 mifosng-provider/src/main/java/org/mifosplatform/accounting/autoposting/api/AutoPostingJsonInputParams.java diff --git a/mifosng-provider/src/main/java/org/mifosplatform/accounting/autoposting/api/AutoPostingJsonInputParams.java b/mifosng-provider/src/main/java/org/mifosplatform/accounting/autoposting/api/AutoPostingJsonInputParams.java deleted file mode 100755 index 270af27d6..000000000 --- a/mifosng-provider/src/main/java/org/mifosplatform/accounting/autoposting/api/AutoPostingJsonInputParams.java +++ /dev/null @@ -1,43 +0,0 @@ -/** - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this file, - * You can obtain one at http://mozilla.org/MPL/2.0/. - */ -package org.mifosplatform.accounting.autoposting.api; - -import java.util.HashSet; -import java.util.Set; - -/*** - * Enum of all parameters passed in while creating/updating a loan product - ***/ -public enum AutoPostingJsonInputParams { - ID("id"), OFFICE_ID("officeId"), NAME("name"), DESCRIPTION("description"), PRODUCT_TYPE_ENUM("productTypeEnum"), PRODUCT_ID("productId"), CHARGE_ID( - "chargeId"), EVENT_ID("eventCodeId"), EVENT_ATTRIBUTE_ID("eventAttributeId"), ACCOUNTING_RULE_ID("accountingRuleId"); - - private final String value; - - private AutoPostingJsonInputParams(final String value) { - this.value = value; - } - - private static final Set values = new HashSet(); - static { - for (final AutoPostingJsonInputParams type : AutoPostingJsonInputParams.values()) { - values.add(type.value); - } - } - - public static Set getAllValues() { - return values; - } - - @Override - public String toString() { - return name().toString().replaceAll("_", " "); - } - - public String getValue() { - return this.value; - } -} \ No newline at end of file