📄 attribute.java
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package database;import java.io.*;/** * * @author outlaw */public class Attribute implements Serializable{ String name; String type; String tbName; boolean isKey; boolean isUnique; public Attribute(String name,String type,String tbName){ this.name=name; this.type=type; this.tbName=tbName; isKey=false; isUnique=false; } public Attribute(String name,String type,boolean isKey,boolean isUnique){ this.name=name; this.type=type; this.isKey=isKey; this.isUnique=isUnique; } public void setIsKey(boolean isKey){ this.isKey=isKey; } public void setIsUnique(boolean isUnique){ this.isUnique=isUnique; } public boolean isKey() { return isKey; } public boolean isUnique() { return isUnique; } public String getName() { return name; } public String getType() { return type; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -