databaseobject.java
来自「利用java对数据库系统进行分布式管理.支持数据库服务器查找,支持多个数据库的连」· Java 代码 · 共 53 行
JAVA
53 行
public class DatabaseObject{ private int value; private String name; private boolean modified; public DatabaseObject(int value) { this.value = value; this.modified = false; } public DatabaseObject(int value, String name) { this.value = value; this.name = name; this.modified = false; } public DatabaseObject(int value, String name, boolean mod) { this.value = value; this.name = name; this.modified = mod; } public int getValue() { return this.value; } public void setValue(int value) { this.value = value; this.modified = true; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public boolean isModified() { return modified; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?