dbcolumn.java

来自「java版源代码,里面包含很多源代码,大家可以看看.」· Java 代码 · 共 72 行

JAVA
72
字号
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 + =
减小字号Ctrl + -
显示快捷键?