/*
* Copyright 2002-2007 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.suren.autotest.platform.model;
/**
* @author suren
* @date 2017年2月16日 下午8:04:53
*/
public class DataBase
{
private String driver;
private String url;
private int port;
private String username;
private String password;
private String defaultSchema;
private String schema;
public String getDriver()
{
return driver;
}
public void setDriver(String driver)
{
this.driver = driver;
}
/**
* @return the url
*/
public String getUrl()
{
return url;
}
/**
* @param url the url to set
*/
public void setUrl(String url)
{
this.url = url;
}
/**
* @return the port
*/
public int getPort()
{
return port;
}
/**
* @param port the port to set
*/
public void setPort(int port)
{
this.port = port;
}
/**
* @return the username
*/
public String getUsername()
{
return username;
}
/**
* @param username the username to set
*/
public void setUsername(String username)
{
this.username = username;
}
/**
* @return the password
*/
public String getPassword()
{
return password;
}
/**
* @param password the password to set
*/
public void setPassword(String password)
{
this.password = password;
}
public String getDefaultSchema()
{
return defaultSchema;
}
public void setDefaultSchema(String defaultSchema)
{
this.defaultSchema = defaultSchema;
}
/**
* @return the schema
*/
public String getSchema()
{
return schema;
}
/**
* @param schema the schema to set
*/
public void setSchema(String schema)
{
this.schema = schema;
}
}