001: /*
002: * Copyright 2006 Pentaho Corporation. All rights reserved.
003: * This software was developed by Pentaho Corporation and is provided under the terms
004: * of the Mozilla Public License, Version 1.1, or any later version. You may not use
005: * this file except in compliance with the license. If you need a copy of the license,
006: * please go to http://www.mozilla.org/MPL/MPL-1.1.txt. The Original Code is the Pentaho
007: * BI Platform. The Initial Developer is Pentaho Corporation.
008: *
009: * Software distributed under the Mozilla Public License is distributed on an "AS IS"
010: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. Please refer to
011: * the license for the specific language governing your rights and limitations.
012: *
013: * @created Dec 30, 2005
014: * @author James Dixon
015: */
016:
017: package org.pentaho.core.admin.datasources;
018:
019: public class DataSourceInfo {
020:
021: private String type;
022:
023: private String name;
024:
025: private String description;
026:
027: private String url;
028:
029: private String driver;
030:
031: private String userId;
032:
033: private String password;
034:
035: private String auth;
036:
037: private String status;
038:
039: public DataSourceInfo(String name, String description, String type) {
040: this .name = name;
041: this .description = description;
042: this .type = type;
043: this .status = ""; //$NON-NLS-1$
044: }
045:
046: public String getType() {
047: return type;
048: }
049:
050: public void setType(String type) {
051: this .type = type;
052: }
053:
054: public String getName() {
055: return name;
056: }
057:
058: public void setName(String name) {
059: this .name = name;
060: }
061:
062: public String getDescription() {
063: return description;
064: }
065:
066: public void setDescription(String description) {
067: this .description = description;
068: }
069:
070: public String getUrl() {
071: return url;
072: }
073:
074: public void setUrl(String url) {
075: this .url = url;
076: }
077:
078: public String getUserId() {
079: return userId;
080: }
081:
082: public void setUserId(String userId) {
083: this .userId = userId;
084: }
085:
086: public String getDriver() {
087: return driver;
088: }
089:
090: public void setDriver(String driver) {
091: this .driver = driver;
092: }
093:
094: public String getPassword() {
095: return password;
096: }
097:
098: public void setPassword(String password) {
099: this .password = password;
100: }
101:
102: public String getAuthorization() {
103: return auth;
104: }
105:
106: public void setAuthorization(String auth) {
107: this .auth = auth;
108: }
109:
110: public String getStatus() {
111: return status;
112: }
113:
114: public void setStatus(String status) {
115: this.status = status;
116: }
117: }
|