Methods Summary |
---|
public java.lang.String | getDisplayText()
StringBuffer buf = new StringBuffer();
buf.append( "{" ).append( ( fromElement == null ) ? "no fromElement" : fromElement.getDisplayText() );
buf.append( "}" );
return buf.toString();
|
public FromElement | getFromElement()
return fromElement;
|
public FromElement | getImpliedJoin()Sub-classes can override this method if they produce implied joins (e.g. DotNode).
return null;
|
public java.lang.String | getPath()
return getOriginalText();
|
public boolean | isResolved()
return resolved;
|
public boolean | isReturnableEntity()
return !isScalar() && fromElement.isEntity();
|
public void | prepareForDot(java.lang.String propertyName)
|
public void | recursiveResolve(int level, boolean impliedAtRoot, java.lang.String classAlias)
recursiveResolve( level, impliedAtRoot, classAlias, this );
|
public void | recursiveResolve(int level, boolean impliedAtRoot, java.lang.String classAlias, antlr.collections.AST parent)
AST lhs = getFirstChild();
int nextLevel = level + 1;
if ( lhs != null ) {
FromReferenceNode n = ( FromReferenceNode ) lhs;
n.recursiveResolve( nextLevel, impliedAtRoot, null, this );
}
resolveFirstChild();
boolean impliedJoin = true;
if ( level == ROOT_LEVEL && !impliedAtRoot ) {
impliedJoin = false;
}
resolve( true, impliedJoin, classAlias, parent );
|
public void | resolve(boolean generateJoin, boolean implicitJoin)
resolve( generateJoin, implicitJoin, null );
|
public void | resolve(boolean generateJoin, boolean implicitJoin, java.lang.String classAlias)
resolve( generateJoin, implicitJoin, classAlias, null );
|
public void | resolveFirstChild()Resolves the left hand side of the DOT.
|
public void | resolveInFunctionCall(boolean generateJoin, boolean implicitJoin)
resolve( generateJoin, implicitJoin );
|
public void | setFromElement(FromElement fromElement)
this.fromElement = fromElement;
|
public void | setResolved()
this.resolved = true;
if ( log.isDebugEnabled() ) {
log.debug( "Resolved : " + this.getPath() + " -> " + this.getText() );
}
|