📄 identifierbag.java
字号:
//$Id: IdentifierBag.java 5793 2005-02-20 03:34:50Z oneovthafew $
package org.hibernate.mapping;
import org.hibernate.type.CollectionType;
import org.hibernate.type.TypeFactory;
/**
* An <tt>IdentifierBag</tt> has a primary key consisting of
* just the identifier column
*/
public class IdentifierBag extends IdentifierCollection {
public IdentifierBag(PersistentClass owner) {
super(owner);
}
public CollectionType getDefaultCollectionType() {
return TypeFactory.idbag( getRole(), getReferencedPropertyName(), isEmbedded() );
}
public Object accept(ValueVisitor visitor) {
return visitor.accept(this);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -