FileDocCategorySizeDatePackage
ImpliedFromElement.javaAPI DocHibernate 3.2.51459Tue Jul 12 15:27:30 BST 2005org.hibernate.hql.ast.tree

ImpliedFromElement

public class ImpliedFromElement extends FromElement
Represents a FROM element implied by a path expression or a collection reference.
author
josh Feb 10, 2005 12:31:03 AM

Fields Summary
private boolean
impliedInFromClause
True if this from element was implied from a path in the FROM clause, but not explicitly declard in the from clause.
private boolean
inProjectionList
True if this implied from element should be included in the projection list.
Constructors Summary
Methods Summary
public java.lang.StringgetDisplayText()
Returns additional display text for the AST node.

return
String - The additional display text.

		StringBuffer buf = new StringBuffer();
		buf.append( "ImpliedFromElement{" );
		appendDisplayText( buf );
		buf.append( "}" );
		return buf.toString();
	
public booleaninProjectionList()

		return inProjectionList && isFromOrJoinFragment();
	
public booleanisImplied()


	   
		return true;
	
public booleanisImpliedInFromClause()

		return impliedInFromClause;
	
public booleanisIncludeSubclasses()

		return false;	// Never include subclasses for implied from elements.
	
public voidsetImpliedInFromClause(boolean flag)

		impliedInFromClause = flag;
	
public voidsetInProjectionList(boolean inProjectionList)

		this.inProjectionList = inProjectionList;