/*
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
*/
|
package com.megatim.queryadhoc.model;
|
|
/**
|
*
|
* @author ASUS
|
*/
|
public class ConnectionParameter {
|
|
private final int port;
|
|
private final String databaseName;
|
|
private final String userName;
|
|
private final String ipAddress;
|
|
private final String password;
|
|
public ConnectionParameter(int port, String databaseName, String userName, String ipAddress, String password) {
|
this.port = port;
|
this.databaseName = databaseName;
|
this.userName = userName;
|
this.ipAddress = ipAddress;
|
this.password = password;
|
}
|
|
public int getPort() {
|
return port;
|
}
|
|
public String getDatabaseName() {
|
return databaseName;
|
}
|
|
public String getUserName() {
|
return userName;
|
}
|
|
public String getIpAddress() {
|
return ipAddress;
|
}
|
|
public String getPassword() {
|
return password;
|
}
|
|
}
|