📄 map.java
字号:
//$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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -