Kenmegne
2025-12-10 e9d80d486b912144b59ebd5939d4837105b37b99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
 * 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;
    }
 
}