View Javadoc

1   /**
2    * Copyright 2011 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   */
15  
16  package org.kuali.student.sonar.database.utility;
17  
18  import java.sql.Connection;
19  
20  /**
21   * This class contains configuration information for the DatabaseIntegritySensor
22   */
23  public class ForeignKeyValidationContext {
24  
25      protected Connection connection;
26      protected Boolean skip;
27      protected String queryFilePath;
28      protected String queryFileName;
29  
30      public Connection getConnection() {
31          return connection;
32      }
33  
34      public void setConnection(Connection connection) {
35          this.connection = connection;
36      }
37  
38      public Boolean getSkip() {
39          return skip;
40      }
41  
42      public void setSkip(Boolean skip) {
43          this.skip = skip;
44      }
45  
46      public String getQueryFilePath() {
47          return queryFilePath;
48      }
49  
50      public void setQueryFilePath(String queryFilePath) {
51          this.queryFilePath = queryFilePath;
52      }
53  
54      public String getQueryFileName() {
55          return queryFileName;
56      }
57  
58      public void setQueryFileName(String queryFileName) {
59          this.queryFileName = queryFileName;
60      }
61  
62  }