collectionmetadata.java

来自「hibernate-3.0.5 中文文档」· Java 代码 · 共 51 行

JAVA
51
字号
//$Id: CollectionMetadata.java,v 1.1 2004/06/03 16:30:11 steveebersole Exp $package org.hibernate.metadata;import org.hibernate.type.Type;/** * Exposes collection metadata to the application * * @author Gavin King */public interface CollectionMetadata {	/**	 * The collection key type	 */	public Type getKeyType();	/**	 * The collection element type	 */	public Type getElementType();	/**	 * The collection index type (or null if the collection has no index)	 */	public Type getIndexType();	/**	 * Is this collection indexed?	 */	public boolean hasIndex();	/**	 * The name of this collection role	 */	public String getRole();	/**	 * Is the collection an array?	 */	public boolean isArray();	/**	 * Is the collection a primitive array?	 */	public boolean isPrimitiveArray();	/**	 * Is the collection lazily initialized?	 */	public boolean isLazy();}

⌨️ 快捷键说明

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