001    /**
002     * Copyright 2010-2013 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.common.jdbc.spring;
017    
018    import org.kuali.common.jdbc.context.SqlExecutionContext;
019    import org.springframework.core.env.Environment;
020    
021    /**
022     * @deprecated
023     */
024    @Deprecated
025    public class SqlConfigContext {
026    
027            Environment env;
028            SqlExecutionContext context;
029            JdbcCommonConfig commonConfig;
030            JdbcDataSourceConfig dataSourceConfig;
031    
032            public SqlConfigContext() {
033                    this(null, null, null, null);
034            }
035    
036            public SqlConfigContext(Environment env, SqlExecutionContext context, JdbcCommonConfig jcc, JdbcDataSourceConfig dsc) {
037                    super();
038                    this.env = env;
039                    this.context = context;
040                    this.commonConfig = jcc;
041                    this.dataSourceConfig = dsc;
042            }
043    
044            public Environment getEnv() {
045                    return env;
046            }
047    
048            public void setEnv(Environment env) {
049                    this.env = env;
050            }
051    
052            public JdbcCommonConfig getCommonConfig() {
053                    return commonConfig;
054            }
055    
056            public void setCommonConfig(JdbcCommonConfig commonConfig) {
057                    this.commonConfig = commonConfig;
058            }
059    
060            public JdbcDataSourceConfig getDataSourceConfig() {
061                    return dataSourceConfig;
062            }
063    
064            public void setDataSourceConfig(JdbcDataSourceConfig dataSourceConfig) {
065                    this.dataSourceConfig = dataSourceConfig;
066            }
067    
068            public SqlExecutionContext getContext() {
069                    return context;
070            }
071    
072            public void setContext(SqlExecutionContext context) {
073                    this.context = context;
074            }
075    
076    }