impliedfromelement.java
来自「介绍了hibernate的入门有一些基本常用的事例」· Java 代码 · 共 58 行
JAVA
58 行
// $Id: ImpliedFromElement.java,v 1.2 2005/02/15 12:33:39 pgmjsd Exp $package org.hibernate.hql.ast;/** * Represents a FROM element implied by a path expression or a collection reference. * * @author josh Feb 10, 2005 12:31:03 AM */public class ImpliedFromElement extends FromElement { /** * True if this from element was implied from a path in the FROM clause, but not * explicitly declard in the from clause. */ private boolean impliedInFromClause = false; /** * True if this implied from element should be included in the projection list. */ private boolean inProjectionList = false; boolean isImplied() { return true; } void setImpliedInFromClause(boolean flag) { impliedInFromClause = flag; } boolean isImpliedInFromClause() { return impliedInFromClause; } public void setInProjectionList(boolean inProjectionList) { this.inProjectionList = inProjectionList; } boolean inProjectionList() { return inProjectionList && isFromOrJoinFragment(); } public boolean isIncludeSubclasses() { return false; // Never include subclasses for implied from elements. } /** * Returns additional display text for the AST node. * * @return String - The additional display text. */ public String getDisplayText() { StringBuffer buf = new StringBuffer(); buf.append( "ImpliedFromElement{" ); appendDisplayText( buf ); buf.append( "}" ); return buf.toString(); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?