dominopoolinfo.java
来自「java 实现DOMINO远程连接」· Java 代码 · 共 57 行
JAVA
57 行
package com.cjsc.it.xml;
public class DominoPoolInfo {
private String host = "";
private String userName = "";
private String password = "";
private int maxPoolNum = 5;
private String poolName = "";
public String getHost() {
return host;
}
public void setHost(String host) {
this.host = host;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public int getMaxPoolNum() {
return maxPoolNum;
}
public void setMaxPoolNum(String maxPoolNum) {
try {
if (maxPoolNum != null && !maxPoolNum.trim().equals("")) {
this.maxPoolNum = Integer.parseInt(maxPoolNum);
}
} catch (Exception e) {
}
}
public String getPoolName() {
return poolName;
}
public void setPoolName(String poolName) {
this.poolName = poolName;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?