KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > pentaho > core > admin > datasources > DataSourceInfo


1 /*
2  * Copyright 2006 Pentaho Corporation. All rights reserved.
3  * This software was developed by Pentaho Corporation and is provided under the terms
4  * of the Mozilla Public License, Version 1.1, or any later version. You may not use
5  * this file except in compliance with the license. If you need a copy of the license,
6  * please go to http://www.mozilla.org/MPL/MPL-1.1.txt. The Original Code is the Pentaho
7  * BI Platform. The Initial Developer is Pentaho Corporation.
8  *
9  * Software distributed under the Mozilla Public License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. Please refer to
11  * the license for the specific language governing your rights and limitations.
12  *
13  * @created Dec 30, 2005
14  * @author James Dixon
15  */

16
17 package org.pentaho.core.admin.datasources;
18
19 public class DataSourceInfo {
20
21     private String JavaDoc type;
22
23     private String JavaDoc name;
24
25     private String JavaDoc description;
26
27     private String JavaDoc url;
28
29     private String JavaDoc driver;
30
31     private String JavaDoc userId;
32
33     private String JavaDoc password;
34
35     private String JavaDoc auth;
36
37     private String JavaDoc status;
38
39     public DataSourceInfo(String JavaDoc name, String JavaDoc description, String JavaDoc type) {
40         this.name = name;
41         this.description = description;
42         this.type = type;
43         this.status = ""; //$NON-NLS-1$
44
}
45
46     public String JavaDoc getType() {
47         return type;
48     }
49
50     public void setType(String JavaDoc type) {
51         this.type = type;
52     }
53
54     public String JavaDoc getName() {
55         return name;
56     }
57
58     public void setName(String JavaDoc name) {
59         this.name = name;
60     }
61
62     public String JavaDoc getDescription() {
63         return description;
64     }
65
66     public void setDescription(String JavaDoc description) {
67         this.description = description;
68     }
69
70     public String JavaDoc getUrl() {
71         return url;
72     }
73
74     public void setUrl(String JavaDoc url) {
75         this.url = url;
76     }
77
78     public String JavaDoc getUserId() {
79         return userId;
80     }
81
82     public void setUserId(String JavaDoc userId) {
83         this.userId = userId;
84     }
85
86     public String JavaDoc getDriver() {
87         return driver;
88     }
89
90     public void setDriver(String JavaDoc driver) {
91         this.driver = driver;
92     }
93
94     public String JavaDoc getPassword() {
95         return password;
96     }
97
98     public void setPassword(String JavaDoc password) {
99         this.password = password;
100     }
101
102     public String JavaDoc getAuthorization() {
103         return auth;
104     }
105
106     public void setAuthorization(String JavaDoc auth) {
107         this.auth = auth;
108     }
109
110     public String JavaDoc getStatus() {
111         return status;
112     }
113
114     public void setStatus(String JavaDoc status) {
115         this.status = status;
116     }
117 }
118
Popular Tags