KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openi > mondrian > datasource > DataSource


1 /*********************************************************************************
2  * The contents of this file are subject to the OpenI Public License Version 1.0
3  * ("License"); You may not use this file except in compliance with the
4  * License. You may obtain a copy of the License at
5  * http://www.openi.org/docs/LICENSE.txt
6  *
7  * Software distributed under the License is distributed on an "AS IS" basis,
8  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
9  * the specific language governing rights and limitations under the License.
10  *
11  * The Original Code is: OpenI Open Source
12  *
13  * The Initial Developer of the Original Code is Loyalty Matrix, Inc.
14  * Portions created by Loyalty Matrix, Inc. are
15  * Copyright (C) 2005 Loyalty Matrix, Inc.; All Rights Reserved.
16  *
17  * Contributor(s): ______________________________________.
18  *
19  ********************************************************************************/

20 package org.openi.mondrian.datasource;
21
22
23 /**
24  * @author Uddhab Pant <br>
25  * @version $Revision: 1.3 $ $Date: 2006/04/12 00:39:11 $ <br>
26  *
27  * Mondrian datasource representation. This class defines datasource
28  * properties.
29  *
30  */

31 public class DataSource {
32     private String JavaDoc dataSourceName;
33     private String JavaDoc dataSourceDescription;
34     private String JavaDoc url;
35     private String JavaDoc dataSourceInfo;
36     private String JavaDoc providerName;
37     private String JavaDoc providerType;
38     private String JavaDoc authenticationMode;
39
40     public DataSource() {
41     }
42
43     public String JavaDoc getDataSourceName() {
44         return dataSourceName;
45     }
46
47     public String JavaDoc getDataSourceDescription() {
48         return dataSourceDescription;
49     }
50
51     public String JavaDoc getDataSourceInfo() {
52         return dataSourceInfo;
53     }
54
55     public String JavaDoc getProviderName() {
56         return providerName;
57     }
58
59     public String JavaDoc getProviderType() {
60         return providerType;
61     }
62
63     public String JavaDoc getAuthenticationMode() {
64         return authenticationMode;
65     }
66
67     public String JavaDoc getUrl() {
68         return url;
69     }
70
71     public void setDataSourceName(String JavaDoc dataSourceName) {
72         this.dataSourceName = dataSourceName;
73     }
74
75     public void setDataSourceDescription(String JavaDoc dataSourceDescription) {
76         this.dataSourceDescription = dataSourceDescription;
77     }
78
79     public void setDataSourceInfo(String JavaDoc dataSourceInfo) {
80         this.dataSourceInfo = dataSourceInfo;
81     }
82
83     public void setProviderName(String JavaDoc providerName) {
84         this.providerName = providerName;
85     }
86
87     public void setProviderType(String JavaDoc providerType) {
88         this.providerType = providerType;
89     }
90
91     public void setAuthenticationMode(String JavaDoc authenticationMode) {
92         this.authenticationMode = authenticationMode;
93     }
94
95     public void setUrl(String JavaDoc url) {
96         this.url = url;
97     }
98 }
99
Popular Tags