map.java

来自「人力资源管理系统主要包括:人员管理、招聘管理、培训管理、奖惩管理和薪金管理五大管」· Java 代码 · 共 37 行

JAVA
37
字号
//$Id: Map.java,v 1.9.2.3 2003/12/01 05:29:15 oneovthafew Exp $package net.sf.hibernate.mapping;import net.sf.hibernate.type.PersistentCollectionType;import net.sf.hibernate.type.TypeFactory;/** * A map has a primary key consisting of * the key columns + index columns. */public class Map extends IndexedCollection {		public Map(PersistentClass owner) {		super(owner);	}	public PersistentCollectionType getCollectionType() {		return isSorted() ? 			TypeFactory.sortedMap( getRole(), getComparator() ) : 			TypeFactory.map( getRole() );	}		public void createAllKeys() {		super.createAllKeys();		if ( !isInverse() ) getIndex().createForeignKey();	}}

⌨️ 快捷键说明

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