View Javadoc

1   /*--------------------------------------------------------------------------
2    *  Copyright 2008 utgenome.org
3    *
4    *  Licensed under the Apache License, Version 2.0 (the "License");
5    *  you may not use this file except in compliance with the License.
6    *  You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   *  Unless required by applicable law or agreed to in writing, software
11   *  distributed under the License is distributed on an "AS IS" BASIS,
12   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   *  See the License for the specific language governing permissions and
14   *  limitations under the License.
15   *--------------------------------------------------------------------------*/
16  //--------------------------------------
17  // utgb-core Project
18  //
19  // ConnectionInfo.java
20  // Since: Jan 9, 2008
21  //
22  // $URL$ 
23  // $Author$
24  //--------------------------------------
25  package org.utgenome.config;
26  
27  /**
28   * The connection tag in track-config.xml
29   * 
30   * @author leo
31   * 
32   */
33  public class ConnectionInfo
34  {
35      private String scope;
36      private String dbms;
37      private String address;
38      private String user;
39      private String pass;
40  
41      public ConnectionInfo()
42      {}
43  
44      public String getScope()
45      {
46          return scope;
47      }
48  
49      public void setScope(String scope)
50      {
51          this.scope = scope;
52      }
53  
54      public String getDbms()
55      {
56          return dbms;
57      }
58  
59      public void setDbms(String dbms)
60      {
61          this.dbms = dbms;
62      }
63  
64      public String getAddress()
65      {
66          return address;
67      }
68  
69      public void setAddress(String address)
70      {
71          this.address = address;
72      }
73  
74      public String getUser()
75      {
76          return user;
77      }
78  
79      public void setUser(String user)
80      {
81          this.user = user;
82      }
83  
84      public String getPass()
85      {
86          return pass;
87      }
88  
89      public void setPass(String pass)
90      {
91          this.pass = pass;
92      }
93  
94  }