⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datasourcevo.java

📁 管理公司合同
💻 JAVA
字号:
/*
 * Created on 2006-11-11 10:52:07
 *
 * By Yehailong
 * Copyright juneng.com.cn, 2005-2006, All rights reserved.
 */
package cn.com.juneng.system.vo;

import java.sql.Timestamp;
import cn.com.juneng.system.common.BaseForm;

/**
 * 简单的Domain Object,与数据表映射,提供getter和setter方法
 * @author yehailong
 */
public class DataSourceVO extends BaseForm{
	/**
	 * property: 数据源ID.
	 */
	private	String sourceId;
	/**
	 * property: 数据源名.
	 */
	private	String sourceName;
	/**
	 * property: 数据源类型,1:系统数据源 2:远程数据
	 * 源.
	 */
	private	String sourceType;
	/**
	 * property: 远程服务器IP.
	 */
	private	String sourceHost;
	/**
	 * property: 数据库类型.
	 */
	private	String dbType;
	/**
	 * property: 用户名.
	 */
	private	String userName;
	/**
	 * property: 密码.
	 */
	private	String password;
	/**
	 * property: 数据库名.
	 */
	private	String dbName;

	public DataSourceVO(){
	}
	/**
	 * @param newDataSourceVO
	 */
	public DataSourceVO(DataSourceVO newDataSourceVO){
		this.cloneProperties( newDataSourceVO);
	}
	/**
	 * get property:数据源ID
	 * @return sourceId
	 */
	public	String getSourceId(){
		return sourceId;
	}
	/**
	 * set property:数据源ID
	 * @param sourceId
	 */
	public	void setSourceId(String sourceId){
		this.sourceId = sourceId;
	}

	/**
	 * get property:数据源名
	 * @return sourceName
	 */
	public	String getSourceName(){
		return sourceName;
	}
	/**
	 * set property:数据源名
	 * @param sourceName
	 */
	public	void setSourceName(String sourceName){
		this.sourceName = sourceName;
	}

	/**
	 * get property:数据源类型,1:系统数据源 2:远
	 * 程数据源
	 * @return sourceType
	 */
	public	String getSourceType(){
		return sourceType;
	}
	/**
	 * set property:数据源类型,1:系统数据源 2:远
	 * 程数据源
	 * @param sourceType
	 */
	public	void setSourceType(String sourceType){
		this.sourceType = sourceType;
	}

	/**
	 * get property:远程服务器IP
	 * @return sourceHost
	 */
	public	String getSourceHost(){
		return sourceHost;
	}
	/**
	 * set property:远程服务器IP
	 * @param sourceHost
	 */
	public	void setSourceHost(String sourceHost){
		this.sourceHost = sourceHost;
	}

	/**
	 * get property:数据库类型
	 * @return dbType
	 */
	public	String getDbType(){
		return dbType;
	}
	/**
	 * set property:数据库类型
	 * @param dbType
	 */
	public	void setDbType(String dbType){
		this.dbType = dbType;
	}

	/**
	 * get property:用户名
	 * @return userName
	 */
	public	String getUserName(){
		return userName;
	}
	/**
	 * set property:用户名
	 * @param userName
	 */
	public	void setUserName(String userName){
		this.userName = userName;
	}

	/**
	 * get property:密码
	 * @return password
	 */
	public	String getPassword(){
		return password;
	}
	/**
	 * set property:密码
	 * @param password
	 */
	public	void setPassword(String password){
		this.password = password;
	}

	/**
	 * get property:数据库名
	 * @return dbName
	 */
	public	String getDbName(){
		return dbName;
	}
	/**
	 * set property:数据库名
	 * @param dbName
	 */
	public	void setDbName(String dbName){
		this.dbName = dbName;
	}

	public Object clone() {
	return new DataSourceVO(this);
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -