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.context;
017
018 /**
019 * @deprecated
020 */
021 @Deprecated
022 public class SqlExecutionContext {
023
024 String key;
025 String group;
026 SqlMode mode;
027 String context;
028
029 public SqlExecutionContext() {
030 this(null, null);
031 }
032
033 public SqlExecutionContext(String group, SqlMode mode) {
034 this(null, group, mode, null);
035 }
036
037 public SqlExecutionContext(String key, String group, SqlMode mode) {
038 this(key, group, mode, null);
039 }
040
041 public SqlExecutionContext(String key, String group, SqlMode mode, String context) {
042 super();
043 this.key = key;
044 this.group = group;
045 this.mode = mode;
046 this.context = context;
047 }
048
049 public String getGroup() {
050 return group;
051 }
052
053 public void setGroup(String group) {
054 this.group = group;
055 }
056
057 public SqlMode getMode() {
058 return mode;
059 }
060
061 public void setMode(SqlMode mode) {
062 this.mode = mode;
063 }
064
065 public String getKey() {
066 return key;
067 }
068
069 public void setKey(String key) {
070 this.key = key;
071 }
072
073 public String getContext() {
074 return context;
075 }
076
077 public void setContext(String context) {
078 this.context = context;
079 }
080 }