queryable.java

来自「用Java实现的23个常用设计模式源代码」· Java 代码 · 共 44 行

JAVA
44
字号
//$Id: Queryable.java,v 1.9.2.3 2003/11/06 14:35:25 oneovthafew Exp $package net.sf.hibernate.persister;import net.sf.hibernate.MappingException;/** * Extends the generic <tt>ClassPersister</tt> contract to add * operations required by the query language *  * @author Gavin King */public interface Queryable extends Loadable, PropertyMapping {		/**	 * Is this class mapped as a subclass of another class?	 */	public boolean isInherited();	/**	 * Is this class explicit polymorphism only?	 */	public boolean isExplicitPolymorphism();	/**	 * Get the class that this class is mapped as a subclass of -	 * not necessarily the direct superclass	 */	public Class getMappedSuperclass();	/**	 * Get the discriminator value for this particular concrete subclass,	 * as a string that may be embedded in a select statement	 */	public Object getDiscriminatorSQLValue();		/**	 * Get the where clause fragment, given a query alias	 */	public String queryWhereFragment(String alias, boolean innerJoin, boolean includeSubclasses) throws MappingException;		}

⌨️ 快捷键说明

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