📄 dbcolumn.java
字号:
package com.trulytech.mantis.result;import java.io.*;import com.trulytech.mantis.system.Properties;/** * <p>Title: DBColumn</p> * <p>Description: 字段属性</p> * <p>Copyright: Copyright (c) 2002</p> * <p>Company: trulytech</p> * @author WangXian * @version 1.2 */public class DBColumn implements Serializable {//值 public String Value = null;//长度 public int Length = 0;//是否可空 0-不可空 public int isNullable = 0; /** * 构造函数 * @param Value String 值 * @param Length int 长度 * @param isNullable int 是否允许为空 */ public DBColumn(String Value, int Length, int isNullable) { this.Value = Value; this.Length = Length; this.isNullable = isNullable; } /** * 构造函数 */ public DBColumn() { this.Value = ""; this.Length = 0; this.isNullable = 0; } /** * 构造函数 * @param Value String 值 */ public DBColumn(String Value) { this.Value = Value; this.Length = 0; this.isNullable = 0; } /** * toString * @return String 值 */ public String toString() { return this.Value; } /** * 输出xml格式的字符串 * @return String */ public String toXML() { return Properties.XMLEncoder(this.Value); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -