datatype.java

来自「JDBC Book Code Examples」· Java 代码 · 共 45 行

JAVA
45
字号
public class DataType {	private int code;	private String SQLType;	private String localType = null;	private String params = null;	private boolean needsSetting = true; 		public DataType(int code, String SQLType) {		this.code = code;		this.SQLType = SQLType;		}		public boolean needsToBeSet() {		return needsSetting;	}		public int getCode() {		return code;	}		public String getSQLType() {		return SQLType;	}		public String getLocalType() {		return localType;	}		public String getParams() {		return params;	}		public void setLocalTypeAndParams(String local, String p) {		if (needsSetting) {			localType = local;			params = p;			needsSetting = false;		}	}}

⌨️ 快捷键说明

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