1 package org.hibernate.hql.ast.tree; 3 4 9 public class ImpliedFromElement extends FromElement { 10 14 private boolean impliedInFromClause = false; 15 16 19 private boolean inProjectionList = false; 20 21 public boolean isImplied() { 22 return true; 23 } 24 25 public void setImpliedInFromClause(boolean flag) { 26 impliedInFromClause = flag; 27 } 28 29 public boolean isImpliedInFromClause() { 30 return impliedInFromClause; 31 } 32 33 public void setInProjectionList(boolean inProjectionList) { 34 this.inProjectionList = inProjectionList; 35 } 36 37 public boolean inProjectionList() { 38 return inProjectionList && isFromOrJoinFragment(); 39 } 40 41 public boolean isIncludeSubclasses() { 42 return false; } 44 45 50 public String getDisplayText() { 51 StringBuffer buf = new StringBuffer (); 52 buf.append( "ImpliedFromElement{" ); 53 appendDisplayText( buf ); 54 buf.append( "}" ); 55 return buf.toString(); 56 } 57 } 58 | Popular Tags |