org.deegree.sqldialect.filter
Class TableAliasManager

java.lang.Object
  extended by org.deegree.sqldialect.filter.TableAliasManager

public class TableAliasManager
extends Object

Creates and tracks table aliases that are needed for mapping ValueReferences to a relational schema.

Version:
$Revision: 25462 $, $Date: 2010-07-21 18:45:40 +0200 (Mi, 21. Jul 2010) $
Author:
Markus Schneider, last edited by: $Author: mschneider $
See Also:
AbstractWhereBuilder

Constructor Summary
TableAliasManager()
          Creates a new TableAliasManager instance.
 
Method Summary
 String generateNew()
          Returns a new unique table alias.
 String getRootTableAlias()
          Returns the table alias for the root table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableAliasManager

public TableAliasManager()
Creates a new TableAliasManager instance.

Method Detail

getRootTableAlias

public String getRootTableAlias()
Returns the table alias for the root table.

Returns:
the table alias for the root table, never null

generateNew

public String generateNew()
Returns a new unique table alias.

Returns:
a new unique table alias, never null


Copyright © 2011. All Rights Reserved.