通过系统把几乎所有与人力资源相关的数据统一管理

源代码在线查看: array.java

软件大小: 23949 K
上传用户: RR15133422795
关键词: 人力资源 数据
下载地址: 免注册下载 普通下载 VIP

相关代码

				//$Id: Array.java,v 1.7.2.2 2003/11/09 01:46:25 oneovthafew Exp $				package net.sf.hibernate.mapping;								import net.sf.hibernate.type.PersistentCollectionType;				import net.sf.hibernate.type.TypeFactory;								/**				 * An array mapping has a primary key consisting of				 * the key columns + index column.				 * @author Gavin King				 */				public class Array extends List {										private Class elementClass;										/**					 * Constructor for Array.					 * @param owner					 */					public Array(PersistentClass owner) {						super(owner);					}									public Class getElementClass() {						return elementClass;					}										public PersistentCollectionType getCollectionType() {						return TypeFactory.array( getRole(), getElementClass() );					}										public boolean isArray() {						return true;					}										/**					 * Sets the elementClass.					 * @param elementClass The elementClass to set					 */					public void setElementClass(Class elementClass) {						this.elementClass = elementClass;					}								}																																			

相关资源