⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 table.java

📁 eclipse的hibernate插件,支持eclipse2.*版本
💻 JAVA
字号:
package com.tanghan.db;import java.util.*;import java.io.Serializable;public class Table implements Serializable{				private String tableName = "";
	private List fieldList = null;			public Table(String tableName){		this.tableName = tableName;	}	/**	 * Gets the tableName	 * @return Returns a String	 */	public String getTableName() {		return tableName;	}	/**	 * Sets the tableName	 * @param tableName The tableName to set	 */	public void setTableName(String tableName) {		this.tableName = tableName;	}	/**	 * Gets the fieldList	 * @return Returns a List	 */	public List getFieldList() {		if(fieldList==null){			fieldList = new ArrayList(0);		}		return fieldList;	}	/**	 * Sets the fieldList	 * @param fieldList The fieldList to set	 */	public void setFieldList(List fieldList) {		int count = fieldList.size();		this.fieldList = new ArrayList(count);		Field f = null;		for (int i = 0; i < count; i ++){			f = (Field)fieldList.get(i);			f.setFieldName(f.getFieldName().toLowerCase());			this.fieldList.add(i,f);		}		//this.fieldList = fieldList;	}	public void addField(Field field){		fieldList.add(field);	}		public void remove(Field field){		fieldList.remove(field);		}	}

⌨️ 快捷键说明

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