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.external.kc.service.impl;
017
018 import java.util.Collections;
019 import java.util.Map;
020
021 import org.kuali.kfs.module.external.kc.service.KcFinancialSystemModuleConfig;
022 import org.kuali.kfs.sys.FinancialSystemModuleConfiguration;
023
024 /**
025 * Slim subclass to enforce class hierarchy not enforced by the parent class' contract.
026 */
027 public class KcFinancialSystemModuleConfiguration extends FinancialSystemModuleConfiguration implements KcFinancialSystemModuleConfig {
028
029 protected Map<Class,String> externalizableBusinessObjectServiceImplementations;
030 protected Map<String,String> kfsToKcInquiryUrlClassMapping;
031 protected Map<String,String> kfsToKcInquiryUrlParameterMapping;
032
033 /**
034 * Constructs a FinancialSystemModuleConfiguration.java.
035 */
036 public KcFinancialSystemModuleConfiguration() {
037 super();
038 }
039
040
041 /**
042 * @return the externalizableBusinessObjectImplementations
043 */
044 public Map<Class,String> getExternalizableBusinessObjectServiceImplementations() {
045 if (this.externalizableBusinessObjectServiceImplementations == null)
046 return null;
047 return (Map<Class,String>) Collections.unmodifiableMap(this.externalizableBusinessObjectServiceImplementations);
048 }
049
050 /**
051 * @param externalizableBusinessObjectImplementations the externalizableBusinessObjectImplementations to set
052 */
053 public void setExternalizableBusinessObjectServiceImplementations(
054 Map<Class, String> externalizableBusinessObjectServiceImplementations) {
055 this.externalizableBusinessObjectServiceImplementations = externalizableBusinessObjectServiceImplementations;
056 }
057
058
059 public Map<String, String> getKfsToKcInquiryUrlClassMapping() {
060 return kfsToKcInquiryUrlClassMapping;
061 }
062
063
064 public void setKfsToKcInquiryUrlClassMapping(Map<String, String> kfsToKcInquiryUrlClassMapping) {
065 this.kfsToKcInquiryUrlClassMapping = kfsToKcInquiryUrlClassMapping;
066 }
067
068
069 public Map<String, String> getKfsToKcInquiryUrlParameterMapping() {
070 return kfsToKcInquiryUrlParameterMapping;
071 }
072
073
074 public void setKfsToKcInquiryUrlParameterMapping(Map<String, String> kfsToKcInquiryUrlParameterMapping) {
075 this.kfsToKcInquiryUrlParameterMapping = kfsToKcInquiryUrlParameterMapping;
076 }
077
078 }